From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uL4IEvMGQmfVjAAA62LTzQ:P1 (envelope-from ) for ; Sat, 23 Nov 2024 16:46:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id uL4IEvMGQmfVjAAA62LTzQ (envelope-from ) for ; Sat, 23 Nov 2024 17:46:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=KJ6xKDTc; dmarc=pass (policy=none) header.from=unistra.fr; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732380403; a=rsa-sha256; cv=none; b=WDI3bsVApl3/1C/691Xz8x7gvhWBfCYzG75Cn1x4zbg8aQ0xnqqarVPAkAfYg7vKYezjCk uEd+sJSKKb+NxfZBnipHmlAHvp4yXMRQuZoa38k5s+9EcZnfb0vttidcPGrM/byOlQPhMa Zt8UHFsugOKNIjUqUOJhkqAbO3h+0OYZWILMUeVcJeENM5pG3K/xPhS2KN8OsCkgkwlnSF T8n7a/Zdyb2Wo8VaUdGE9cLSBgJoh+PkQ0Al284Uy6H5+dgYQM4re3o9Y1/rbXnk0s4Y/a 5BjnFhImT/QWnTGQSHpSPXvYdWmRU+OJD046tBqTpvpqMqPxbWdHNu4HkIjitQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=KJ6xKDTc; dmarc=pass (policy=none) header.from=unistra.fr; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732380403; h=from:from:sender:sender:reply-to: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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=g1nP2KCYA6ftk4nLpFNysfTTz35/3kEfq4VQBKxbI84=; b=NLaCdE779mgWoRWKvZdutEBe+Qk4+nwwIc9SswS55fzEHCX/iMOi7JHOlG9eGYFu9GJCaV 36uAePq2RoOA+wGZTEj491JiEb/p+J4lwPXCnibLMRoNhJMWh0anS+ZrYwgaBqDUldcGuj nngyfoeOGQ3RLEfbofTgXPLC4tyxTDMVjUpbmr6zz8Y/UpeRR4yE2dONUcJ4Tbc8naqw/w H2TDJ5U6j/MolnTC5LIbh9pU11KiVOthVtbymTxgdRZeAycGyzazZIGJLEA0O9QduGa+WS wxni/k8XnpeoQuOg1+p26dHerBFUFBFn2rBm0ApuYRYA4vcKfiF7EVyznzPspA== 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 B9BB21A0F4 for ; Sat, 23 Nov 2024 17:46:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEtGn-0005Vw-CU; Sat, 23 Nov 2024 11:46:05 -0500 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 1tEtGk-0005Vk-E2 for emacs-orgmode@gnu.org; Sat, 23 Nov 2024 11:46:02 -0500 Received: from smtpout02-ext4.partage.renater.fr ([194.254.241.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEtGh-0000KI-SH for emacs-orgmode@gnu.org; Sat, 23 Nov 2024 11:46:02 -0500 Received: from zmtaauth02.partage.renater.fr (zmtaauth02.partage.renater.fr [194.254.241.25]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 879FBBFC1A for ; Sat, 23 Nov 2024 17:45:49 +0100 (CET) Received: from zmtaauth02.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPS id 819D3A034F for ; Sat, 23 Nov 2024 17:45:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTP id 65A75A04F5 for ; Sat, 23 Nov 2024 17:45:49 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth02.partage.renater.fr 65A75A04F5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1732380349; bh=g1nP2KCYA6ftk4nLpFNysfTTz35/3kEfq4VQBKxbI84=; h=MIME-Version:Message-ID:Date:From:To; b=KJ6xKDTcOroAL1zxDWs/V+X3VqNarHxGhLlAlitLofQ3D4zo3SxZ7dVwVO98575v1 E8zcbhwzH6KGo0u4auBL3cSAJw+2KTQL1xM6tnnnIM3+zYunE24hIPUcyKXdHB+k89 Spk0UuWLBNRbMvn1UrQ7rcCLFdRFxdup2FUqEKG8ujg4WMOf8GNKr+YSRiviVZ7I3T u4S2owf/S1fVtrD3bMc/dpVsgwghy5y/axKoVGFdz/QoWO6IsO2C/2tiihDnof8lnH sRbcZR+lUAq6vJER6VLAl9C4LzH0giCWCzOY9/KeLB9B5xlw4E9jWIhZxDKenOc88k t4tjNCSDJPTog== Received: from zmtaauth02.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth02.partage.renater.fr [127.0.0.1]) (amavis, port 10026) with ESMTP id hVvE4FWEY8TZ for ; Sat, 23 Nov 2024 17:45:49 +0100 (CET) Received: from 90.33.60.1 (unknown [194.254.241.250]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPA id E7ACAA034F for ; Sat, 23 Nov 2024 17:45:48 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <26434.1724.554991.978456@frac.u-strasbg.fr> Date: Sat, 23 Nov 2024 17:45:48 +0100 From: Alain.Cochard@unistra.fr To: emacs-orgmode@gnu.org Subject: Problem installing Org using the Emacs packaging system In-Reply-To: References: X-Mailer: VM 8.2.0b under 29.4 (x86_64-redhat-linux-gnu) X-Virus-Scanned: clamav-milter 0.103.8 at clamav01 X-Virus-Status: Clean X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgeefuddrgedugdeludcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucftgffptefvgfftnecuuegrihhlohhuthemuceftddtnecunecujfgurhepgggtgffkfffhvffujghfofhrsehtqhertdertdejnecuhfhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhenucggtffrrghtthgvrhhnpeduteehleeihfdvgffhhedvtdevheekjeehleffleehfeeuieeukeehvefgtdevgfenucffohhmrghinhepohhrghhmohguvgdrohhrghdpuhdqshhtrhgrshgsghdrfhhrpdhgnhhurdhorhhgpdhnohhnghhnuhdrohhrghdpuhhnihhsthhrrgdrfhhrnecukfhppeduleegrddvheegrddvgedurddvhedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelgedrvdehgedrvdeguddrvdehtddphhgvlhhopeeltddrfeefrdeitddruddpmhgrihhlfhhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopegvmhgrtghsqdhorhhgmhhouggvsehgnhhurdhorhhg Received-SPF: pass client-ip=194.254.241.31; envelope-from=Alain.Cochard@unistra.fr; helo=smtpout02-ext4.partage.renater.fr X-Spam_score_int: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_HELO_IP_MISMATCH=2.368, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: , Reply-To: alain.cochard@unistra.fr 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: -6.20 X-Spam-Score: -6.20 X-Migadu-Queue-Id: B9BB21A0F4 X-Migadu-Scanner: mx12.migadu.com X-TUID: 9+L3vZ84472N Hello. An excerpt of the page=20 https://orgmode.org/manual/Installation.html is=20 Using Emacs packaging system Recent Emacs distributions include a packaging system which lets you= install Elisp libraries. You can install Org from the =E2=80=9Cpacka= ge menu=E2=80=9D, with M-x list-packages. See Package Menu. Important: You need to do this in a session where no =E2=80=98.o= rg=E2=80=99 file has been visited, i.e., where no Org built-in function have been loaded. Otherwise autoload Org functions will mess up the installation. To avoid interference with built-in Org mode, you can use command li= ne: emacs -Q -batch -eval "(progn (require 'package) (package-initialize= ) (package-refresh-contents) (package-upgrade 'org))" This approach has the advantage of isolating the upgrade process fro= m a running Emacs session, ensuring that version conflicts can not arise= =2E I have used the emacs batch command above on a number of machines but i= t always failed (see below), so I guess I am doing something wrong, but w= hat=3F Anyway, is it correct that one does not need this command to avoid the above mentioned interferences, provided that a single Emacs session is running, and in which no org file has been visited (.org or otherwise)=3F= Thanks. NB: I of course type the emacs command on a single line of a regular terminal. * Fedora 40=20 Linux frac.u-strasbg.fr 6.11.5-200.fc40.x86=5F64 #1 SMP PREEMPT=5FDYNAM= IC Tue Oct 22 19:13:11 UTC 2024 x86=5F64 GNU/Linux GNU Emacs 29.4 (build 1, x86=5F64-redhat-linux-gnu, GTK+ Version 3.24.4= 2, cairo version 1.18.0) of 2024-07-16 Org mode version 9.6.15 (release=5F9.6.15 @ /usr/share/emacs/29.4/lisp/= org/) Mark set $ emacs -Q -batch -eval "(progn (require 'package) (package-initialize)= (package-refresh-contents) (package-upgrade 'org))" Importing package-keyring.gpg... Importing package-keyring.gpg...done Contacting host: elpa.gnu.org:443 Contacting host: elpa.gnu.org:443 Package refresh done Contacting host: elpa.nongnu.org:443 Contacting host: elpa.nongnu.org:443 Package refresh done Error: wrong-type-argument (package-desc nil) mapbacktrace(#f(compiled-function (evald func args flags) #)) debug-early-backtrace() debug-early(error (wrong-type-argument package-desc nil)) package-upgrade(org) (progn (require 'package) (package-initialize) (package-refresh-contents) (package-upgrade 'org)) command-line-1(("-eval" "(progn (require 'package) (package-initialize) (package-refresh-contents) (package-upgrade 'org))")) command-line() normal-top-level() Wrong type argument: package-desc, nil * Fedora 38 Linux fedora 6.8.9-100.fc38.x86=5F64 #1 SMP PREEMPT=5FDYNAMIC Thu May 2= 18:50:49 UTC 2024 x86=5F64 GNU/Linux GNU Emacs 29.3 (build 1, x86=5F64-redhat-linux-gnu, GTK+ Version 3.24.4= 1, cairo version 1.17.8) of 2024-03-25 Org mode version 9.6.15 (release=5F9.6.15 @ /usr/share/emacs/29.3/lisp/= org/) $ emacs -Q -batch -eval "(progn (require 'package) (package-initialize)= (package-refresh-contents) (package-upgrade 'org))" Importing package-keyring.gpg... Importing package-keyring.gpg...done Contacting host: elpa.gnu.org:443 Contacting host: elpa.gnu.org:443 Package refresh done Contacting host: elpa.nongnu.org:443 Package refresh done Error: wrong-type-argument (package-desc nil) mapbacktrace(#f(compiled-function (evald func args flags) #)) debug-early-backtrace() debug-early(error (wrong-type-argument package-desc nil)) package-upgrade(org) (progn (require 'package) (package-initialize) (package-refresh-conte= nts) (package-upgrade 'org)) command-line-1(("-eval" "(progn (require 'package) (package-initializ= e) (package-refresh-contents) (package-upgrade 'org))")) command-line() normal-top-level() Wrong type argument: package-desc, nil * Another Fedora 38 Linux fruc.u-strasbg.fr 6.5.6-200.fc38.x86=5F64 #1 SMP PREEMPT=5FDYNAMI= C Fri Oct 6 19:02:35 UTC 2023 x86=5F64 GNU/Linux GNU Emacs 28.3 (build 1, x86=5F64-redhat-linux-gnu, GTK+ Version 3.24.3= 8, cairo version 1.17.8) of 2023-09-24 Org mode version 9.5.5 (release=5F9.5.5 @ /usr/share/emacs/28.3/lisp/or= g/) $ emacs -Q -batch -eval "(progn (require 'package) (package-initialize)= (package-refresh-contents) (package-upgrade 'org))" Importing package-keyring.gpg... Importing package-keyring.gpg...done Contacting host: elpa.gnu.org:443 Contacting host: elpa.gnu.org:443 Failed to download =E2=80=98gnu=E2=80=99 archive. Contacting host: elpa.nongnu.org:443 Package refresh done Failed to download =E2=80=98nongnu=E2=80=99 archive. Debugger entered--Lisp error: (void-function package-upgrade) (package-upgrade 'org) (progn (require 'package) (package-initialize) (package-refresh-conte= nts) (package-upgrade 'org)) command-line-1(("-eval" "(progn (require 'package) (package-initializ= e) (pa...")) command-line() normal-top-level() * Fedora 34 Linux frac 5.17.12-100.fc34.x86=5F64 #1 SMP PREEMPT Mon May 30 17:47:02= UTC 2022 x86=5F64 x86=5F64 x86=5F64 GNU/Linux GNU Emacs 27.2 (build 1, x86=5F64-redhat-linux-gnu, GTK+ Version 3.24.3= 0, cairo version 1.17.4) of 2021-08-07 Org mode version 9.4.4 (release=5F9.4.4 @ /usr/share/emacs/27.2/lisp/or= g/) $ emacs -Q -batch -eval "(progn (require 'package) (package-initialize)= (package-refresh-contents) (package-upgrade 'org))" Importing package-keyring.gpg... Importing package-keyring.gpg...done Contacting host: elpa.gnu.org:443 Contacting host: elpa.gnu.org:443 Package refresh done Symbol=E2=80=99s function definition is void: package-upgrade * Debian Linux petrelvm-lin.eost.unistra.fr 6.1.0-22-amd64 #1 SMP PREEMPT=5FDYNA= MIC Debian 6.1.94-1 (2024-06-21) x86=5F64 GNU/Linux GNU Emacs 28.2 (build 1, x86=5F64-pc-linux-gnu, GTK+ Version 3.24.38, c= airo version 1.16.0) of 2024-06-25, modified by Debian Org mode version 9.5.5 (release=5F9.5.5 @ /usr/share/emacs/28.2/lisp/or= g/) $ emacs -Q -batch -eval "(progn (require 'package) (package-initialize)= (package-refresh-contents) (package-upgrade 'org))" Importing package-keyring.gpg... Importing package-keyring.gpg...done Contacting host: elpa.gnu.org:443 Contacting host: elpa.gnu.org:443 Contacting host: elpa.nongnu.org:443 Contacting host: elpa.nongnu.org:443 Package refresh done Debugger entered--Lisp error: (void-function package-upgrade) (package-upgrade 'org) (progn (require 'package) (package-initialize) (package-refresh-conte= nts) (package-upgrade 'org)) command-line-1(("-eval" "(progn (require 'package) (package-initializ= e) (pa...")) command-line() normal-top-level() * Ubuntu Linux loreen-tablet 6.8.0-45-generic #45~22.04.1-Ubuntu SMP PREEMPT=5FD= YNAMIC Wed Sep 11 15:25:05 UTC 2 x86=5F64 x86=5F64 x86=5F64 GNU/Linux GNU Emacs 28.1 (build 1, x86=5F64-pc-linux-gnu, GTK+ Version 3.24.33, c= airo version 1.16.0) of 2022-05-31 Org mode version 9.5.2 (release=5F9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/) $ emacs -Q -batch -eval "(progn (require 'package) (package-initialize)= (package-refresh-contents) (package-upgrade 'org))" Importing package-keyring.gpg... Importing package-keyring.gpg...done Contacting host: elpa.gnu.org:443 Contacting host: elpa.gnu.org:443 Package refresh done Contacting host: elpa.nongnu.org:443 Package refresh done Error: wrong-type-argument (package-desc nil) mapbacktrace(#f(compiled-function (evald func args flags) #)) debug-early-backtrace() debug-early(error (wrong-type-argument package-desc nil)) package-upgrade(org) (progn (require 'package) (package-initialize) (package-refresh-conte= nts) (package-upgrade 'org)) command-line-1(("-eval" "(progn (require 'package) (package-initializ= e) (package-refresh-contents) (package-upgrade 'org))")) command-line() normal-top-level() Wrong type argument: package-desc, nil --=20 EOST (=C3=89cole et Observatoire des Sciences de la Terre)=20 ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr 5 rue Ren=C3=A9 Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44= =20 F-67084 Strasbourg Cedex, France | [ slot available for rent ]