stale emacs lisp files left behind after upgrade

Bug #2013157 reported by James Henstridge
10
This bug affects 2 people
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/emacs/site-lisp/elpa/use-package-2.4.1/use-package.elc Disable showing Disable logging

After the upgrade, I have two use-package directories in site-lisp/elpa:

    /usr/share/emacs/site-lisp/elpa/use-package-2.4.1
    /usr/share/emacs/site-lisp/elpa/use-package-2.4.4

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/dh-elpa/helper/install but the old version was not removed on upgrade.

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
ProcVersionSignature: Ubuntu 6.2.0-18.18-generic 6.2.6
Uname: Linux 6.2.0-18-generic x86_64
ApportVersion: 2.26.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
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)
PackageArchitecture: all
SourcePackage: use-package
UpgradeStatus: Upgraded to lunar on 2023-03-29 (0 days ago)

Revision history for this message
James Henstridge (jamesh) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dh-elpa (Ubuntu):
status: New → Confirmed
Changed in use-package (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.