[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt tells me that grub-efi, grub2-common are no longer needed



On Wed, Jun 23, 2021 at 03:55:04PM +0200, Markus wrote:
>    Hi, just before and also after today's "apt full-upgrade" apt tells me
>    that:
> The following packages were automatically installed and are no longer required:
> efibootmgr grub-efi-amd64-bin grub-efi-amd64-signed grub2-common
> libappindicator3-1 libcanberra-gtk3-0 libcanberra-gtk3-module
> libclutter-gtk-1.0-0 libdbusmenu-glib4 libdbusmenu-gtk3-4 libindicator3-7
> libupsclient4 linux-headers-5.10.0-0.bpo.4-amd64
> linux-headers-5.10.0-0.bpo.4-common linux-image-5.10.0-0.bpo.4-amd64
> linux-kbuild-4.19 linux-kbuild-5.9 mokutil shim-helpers-amd64-signed
> shim-signed-common
> shim-unsigned

This may not be helpful for you, but this is *exactly* the kind of thing
that led me to turning off apt's autoremove feature.  In my experience, it
does more harm than good.

I did it by marking every package as "never-autoremove", by creating the
following one-line text file:

unicorn:~$ cat /etc/apt/apt.conf.d/99local 
APT::NeverAutoRemove ".";

There may be other ways to do it.

If you don't like that solution, which I'll admit is not for everyone,
my best advice would be to pick whichever package(s) in the above output
you care about, and mark them as manually installed, using apt-mark(8).


Reply to: