stale emacs lisp files left behind after upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dh-elpa (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
use-package (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After upgrading to Lunar, I see the following warning messages when I start Emacs:
Warning (comp): Cannot look-up eln file as no source file was found for /usr/share/
After the upgrade, I have two use-package directories in site-lisp/elpa:
/usr/
/usr/
The 2.4.1 directory contains broken .el symlinks and regular .elc files. The 2.4.4 directory contains working .el symlinks and .elc files. There are a few other packages in a similar state that changed version between Kinetic and Lunar.
From what I can tell, these directories were set up by /usr/lib/
Manually removing the old versioned directory for affected packages clears up the warnings.
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: elpa-use-package 2.4.4-1
ProcVersionSign
Uname: Linux 6.2.0-18-generic x86_64
ApportVersion: 2.26.0-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Mar 29 11:57:27 2023
InstallationDate: Installed on 2017-09-02 (2033 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170901)
PackageArchitec
SourcePackage: use-package
UpgradeStatus: Upgraded to lunar on 2023-03-29 (0 days ago)
Status changed to 'Confirmed' because the bug affects multiple users.