Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #262236
| From | Jesper Dybdal <jd-debian-user@dybdal.dk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Unattended upgrade of grub failed |
| Date | 2023-10-08 11:20 +0200 |
| Message-ID | <Hmy77-emfG-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
I run Bullseye on an UEFI boot machine. The system originally ran on BIOS boot hardware, but this summer I moved it to an UEFI machine by installing the EFI version of grub. This has worked fine since then, with unattended-upgrades succeeding in keeping it up-to-date, including kernel upgrades and reboots. But this morning, unattended-upgrades failed: > Packages that attempted to upgrade: > grub-common grub-efi-amd64-bin grub-efi-amd64-signed grub-pc > grub-pc-bin grub2 grub2-common > > Packages with upgradable origin but kept back: > Debian oldstable-security: > grub2-common grub-common grub-pc-bin grub-efi-amd64-signed grub2 > grub-pc grub-efi-amd64-bin (The entire mail from unattended-upgrades is quoted below.) It seems to have a problem with "grub-pc". But I thought that grub-pc was only for BIOS boot, and that by installing the UEFI version grub-pc would disappear or at least be disabled. Do I need to do an uninstall of grub-pc? and will that not be dangerous for the EFI version? I am now somewhat worried - can my system boot at all? And I expect that the point release will be installed tonight - will that mess things up further? Can I simply disable unattended-upgrades with systemctl in order to temporarily stop unattended upgrades? This machine is also my router/firewall/server, so if it fails, everything becomes difficult. Thanks for any help you can offer, Jesper The entire mail from unattended-upgrades: > Unattended upgrade result: All upgrades installed > > Packages that attempted to upgrade: > grub-common grub-efi-amd64-bin grub-efi-amd64-signed grub-pc > grub-pc-bin grub2 grub2-common > > Packages with upgradable origin but kept back: > Debian oldstable-security: > grub2-common grub-common grub-pc-bin grub-efi-amd64-signed grub2 > grub-pc grub-efi-amd64-bin > > Package installation log: > Log started: 2023-10-08 06:47:58 > apt-listchanges: Reading changelogs... > Preconfiguring packages ... > apt-listchanges: Reading changelogs... > Preconfiguring packages ... > Preparing to unpack .../0-grub2_2.06-3~deb11u6_amd64.deb ... > Unpacking grub2 (2.06-3~deb11u6) over (2.06-3~deb11u5) ... > Preparing to unpack .../1-grub2-common_2.06-3~deb11u6_amd64.deb ... > Unpacking grub2-common (2.06-3~deb11u6) over (2.06-3~deb11u5) ... > Preparing to unpack .../2-grub-pc_2.06-3~deb11u6_amd64.deb ... > Unpacking grub-pc (2.06-3~deb11u6) over (2.06-3~deb11u5) ... > Preparing to unpack .../3-grub-pc-bin_2.06-3~deb11u6_amd64.deb ... > Unpacking grub-pc-bin (2.06-3~deb11u6) over (2.06-3~deb11u5) ... > Preparing to unpack .../4-grub-efi-amd64-bin_2.06-3~deb11u6_amd64.deb ... > Unpacking grub-efi-amd64-bin (2.06-3~deb11u6) over (2.06-3~deb11u5) ... > Preparing to unpack .../5-grub-common_2.06-3~deb11u6_amd64.deb ... > Unpacking grub-common (2.06-3~deb11u6) over (2.06-3~deb11u5) ... > Setting up grub-common (2.06-3~deb11u6) ... > Setting up grub-efi-amd64-bin (2.06-3~deb11u6) ... > Setting up grub2-common (2.06-3~deb11u6) ... > Setting up grub-pc-bin (2.06-3~deb11u6) ... > Setting up grub-pc (2.06-3~deb11u6) ... > /dev/disk/by-id/ata-ST2000DM001-1ER164_W4Z216NL does not exist, so cannot grub-install to it! > You must correct your GRUB install devices before proceeding: > > DEBIAN_FRONTEND=dialog dpkg --configure grub-pc > dpkg --configure -a > dpkg: error processing package grub-pc (--configure): > installed grub-pc package post-installation script subprocess returned error exit status 1 > dpkg: dependency problems prevent configuration of grub2: > grub2 depends on grub-pc (= 2.06-3~deb11u6); however: > Package grub-pc is not configured yet. > > dpkg: error processing package grub2 (--configure): > dependency problems - leaving unconfigured > Processing triggers for man-db (2.9.4-2) ... > Processing triggers for install-info (6.7.0.dfsg.2-6) ... > Errors were encountered while processing: > grub-pc > grub2 > needrestart is being skipped since dpkg has failed > > Running kernel seems to be up-to-date. > > The processor microcode seems to be up-to-date. > > Restarting services... > systemctl restart amavisd-milter.service > > Service restarts being deferred: > /etc/needrestart/restart.d/dbus.service > systemctl restartgetty@tty1.service > systemctl restart systemd-logind.service > systemctl restart unattended-upgrades.service > > No containers need to be restarted. > > No user sessions are running outdated binaries. > E:Sub-process /usr/bin/dpkg returned an error code (1) > Log ended: 2023-10-08 06:48:20 > > > > Unattended-upgrades log: > Starting unattended upgrades script > Allowed origins are: origin=Debian,codename=bullseye,label=Debian, origin=Debian,codename=bullseye,label=Debian-Security, origin=Debian,codename=bullseye-security,label=Debian-Security > Initial blacklist: > Initial whitelist (not strict): > Packages that will be upgraded: grub-common grub-efi-amd64-bin grub-efi-amd64-signed grub-pc grub-pc-bin grub2 grub2-common > Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log > Installing the upgrades failed! > error message: installArchives() failed > dpkg returned a error! See /var/log/unattended-upgrades/unattended-upgrades-dpkg.log for details > Package grub-common is kept back because a related package is kept back or due to local apt_preferences(5). > Package grub-efi-amd64-bin is kept back because a related package is kept back or due to local apt_preferences(5). > Package grub-efi-amd64-signed is kept back because a related package is kept back or due to local apt_preferences(5). > Package grub-pc is kept back because a related package is kept back or due to local apt_preferences(5). > Package grub-pc-bin is kept back because a related package is kept back or due to local apt_preferences(5). > Package grub2 is kept back because a related package is kept back or due to local apt_preferences(5). > Package grub2-common is kept back because a related package is kept back or due to local apt_preferences(5). > -- Jesper Dybdal https://www.dybdal.dk
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
Unattended upgrade of grub failed Jesper Dybdal <jd-debian-user@dybdal.dk> - 2023-10-08 11:20 +0200
Re: Unattended upgrade of grub failed "Marco M." <mm@dorfdsl.de> - 2023-10-08 11:30 +0200
Re: Unattended upgrade of grub failed Jesper Dybdal <jd-debian-user@dybdal.dk> - 2023-10-08 12:10 +0200
Re: Unattended upgrade of grub failed Jesper Dybdal <jd-debian-user@dybdal.dk> - 2023-10-08 13:40 +0200
Re: Unattended upgrade of grub failed "Marco M." <mm@dorfdsl.de> - 2023-10-08 14:30 +0200
Re: Unattended upgrade of grub failed Jeffrey Walton <noloader@gmail.com> - 2023-10-08 19:20 +0200
Re: Unattended upgrade of grub failed Jesper Dybdal <jd-debian-user@dybdal.dk> - 2023-10-08 17:20 +0200
Re: Unattended upgrade of grub failed Greg Wooledge <greg@wooledge.org> - 2023-10-09 02:40 +0200
Re: Unattended upgrade of grub failed "Marco M." <mm@dorfdsl.de> - 2023-10-08 11:40 +0200
Re: Unattended upgrade of grub failed "Marco M." <mm@dorfdsl.de> - 2023-10-08 14:40 +0200
csiph-web