Package: emacs;
Reported by: Stephen Berman <stephen.berman <at> gmx.net>
Date: Tue, 25 Apr 2023 08:03:01 UTC
Severity: normal
Found in version 29.0.90
Done: Stephen Berman <stephen.berman <at> gmx.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63064 in the body.
You can then email your comments to 63064 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-gnu-emacs <at> gnu.org
:bug#63064
; Package emacs
.
(Tue, 25 Apr 2023 08:03:02 GMT) Full text and rfc822 format available.Stephen Berman <stephen.berman <at> gmx.net>
:bug-gnu-emacs <at> gnu.org
.
(Tue, 25 Apr 2023 08:03:02 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Stephen Berman <stephen.berman <at> gmx.net> To: bug-gnu-emacs <at> gnu.org Subject: 29.0.90; installed packages have status available and obsolete Date: Tue, 25 Apr 2023 10:02:08 +0200
I updated installed packages by typing `M-x list-packages', then in the *Packages* buffer typing `/u', then typing `i' on the lines of the packages I wanted to update, and then typing `x'. After the installation completed and the *Packages* buffer was refreshed, I again typed `/u' and now *Packages* displayed the following (I omitted the "Descriptions" column): Packages[upgradable] Version Status Archive nov 20230421.1548 new melpa auctex 13.2.0 available gnu comint-mime 0.3 available gnu company 20230416.2034 available melpa dash 20230415.2324 available melpa markdown-mode 20230412.126 available melpa osm 20230417.1827 available melpa posframe 20230423.927 available melpa posframe 1.4.2 available gnu sly 20230411.1523 available melpa tablist 20230321.705 available melpa websocket 20230305.410 available melpa auctex 13.1.10 installed comint-mime 0.2 installed company 0.9.13 installed dash 2.19.1 installed markdown-mode 20230331.913 installed nov 20230327.1739 installed osm 20230405.1939 installed posframe 1.4.1 installed sly 20230327.1434 installed tablist 1.0 installed websocket 1.14 installed auctex 13.2.0 obsolete comint-mime 0.3 obsolete markdown-mode 20230412.126 obsolete nov 20230411.1833 obsolete nov 20230421.1548 obsolete osm 20230417.1827 obsolete posframe 1.4.2 obsolete sly 20230411.1523 obsolete Notice that the highest version of the packages with status "available" (plus the one with status "new") also have status "obsolete" but not "status" installed. But in fact, those versions were just installed and are present in my ~/.emacs.d/elpa directory, and the versions of these packages with status "installed" are also still present in ~/.emacs.d/elpa, i.e. they were unexpectedly not removed after the newer versions were (physically) installed. I can reproduce the above display (also in master) when ~/.emacs.d/elpa contains the packages listed above with status "installed" or "obsolete" and ~/.emacs contains only the following lines: (package-initialize) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(package-archives '(("gnu" . "http://elpa.gnu.org/packages/") ("nongnu" . "https://elpa.nongnu.org/nongnu/") ("melpa" . "https://melpa.org/packages/"))) '(package-selected-packages '(dash posframe websocket company tablist osm sly comint-mime markdown-mode auctex nov))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) Then typing `M-x list-packages' followed by `/u' produces the above display in the *Packages* buffer. In GNU Emacs 29.0.90 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.17.6) of 2023-04-21 built on strobelfssd Repository revision: 9ac12592781934bcd934bc0cae71a637311119ec Repository branch: emacs-29 Windowing system distributor 'The X.Org Foundation', version 11.0.12101008 System Description: Linux From Scratch r11.3-65-systemd Configured using: 'configure -C --with-xwidgets 'CFLAGS=-Og -g3' PKG_CONFIG_PATH=/opt/qt5/lib/pkgconfig' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB
bug-gnu-emacs <at> gnu.org
:bug#63064
; Package emacs
.
(Mon, 08 May 2023 08:34:01 GMT) Full text and rfc822 format available.Message #8 received at 63064 <at> debbugs.gnu.org (full text, mbox):
From: Stephen Berman <stephen.berman <at> gmx.net> To: 63064 <at> debbugs.gnu.org Subject: Re: bug#63064: 29.0.90; installed packages have status available and obsolete Date: Mon, 08 May 2023 10:33:48 +0200
On Tue, 25 Apr 2023 10:02:08 +0200 Stephen Berman <stephen.berman <at> gmx.net> wrote: > I updated installed packages by typing `M-x list-packages', then in the > *Packages* buffer typing `/u', then typing `i' on the lines of the > packages I wanted to update, and then typing `x'. After the > installation completed and the *Packages* buffer was refreshed, I again > typed `/u' and now *Packages* displayed the following (I omitted the > "Descriptions" column): > > Packages[upgradable] Version Status Archive > nov 20230421.1548 new melpa > auctex 13.2.0 available gnu > comint-mime 0.3 available gnu > company 20230416.2034 available melpa > dash 20230415.2324 available melpa > markdown-mode 20230412.126 available melpa > osm 20230417.1827 available melpa > posframe 20230423.927 available melpa > posframe 1.4.2 available gnu > sly 20230411.1523 available melpa > tablist 20230321.705 available melpa > websocket 20230305.410 available melpa > auctex 13.1.10 installed > comint-mime 0.2 installed > company 0.9.13 installed > dash 2.19.1 installed > markdown-mode 20230331.913 installed > nov 20230327.1739 installed > osm 20230405.1939 installed > posframe 1.4.1 installed > sly 20230327.1434 installed > tablist 1.0 installed > websocket 1.14 installed > auctex 13.2.0 obsolete > comint-mime 0.3 obsolete > markdown-mode 20230412.126 obsolete > nov 20230411.1833 obsolete > nov 20230421.1548 obsolete > osm 20230417.1827 obsolete > posframe 1.4.2 obsolete > sly 20230411.1523 obsolete > > Notice that the highest version of the packages with status "available" > (plus the one with status "new") also have status "obsolete" but not > "status" installed. But in fact, those versions were just installed and > are present in my ~/.emacs.d/elpa directory, and the versions of these > packages with status "installed" are also still present in > ~/.emacs.d/elpa, i.e. they were unexpectedly not removed after the newer > versions were (physically) installed. > > I can reproduce the above display (also in master) when ~/.emacs.d/elpa > contains the packages listed above with status "installed" or "obsolete" > and ~/.emacs contains only the following lines: > > (package-initialize) > (custom-set-variables > ;; custom-set-variables was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > '(package-archives > '(("gnu" . "http://elpa.gnu.org/packages/") > ("nongnu" . "https://elpa.nongnu.org/nongnu/") > ("melpa" . "https://melpa.org/packages/"))) > '(package-selected-packages > '(dash posframe websocket company tablist osm sly comint-mime markdown-mode auctex nov))) > (custom-set-faces > ;; custom-set-faces was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > ) > > Then typing `M-x list-packages' followed by `/u' produces the above > display in the *Packages* buffer. I have additional information: I copied my entire ~/.emacs.d/elpa directory and the complete value for package-selected-packages to a directory under /tmp, then started emacs with HOME set to this directory, and then invoked list-packages, and this is the resulting display in the *Packages* buffer (omitting the "Description" column): company 20230416.2034 available melpa posframe 20230423.927 available melpa sly 20230507.2335 available melpa tablist 20230321.705 available melpa websocket 20230305.410 available melpa company 0.9.13 installed posframe 1.4.2 installed sly 20230425.2123 installed tablist 1.0 installed websocket 1.14 installed posframe 1.4.1 obsolete sly 20230327.1434 obsolete In contrast to the above display produced from my "real" ~/.emacs.d, here there is no doubling in the listing of available and obsolete packages, and the listing of installed packages is correct. This seems to be the intended display of *Packages*. So there is evidently something in my "real" ~/.emacs.d that is causing the above aberrant display, but I have no idea what. Does anyone here have a suggestion? (I also see from the copy of my elpa directory in /tmp that here, too, the old versions of updated packages are not automatically deleted, which, unless my memory is mistaken, is a change from earlier behavior, I assume to make the possibility of downgrading easier.) Steve Berman
Stephen Berman <stephen.berman <at> gmx.net>
:Stephen Berman <stephen.berman <at> gmx.net>
:Message #13 received at 63064-done <at> debbugs.gnu.org (full text, mbox):
From: Stephen Berman <stephen.berman <at> gmx.net> To: 63064-done <at> debbugs.gnu.org Subject: Re: bug#63064: 29.0.90; installed packages have status available and obsolete Date: Mon, 08 May 2023 12:43:22 +0200
On Mon, 08 May 2023 10:33:48 +0200 Stephen Berman <stephen.berman <at> gmx.net> wrote: [...] > I have additional information: I copied my entire ~/.emacs.d/elpa > directory and the complete value for package-selected-packages to a > directory under /tmp, then started emacs with HOME set to this > directory, and then invoked list-packages, and this is the resulting > display in the *Packages* buffer (omitting the "Description" column): > > company 20230416.2034 available melpa > posframe 20230423.927 available melpa > sly 20230507.2335 available melpa > tablist 20230321.705 available melpa > websocket 20230305.410 available melpa > company 0.9.13 installed > posframe 1.4.2 installed > sly 20230425.2123 installed > tablist 1.0 installed > websocket 1.14 installed > posframe 1.4.1 obsolete > sly 20230327.1434 obsolete > > In contrast to the above display produced from my "real" ~/.emacs.d, > here there is no doubling in the listing of available and obsolete > packages, and the listing of installed packages is correct. This seems > to be the intended display of *Packages*. So there is evidently > something in my "real" ~/.emacs.d that is causing the above aberrant > display, but I have no idea what. Does anyone here have a suggestion? I determined that the aberrant display in *Packages* is due to invoking (package-initialize) in ~/.emacs.d/init.el. Evidentally I missed the change in Emacs 27 with regard to this function. I don't understand why invoking (package-initialize) in init.el when HOME is under /tmp doesn't have this effect, but that's a separate issue, so I'm closing this bug. Steve Berman
Debbugs Internal Request <help-debbugs <at> gnu.org>
to internal_control <at> debbugs.gnu.org
.
(Mon, 05 Jun 2023 11:24:12 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.