From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id cDR6GE1rK2YYIQAAqHPOHw:P1 (envelope-from ) for ; Fri, 26 Apr 2024 10:52:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cDR6GE1rK2YYIQAAqHPOHw (envelope-from ) for ; Fri, 26 Apr 2024 10:52:29 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=stowers.org (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714121549; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=6WhBmAeFQXhdsIkOqfbdVakJ5zZ4FJ3YhGUqNn8D+BI=; b=hJu9znXa8uY25CepoW5r99SIL7fVoNt1xrYTMCYM/3/t8kEwX5g7AUgyUmPA6n2Od1kdtT 0LMw+Ujj+sKR5lLONz1S7uaoIjg3JZ8aYYm8ZiSTVGLy95KfMCIlZQsTElDcPL2USu9IAw lKXbad5ClFT/2RZKEdL0AqhOz0RW6KiNaUCU22J/PwTXgRsAmzMKTQm/AC6arxVUdoQ3uA TjcyNkO0UeEq5XYodR736iH/8cS5PbBIeFSRDjmgj//OiMLa6EK2PLbSFJ/7XRUVYkqzxX GiIooj63t272R/mgAztSJLunDoBoyecEDsVj+zL3+etg33rYUbS60rLiUZaMbg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714121549; a=rsa-sha256; cv=none; b=Ht4HXigK8lRdf9DcdOFQPnksSN8BKBWRK1jWJVYoEou3FpiZVCPrZ/VtFDSNCEXGO1WQJp FuX+2O7LiMIxRjrd5gpSiSlyLGmtGtyooIW/bqgYfgTeZEkw3ZSp+Ru72dGVE/kLQrPXm/ XMZt/BH1LjXbDfnCM5Vdh1N7PEkIG3i9ocuUNyDiFr1Nlf6uG1amPpiaLaRge8sSY+ZLV3 4+cCKzRjTD5bDMYvzN5OPiyo19DBRQOTfugZprDQG0moMQrQmwJaPWG65tHcKwlu2xnSDC O1Os4uysxn6kfeZ04ymkm3RXxnZNd8RNUcEcwuxZMHKZeJtgV6GuZU+telYEGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=stowers.org (policy=none) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 08FC46120A for ; Fri, 26 Apr 2024 10:52:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0HIx-0007Pi-RU; Fri, 26 Apr 2024 04:51:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzie7-0006FM-Bn for emacs-orgmode@gnu.org; Wed, 24 Apr 2024 15:51:11 -0400 Received: from us-smtp-delivery-170.mimecast.com ([170.10.129.170]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzie5-0003ua-1u for emacs-orgmode@gnu.org; Wed, 24 Apr 2024 15:51:11 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2168.outbound.protection.outlook.com [104.47.58.168]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-453-E3Z2bRIvPBCLAHjlm_Oc2w-1; Wed, 24 Apr 2024 15:50:59 -0400 X-MC-Unique: E3Z2bRIvPBCLAHjlm_Oc2w-1 Received: from DS7PR20MB4671.namprd20.prod.outlook.com (2603:10b6:8:79::16) by LV8PR20MB6929.namprd20.prod.outlook.com (2603:10b6:408:204::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Wed, 24 Apr 2024 19:50:50 +0000 Received: from DS7PR20MB4671.namprd20.prod.outlook.com ([fe80::5011:b903:f36c:9905]) by DS7PR20MB4671.namprd20.prod.outlook.com ([fe80::5011:b903:f36c:9905%5]) with mapi id 15.20.7519.021; Wed, 24 Apr 2024 19:50:50 +0000 From: "Cook, Malcolm" To: Org-mode Subject: HowTo: Upgrade org-mode installation from the command-line Thread-Topic: HowTo: Upgrade org-mode installation from the command-line Thread-Index: AdqWgLSdSWBWiTgkS42SD9VeRB57wQ== Date: Wed, 24 Apr 2024 19:50:50 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR20MB4671:EE_|LV8PR20MB6929:EE_ x-ms-office365-filtering-correlation-id: 21ffd7b2-46ed-4c42-a7c2-08dc6497d7ce x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0 x-microsoft-antispam-message-info: =?us-ascii?Q?lRvHgCxLjG18SGvMQMmlguQqEJ6nTMGJO8heQ6CV1KdZVRIfMikj+5E+Il8C?= =?us-ascii?Q?qMfk5saIGbPBDCItPi8OFMA4QWecM44KpNtCN91zza/VdG25kTbc9S9I9eB2?= =?us-ascii?Q?3yUfGbVMp4U7ZuNrFHeklfdN8gz++fF1gpwmLt23aRTSiUEylP4paTkDYSOm?= =?us-ascii?Q?iCJ6QB4sxMaVjjjOUTa6MDkIr+7LFHEOW2v284dvz1zRgaDQy2oqkeBLoucv?= =?us-ascii?Q?4n9YtPyZXxj4ehnEufGyH6y9VKIrIP0FoT+833xlVtNlKf3mqxCYc0Qt0hTo?= =?us-ascii?Q?wVE9YTcUgWIiJoMxVg26LNaElOzyDSnowCcjlZmOSWzYfZiiATvhvNIzxsfZ?= =?us-ascii?Q?a7MtSokjt/6kFOkhySASFXMVmDUQP313M5JQHPw7knnZ8o+JiMooC0kChg+g?= =?us-ascii?Q?h/FtP+4DkHeGTmSFXI1b2kwgHAhnLRESazfaq3ZvFz9z3e18BMNPfWBOxvKy?= =?us-ascii?Q?d3PJFAVXO0535IgGCsDSMvSyDYWxkiU4NQUdA70JIlxeD4FemkoH+r85nez7?= =?us-ascii?Q?1nx1mmvk8jvhqhsimdfUNMw+kpL3KkMg4m29vLiR63GpB/gs0vJxESE+zNj4?= =?us-ascii?Q?BGlY1c/n2D5R7T6VHG2C93Xy6unEsQxV7ZlpR8K9tGsFLsMVpOj1xP0wisF5?= =?us-ascii?Q?8cAjq79rLy2LlaL6gTtK1D8O5gRPxzTAvAPZPenAsRm5QpmWVZ+ofhFk+0sm?= =?us-ascii?Q?LqPZQTDqYBVm5KEOU9zdL4seQROmydENx4i5Z9qLK6WpBy+ORWrHjWI0H1Ci?= =?us-ascii?Q?XTmyUAgE9OWl5pyOJe+bZqEwu8QL8I0HF92JnR7UA0duLWF6/A3M6nS+nTUw?= =?us-ascii?Q?tSrGIsp+2Ya8tLFMK8fgHaGgsgtcI3oPqiXAIq9TFsatbCsU9lXF2tEyUUVk?= =?us-ascii?Q?gU52JKawQ4KGrg3KyEIv3qCMtmDYB36NHUv3tGQdXu/z6Av/zt09fI3tNVap?= =?us-ascii?Q?FM9rRF5hi7cD7aGR2sMjx3q5ffsij+CYswU4nCR59iLGmFTmogKGEGr9EIjj?= =?us-ascii?Q?jVPNagzxyWIJnK+I3PYXyiCMa8wXdx0XFa2saIoZQ/3OgMCZP0grb4XHDzii?= =?us-ascii?Q?NGQnLQLCSepFzcoFJN65Nd/hXv+PL37KeE+LgFdo2uqgmBl79tKxZOFsw5KQ?= =?us-ascii?Q?J9fho01Fj1HV2YInR304PtJ/SIC4DD58JILoUqqamLy8RI3xxf3tCPH6HH+K?= =?us-ascii?Q?Woh61GMlPY95fXQGeXlgC40ZicqVbk8gwmyi7efVsf2TQrqSZKbjwU3WPxht?= =?us-ascii?Q?vO4665EC7dBIoAiSmp8JdzvWbW3rlfDXBbfaLigEcQ=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS7PR20MB4671.namprd20.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(366007)(376005)(38070700009); DIR:OUT; SFP:1102 x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?USz6q9I5MKPaDhVhpS9QcgzVq1wvvNEgxnmG/9WtEv3vZoePScUQcYVxl5mf?= =?us-ascii?Q?RopOfW8vDT6//3/Ui9ivUknFV3uzcDt/lSAj/WQF0k2ihYH6sBD9ycTkW6ZZ?= =?us-ascii?Q?O4scdB6ZbV5DrL6CF1CSzgcrq9wdPnft7muGcGzy/879FSEnBFtM8nZ0Ou+k?= =?us-ascii?Q?DSL1OrVoZzh3EzqAQH8b1tMbDbAgP0jlLmLm6uMsUekF/19j8IS3q35Kgqw2?= =?us-ascii?Q?vh4EQl+B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JceoTiTDcpzq4ibhdNFEej?= =?us-ascii?Q?F3/zK/gwGhmU+sUQodgauIQ1YhjyzHJswTR8J70VDPDneiJPIjFBaUig/m4w?= =?us-ascii?Q?3JWhEaxsq61fekrTKwBkubZWdKYBGiwBgXQ30ncdo8B79e4cR5LhRIbm+W1j?= =?us-ascii?Q?i4oI1XPG2j63jP7r2qOL9k9iORNRzIG/PVdXODdBMp2J1Ox/K5b6ITr+NNcx?= =?us-ascii?Q?4t/lPti7B6vLTfsDgQOSx6vcmpvDe/LVrThZF51E6WBgNTVI4ZjvG6+UdwXC?= =?us-ascii?Q?nbdit0lGrGjFwzZeyDII/EJ1ZNg3vDaEXrSBUoDmex8lSFgF+/CupKTdNUxy?= =?us-ascii?Q?NRbtKSyuv7RhpuaXV4F4W8SHQsRPra2GAgCD0uxHIhe52FsWTh/Mk0KstMmL?= =?us-ascii?Q?NZ9MoipETnuUKCZsfxw/cfGBEulHjPpI5rtL7OOou9bI/eGJGNtoOWvdSPIr?= =?us-ascii?Q?JfVyeDYXWVufbna8Kc4=3D?= MIME-Version: 1.0 X-OriginatorOrg: stowers.org X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS7PR20MB4671.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21ffd7b2-46ed-4c42-a7c2-08dc6497d7ce X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Apr 2024 19:50:50.3194 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3ab7a17c-a0ab-4280-b9f3-bb144eebee49 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ElwfW6WBfYRNydjHp5+jl3PlmRGKw+fYoqPwj2ssguLt98PzXusDg+1ZLMwNdnnk X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR20MB6929 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: stowers.org Content-Language: en-US Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=170.10.129.170; envelope-from=mec@stowers.org; helo=us-smtp-delivery-170.mimecast.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 26 Apr 2024 04:51:32 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.20 X-Spam-Score: -0.20 X-Migadu-Queue-Id: 08FC46120A X-Migadu-Scanner: mx12.migadu.com X-TUID: Au7Jad9m/rAS The section on org-mode [[https://orgmode.org/org.html#Installation][Instal= lation]] entitled "Using Emacs packaging system" might be improved with the following advice: ** Upgrade org-mode installation from the command-line The Emacs packaging system can be used to upgrade an org-mode installation from linux command-line by running emacs in batch mode: #+begin_src sh EMACS=3Demacs # /usr/local/bin/emacs EMACSQBE=3D${EMACS} -Q -batch -eval ${EMACSQBE} "(progn (require 'package) (package-initialize) (package-refres= h-contents) (package-upgrade 'org))" #+end_src This approach has the advantage of isolating the upgrade process for any other running emacs session, ensuring that version conflicts can not arise. Note: For the upgraded version to be loaded by emacs, you mush place `package-initialize` early in your init.el. Failure to do so will result in the old system version to be loaded, as can be seen: #+begin_src sh :results output ${EMACSQBE} "(progn (print (org-version 'org)))" ${EMACSQBE} "(progn (package-initialize) (print (org-version 'org)))" #+end_src #+RESULTS: :=20 : "9.6.15" :=20 : "9.6.27" Note further that if the above upgrade command was done in an emacs shell buffer, you will need to restart emacs to pick up the updated package. Failing to do so will result in `meta-x org-version` reporting the old version: #+begin_src src Org mode version 9.6.15 (release_9.6.15 @ /usr/local/share/emacs/30.0.50/li= sp/org/) #+end_src but after restart with my init.el file it reports: #+begin_src src Org mode version 9.6.27 ( @ /home/mec/.dotfiles/emacs/.emacs.d/elpa/org-9.6= .27/) #+end_src