Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #236414

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

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: apt tells me that grub-efi, grub2-common are no longer needed
Date 2021-06-24 16:10 +0200
Message-ID <Ctydj-42p-5@gated-at.bofh.it> (permalink)
References <CtbA6-721-7@gated-at.bofh.it> <Ctcmu-7x4-7@gated-at.bofh.it> <CtcFP-7T0-1@gated-at.bofh.it> <CtdBU-8qF-5@gated-at.bofh.it> <Ctrlw-88p-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu 24 Jun 2021 at 08:49:40 (+0200), Markus wrote:
> Am 23.06.21 um 18:08 schrieb David Wright:
> > On Wed 23 Jun 2021 at 17:01:07 (+0200), Markus wrote:

> > > rc  grub-efi-amd64 2.02+dfsg1-20+deb10u3
> >    ↑↑ There's your problem. It's been removed (but not purged).

> Ok so...hmmm...I did not remove it myself. I mean why would I want to do
> that?!?! Nevertheless this is an issue now.

Take a look at /var/log/apt/history.log* to see the reason
and/or the occasion (but not necessarily the intent).¹

As an example of how things can happen unintentionally, this
post from Tuesday illustrates where a broken package's bug
report seems to have led to a different package being removed:
https://lists.debian.org/debian-user/2021/06/msg00581.html

> Interestingly when booting my computer this morning grub was there and
> booted into Buster. Shouldn't it be gone if it got removed (even though
> it not got purged)? Hmmm...!?!?

Only if you'd gone ahead and removed all those other packages.
There's actually nothing substantial inside grub-efi-amd64:

$ dpkg -L grub-efi-amd64
/.
/usr
/usr/share
/usr/share/bug
/usr/share/bug/grub-efi-amd64
/usr/share/bug/grub-efi-amd64/presubj
/usr/share/bug/grub-efi-amd64/script
/usr/share/doc
/usr/share/doc/grub-efi-amd64
$ 

> How to fix that? Is there actually something wrong (this morning grub
> was there!!!) that needs to be fixed?
> Is it sa[f]e to just reinstall grub-efi-amd64?

Yes. The package exists for its dependencies. Just reinstall it.
You can then try autoremove again, and its list should now only
include the (presumably third) versions of the kernel packages
that you wanted to remove as a matter of routine, like mine in ¹.

¹ entries in /var/log/apt/history.log look like:

Start-Date: 2021-06-19  17:45:10
Commandline: apt-get --purge autoremove
Purge: linux-headers-4.19.0-14-amd64:amd64 (4.19.171-2), linux-headers-4.19.0-14-common:amd64 (4.19.171-2), linux-image-4.19.0-14-amd64:amd64 (4.19.171-2)
End-Date: 2021-06-19  17:45:33

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: apt tells me that grub-efi, grub2-common are no longer needed David Wright <deblis@lionunicorn.co.uk> - 2021-06-23 16:50 +0200
  Re: apt tells me that grub-efi, grub2-common are no longer needed Markus <debianer@gmx.de> - 2021-06-23 17:10 +0200
    Re: apt tells me that grub-efi, grub2-common are no longer needed David Wright <deblis@lionunicorn.co.uk> - 2021-06-23 18:10 +0200
      Re: apt tells me that grub-efi, grub2-common are no longer needed Markus <debianer@gmx.de> - 2021-06-24 08:50 +0200
        Re: apt tells me that grub-efi, grub2-common are no longer needed Greg Wooledge <greg@wooledge.org> - 2021-06-24 13:20 +0200
          Re: apt tells me that grub-efi, grub2-common are no longer needed Markus <debianer@gmx.de> - 2021-06-24 17:10 +0200
            Re: apt tells me that grub-efi, grub2-common are no longer needed Greg Wooledge <greg@wooledge.org> - 2021-06-24 17:20 +0200
              Re: apt tells me that grub-efi, grub2-common are no longer needed Markus <debianer@gmx.de> - 2021-06-24 18:50 +0200
                Re: apt tells me that grub-efi, grub2-common are no longer needed Greg Wooledge <greg@wooledge.org> - 2021-06-24 19:00 +0200
                Re: apt tells me that grub-efi, grub2-common are no longer needed Markus <debianer@gmx.de> - 2021-07-07 08:30 +0200
                Re: apt tells me that grub-efi, grub2-common are no longer needed Andrei POPESCU <andreimpopescu@gmail.com> - 2021-07-07 09:30 +0200
                Re: apt tells me that grub-efi, grub2-common are no longer needed Markus <debianer@gmx.de> - 2021-07-07 12:30 +0200
                Re: apt tells me that grub-efi, grub2-common are no longer needed Anssi Saari <as@sci.fi> - 2021-07-07 14:30 +0200
                Re: apt tells me that grub-efi, grub2-common are no longer needed The Wanderer <wanderer@fastmail.fm> - 2021-07-07 14:40 +0200
                Re: apt tells me that grub-efi, grub2-common are no longer needed Anssi Saari <as@sci.fi> - 2021-07-07 21:30 +0200
                Re: apt tells me that grub-efi, grub2-common are no longer needed Markus <debianer@gmx.de> - 2021-07-08 10:30 +0200
                Re: apt tells me that grub-efi, grub2-common are no longer needed Anssi Saari <as@sci.fi> - 2021-07-08 12:00 +0200
                Re: apt tells me that grub-efi, grub2-common are no longer needed The Wanderer <wanderer@fastmail.fm> - 2021-07-08 12:20 +0200
                Re: apt tells me that grub-efi, grub2-common are no longer needed Greg Wooledge <greg@wooledge.org> - 2021-07-07 13:30 +0200
            Re: apt tells me that grub-efi, grub2-common are no longer needed David Wright <deblis@lionunicorn.co.uk> - 2021-07-08 16:50 +0200
        Re: apt tells me that grub-efi, grub2-common are no longer needed David Wright <deblis@lionunicorn.co.uk> - 2021-06-24 16:10 +0200
          Re: apt tells me that grub-efi, grub2-common are no longer needed Nicolas George <george@nsup.org> - 2021-06-24 16:10 +0200
          Re: apt tells me that grub-efi, grub2-common are no longer needed Markus <debianer@gmx.de> - 2021-06-24 17:00 +0200

csiph-web