GNU bug report logs - #65053
30.0.50; Emacs falsely recommends removal of explicitly installed

Previous Next

Package: emacs;

Reported by: Raoul Comninos <revcomninos <at> gmail.com>

Date: Fri, 4 Aug 2023 15:17:02 UTC

Severity: normal

Found in version 30.0.50

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Raoul Comninos <revcomninos <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; Emacs falsely recommends removal of explicitly installed
Date: Fri, 4 Aug 2023 17:15:30 +0200
[Message part 1 (text/plain, inline)]
I am encountering a peculiar issue with Emacs's package management system
where it is falsely recommending the removal of packages that I have
explicitly installed via package-install. One such example is the
markdown-mode package.

I have installed the affected packages explicitly using M-x
package-install, so they are not dependencies.

I am using Emacs's built-in package.el for package management.

This behaviour is consistent and affects packages that I want to keep.

The recommendation for removal occurs when I go to the list of packages
(M-x list-packages) and press capital "U" to update packages. Emacs then
prompts me to update the packages and recommends certain packages for
removal, even though I want to keep them.

I have checked the usual scenarios such as package dependencies and made
sure I am using the correct installation method. I am unable to identify
why this is happening.

This thread provides a workaround but does not explain why the package is
excluded or indicate that it is a problem that will be rectified:

How does package-autoremove decide which packages to remove?

Why is Emacs recommending the removal of these explicitly installed
packages, and is this behaviour which I have observed for a long time going
to be fixed?

Emacs Version: 30

Any insights or guidance on this issue would be greatly appreciated!
[Message part 2 (text/html, inline)]

This bug report was last modified 2 years and 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.