after new update get stuck on "GRUB"

pump4love

Member
May 28, 2022
6
0
6
i have try to use command on shell giv me error like this

Code:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem

File descriptor 3 (pipe:[25136]) leaked on vgs invocation. Parent PID 9844: grub-install.real
File descriptor 3 (pipe:[25136]) leaked on vgs invocation. Parent PID 9844: grub-install.real


"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem." I have tried the "dpkg --configure -a" then I get the following and the server goes offline.

hope someone has a solution for this
sk%C3%A6rmbillede-2025-03-25-224928-png.84117

Skærmbillede 2025-03-25 224815.png
 

Attachments

  • Skærmbillede 2025-03-25 224928.png
    Skærmbillede 2025-03-25 224928.png
    13.8 KB · Views: 92
Last edited:
i have try to use command on shell giv me error like this

Code:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem

File descriptor 3 (pipe:[25136]) leaked on vgs invocation. Parent PID 9844: grub-install.real
File descriptor 3 (pipe:[25136]) leaked on vgs invocation. Parent PID 9844: grub-install.real


"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem." I have tried the "dpkg --configure -a" then I get the following and the server goes offline.

hope someone has a solution for this
sk%C3%A6rmbillede-2025-03-25-224928-png.84117

View attachment 84116
Did you try running the command that APT suggested?
 
try to use "E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem." I have tried the "dpkg --configure -a" then I get the following and the server goes offline.

Code:
Setting up grub-efi-amd64 (2.06-13+pmx6) ...
Installing for x86_64-efi platform.
File descriptor 3 (pipe:[3527530]) leaked on vgs invocation. Parent PID 555291: grub-install.real
File descriptor 3 (pipe:[3527530]) leaked on vgs invocation. Parent PID 555291: grub-install.real
 
do either of you have access to a console (serial or IPMI or a monitor, for example)? it would be interesting to see what else potentially gets printed or how the server "goes offline". this is very unexpected to say the least!

could you also try just running "grub-install -v" and if that reproduces the issue, post its output here?
 
I was running updates this morning. Noticed the warning on the first host I was upgrading... I didn't follow APT's recommendation, however, I did do a update-grub before a reboot. System came back up without issue. As long as my system boots, I won't be running anything additional until this issue is addressed! lol

Here's the update output of the update:

Code:
Starting system upgrade: apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  proxmox-kernel-6.8.12-4-pve-signed
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
  proxmox-kernel-6.8.12-9-pve-signed
The following packages will be upgraded:
  grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub-pc-bin
  grub2-common libfreetype6 libnvpair3linux libuutil3linux libxslt1.1 libzfs4linux
  libzpool5linux proxmox-backup-client proxmox-backup-file-restore proxmox-grub
  proxmox-kernel-6.8 proxmox-widget-toolkit pve-i18n spl tailscale xsltproc
  zfs-initramfs zfs-zed zfsutils-linux
24 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 153 MB of archives.
After this operation, 579 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-grub amd64 2.06-13+pmx6 [2356 B]
Get:2 http://security.debian.org bookworm-security/main amd64 libfreetype6 amd64 2.12.1+dfsg-5+deb12u4 [398 kB]
Get:3 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 grub-efi-amd64 amd64 2.06-13+pmx6 [45.7 kB]
Get:4 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 grub2-common amd64 2.06-13+pmx6 [616 kB]
Get:5 http://security.debian.org bookworm-security/main amd64 libxslt1.1 amd64 1.1.35-1+deb12u1 [231 kB]
Get:6 http://security.debian.org bookworm-security/main amd64 xsltproc amd64 1.1.35-1+deb12u1 [114 kB]
Get:7 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 grub-efi-amd64-bin amd64 2.06-13+pmx6 [1576 kB]
Get:8 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 grub-pc-bin amd64 2.06-13+pmx6 [1001 kB]
Get:9 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 grub-common amd64 2.06-13+pmx6 [2720 kB]
Get:11 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 grub-efi-amd64-signed amd64 1+2.06+13+pmx6 [1261 kB]
Get:12 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 libnvpair3linux amd64 2.2.7-pve2 [49.3 kB]
Get:13 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 libuutil3linux amd64 2.2.7-pve2 [40.3 kB]
Get:14 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 libzfs4linux amd64 2.2.7-pve2 [216 kB]
Get:15 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 libzpool5linux amd64 2.2.7-pve2 [1312 kB]
Get:16 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-backup-client amd64 3.3.4-1 [3497 kB]
Get:17 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-backup-file-restore amd64 3.3.4-1 [3325 kB]
Get:18 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-kernel-6.8.12-9-pve-signed amd64 6.8.12-9 [103 MB]
Get:10 https://pkgs.tailscale.com/stable/debian bookworm/main amd64 tailscale amd64 1.82.0 [31.5 MB]
Get:19 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-kernel-6.8 all 6.8.12-9 [11.0 kB]
Get:20 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-widget-toolkit all 4.3.7 [221 kB]
Get:21 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 pve-i18n all 3.4.1 [420 kB]
Get:22 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 spl all 2.2.7-pve2 [15.6 kB]
Get:23 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 zfs-initramfs all 2.2.7-pve2 [25.8 kB]
Get:24 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 zfsutils-linux amd64 2.2.7-pve2 [549 kB]
Get:25 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 zfs-zed amd64 2.2.7-pve2 [68.8 kB]
Fetched 153 MB in 4s (36.3 MB/s)   
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 69622 files and directories currently installed.)
Preparing to unpack .../00-proxmox-grub_2.06-13+pmx6_amd64.deb ...
Unpacking proxmox-grub (2.06-13+pmx6) over (2.06-13+pmx5) ...
Preparing to unpack .../01-grub-efi-amd64_2.06-13+pmx6_amd64.deb ...
Unpacking grub-efi-amd64 (2.06-13+pmx6) over (2.06-13+pmx5) ...
Preparing to unpack .../02-grub2-common_2.06-13+pmx6_amd64.deb ...
Unpacking grub2-common (2.06-13+pmx6) over (2.06-13+pmx5) ...
Preparing to unpack .../03-grub-efi-amd64-bin_2.06-13+pmx6_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.06-13+pmx6) over (2.06-13+pmx5) ...
Preparing to unpack .../04-grub-pc-bin_2.06-13+pmx6_amd64.deb ...
Unpacking grub-pc-bin (2.06-13+pmx6) over (2.06-13+pmx5) ...
Preparing to unpack .../05-libfreetype6_2.12.1+dfsg-5+deb12u4_amd64.deb ...
Unpacking libfreetype6:amd64 (2.12.1+dfsg-5+deb12u4) over (2.12.1+dfsg-5+deb12u3) ...
Preparing to unpack .../06-grub-common_2.06-13+pmx6_amd64.deb ...
Unpacking grub-common (2.06-13+pmx6) over (2.06-13+pmx5) ...
Preparing to unpack .../07-grub-efi-amd64-signed_1+2.06+13+pmx6_amd64.deb ...
Unpacking grub-efi-amd64-signed (1+2.06+13+pmx6) over (1+2.06+13+pmx5) ...
Preparing to unpack .../08-libnvpair3linux_2.2.7-pve2_amd64.deb ...
Unpacking libnvpair3linux (2.2.7-pve2) over (2.2.7-pve1) ...
Preparing to unpack .../09-libuutil3linux_2.2.7-pve2_amd64.deb ...
Unpacking libuutil3linux (2.2.7-pve2) over (2.2.7-pve1) ...
Preparing to unpack .../10-libxslt1.1_1.1.35-1+deb12u1_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.35-1+deb12u1) over (1.1.35-1) ...
Preparing to unpack .../11-libzfs4linux_2.2.7-pve2_amd64.deb ...
Unpacking libzfs4linux (2.2.7-pve2) over (2.2.7-pve1) ...
Preparing to unpack .../12-libzpool5linux_2.2.7-pve2_amd64.deb ...
Unpacking libzpool5linux (2.2.7-pve2) over (2.2.7-pve1) ...
Preparing to unpack .../13-proxmox-backup-client_3.3.4-1_amd64.deb ...
Unpacking proxmox-backup-client (3.3.4-1) over (3.3.3-1) ...
Preparing to unpack .../14-proxmox-backup-file-restore_3.3.4-1_amd64.deb ...
Unpacking proxmox-backup-file-restore (3.3.4-1) over (3.3.3-1) ...
Selecting previously unselected package proxmox-kernel-6.8.12-9-pve-signed.
Preparing to unpack .../15-proxmox-kernel-6.8.12-9-pve-signed_6.8.12-9_amd64.deb ...
Unpacking proxmox-kernel-6.8.12-9-pve-signed (6.8.12-9) ...
Preparing to unpack .../16-proxmox-kernel-6.8_6.8.12-9_all.deb ...
Unpacking proxmox-kernel-6.8 (6.8.12-9) over (6.8.12-8) ...
Preparing to unpack .../17-proxmox-widget-toolkit_4.3.7_all.deb ...
Unpacking proxmox-widget-toolkit (4.3.7) over (4.3.6) ...
Preparing to unpack .../18-pve-i18n_3.4.1_all.deb ...
Unpacking pve-i18n (3.4.1) over (3.4.0) ...
Preparing to unpack .../19-spl_2.2.7-pve2_all.deb ...
Unpacking spl (2.2.7-pve2) over (2.2.7-pve1) ...
Preparing to unpack .../20-xsltproc_1.1.35-1+deb12u1_amd64.deb ...
Unpacking xsltproc (1.1.35-1+deb12u1) over (1.1.35-1) ...
Preparing to unpack .../21-zfs-initramfs_2.2.7-pve2_all.deb ...
Unpacking zfs-initramfs (2.2.7-pve2) over (2.2.7-pve1) ...
Preparing to unpack .../22-zfsutils-linux_2.2.7-pve2_amd64.deb ...
Unpacking zfsutils-linux (2.2.7-pve2) over (2.2.7-pve1) ...
Preparing to unpack .../23-zfs-zed_2.2.7-pve2_amd64.deb ...
Unpacking zfs-zed (2.2.7-pve2) over (2.2.7-pve1) ...
Preparing to unpack .../24-tailscale_1.82.0_amd64.deb ...
Unpacking tailscale (1.82.0) over (1.80.3) ...
Setting up proxmox-backup-file-restore (3.3.4-1) ...
Updating file-restore initramfs...
14279 blocks
Setting up libnvpair3linux (2.2.7-pve2) ...
Setting up proxmox-widget-toolkit (4.3.7) ...
Setting up proxmox-backup-client (3.3.4-1) ...
Setting up libfreetype6:amd64 (2.12.1+dfsg-5+deb12u4) ...
Setting up proxmox-kernel-6.8.12-9-pve-signed (6.8.12-9) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 6.8.12-9-pve /boot/vmlinuz-6.8.12-9-pve
update-initramfs: Generating /boot/initrd.img-6.8.12-9-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.

Removable bootloader found at '/boot/efi/EFI/BOOT/BOOTX64.efi', but GRUB packages not set up to update it!
Run the following command:

echo 'grub-efi-amd64 grub2/force_efi_extra_removable boolean true' | debconf-set-selections -v -u

Then reinstall GRUB with 'apt install --reinstall grub-efi-amd64'

run-parts: executing /etc/kernel/postinst.d/proxmox-auto-removal 6.8.12-9-pve /boot/vmlinuz-6.8.12-9-pve
run-parts: executing /etc/kernel/postinst.d/zz-proxmox-boot 6.8.12-9-pve /boot/vmlinuz-6.8.12-9-pve
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.

Removable bootloader found at '/boot/efi/EFI/BOOT/BOOTX64.efi', but GRUB packages not set up to update it!
Run the following command:

echo 'grub-efi-amd64 grub2/force_efi_extra_removable boolean true' | debconf-set-selections -v -u

Then reinstall GRUB with 'apt install --reinstall grub-efi-amd64'

run-parts: executing /etc/kernel/postinst.d/zz-systemd-boot 6.8.12-9-pve /boot/vmlinuz-6.8.12-9-pve
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 6.8.12-9-pve /boot/vmlinuz-6.8.12-9-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.8.12-9-pve
Found initrd image: /boot/initrd.img-6.8.12-9-pve
Found linux image: /boot/vmlinuz-6.8.12-8-pve
Found initrd image: /boot/initrd.img-6.8.12-8-pve
Found linux image: /boot/vmlinuz-6.8.12-5-pve
Found initrd image: /boot/initrd.img-6.8.12-5-pve
Found linux image: /boot/vmlinuz-6.8.12-4-pve
Found initrd image: /boot/initrd.img-6.8.12-4-pve
Found linux image: /boot/vmlinuz-6.8.4-2-pve
Found initrd image: /boot/initrd.img-6.8.4-2-pve
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
Setting up spl (2.2.7-pve2) ...
Setting up pve-i18n (3.4.1) ...
Setting up tailscale (1.82.0) ...
Setting up libxslt1.1:amd64 (1.1.35-1+deb12u1) ...
Setting up libuutil3linux (2.2.7-pve2) ...
Setting up proxmox-kernel-6.8 (6.8.12-9) ...
Setting up libzpool5linux (2.2.7-pve2) ...
Setting up xsltproc (1.1.35-1+deb12u1) ...
Setting up libzfs4linux (2.2.7-pve2) ...
Setting up grub-common (2.06-13+pmx6) ...
Setting up zfsutils-linux (2.2.7-pve2) ...
Setting up zfs-initramfs (2.2.7-pve2) ...
Setting up grub-efi-amd64-bin (2.06-13+pmx6) ...
Setting up grub-efi-amd64-signed (1+2.06+13+pmx6) ...
Setting up grub2-common (2.06-13+pmx6) ...
Setting up grub-pc-bin (2.06-13+pmx6) ...
Setting up zfs-zed (2.2.7-pve2) ...
Setting up grub-efi-amd64 (2.06-13+pmx6) ...
Installing for x86_64-efi platform.
File descriptor 3 (pipe:[13644940]) leaked on vgs invocation. Parent PID 608823: grub-install.real
File descriptor 3 (pipe:[13644940]) leaked on vgs invocation. Parent PID 608823: grub-install.real
Installation finished. No error reported.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.8.12-9-pve
Found initrd image: /boot/initrd.img-6.8.12-9-pve
Found linux image: /boot/vmlinuz-6.8.12-8-pve
Found initrd image: /boot/initrd.img-6.8.12-8-pve
Found linux image: /boot/vmlinuz-6.8.12-5-pve
Found initrd image: /boot/initrd.img-6.8.12-5-pve
Found linux image: /boot/vmlinuz-6.8.12-4-pve
Found initrd image: /boot/initrd.img-6.8.12-4-pve
Found linux image: /boot/vmlinuz-6.8.4-2-pve
Found initrd image: /boot/initrd.img-6.8.4-2-pve
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
Setting up proxmox-grub (2.06-13+pmx6) ...
Processing triggers for libc-bin (2.36-9+deb12u10) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for initramfs-tools (0.142+deb12u1) ...
update-initramfs: Generating /boot/initrd.img-6.8.12-9-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.

Removable bootloader found at '/boot/efi/EFI/BOOT/BOOTX64.efi', but GRUB packages not set up to update it!
Run the following command:

echo 'grub-efi-amd64 grub2/force_efi_extra_removable boolean true' | debconf-set-selections -v -u

Then reinstall GRUB with 'apt install --reinstall grub-efi-amd64'

Processing triggers for shim-signed:amd64 (1.44+pmx1+15.8-1+pmx1) ...

Your System is up-to-date

Here's the output of the boot-tool:
Code:
root@plx2:~# proxmox-boot-tool refresh
Running hook script 'proxmox-auto-removal'..
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.

Removable bootloader found at '/boot/efi/EFI/BOOT/BOOTX64.efi', but GRUB packages not set up to update it!
Run the following command:

echo 'grub-efi-amd64 grub2/force_efi_extra_removable boolean true' | debconf-set-selections -v -u

Then reinstall GRUB with 'apt install --reinstall grub-efi-amd64'
 
you should still run the command it lists, but you don't seem to have the issue the other two people here in this thread have, so maybe start a new one?
 
Fabian

After login using the recovery boot method. Performed the following:

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Mar 27 20:56:11 EDT 2025 on pts/0
root@Loki:~# dpkg --configure -a
Setting up grub-efi-amd64 (2.06-13+pmx6) ...
Installing for x86_64-efi platform.
File descriptor 3 (pipe:[1225491]) leaked on vgs invocation. Parent PID 230562: grub-install.real
File descriptor 3 (pipe:[1225491]) leaked on vgs invocation. Parent PID 230562: grub-install.real

Server reboots...

Please see the before screen capture called Recovery boot login.jpg and after the server reboots screen capture called After reboot.jpg.
 

Attachments

  • After reboot.jpg
    After reboot.jpg
    19.9 KB · Views: 10
  • Recovery boot login.jpg
    Recovery boot login.jpg
    91.7 KB · Views: 10
Fabian,

I started the server in rescue boot mode and ran the command "grub-install -v". The server rebooted and ended up at the same state as yesterday. Please see "After reboot.jpg" I did capture the end of the shell output please see "Output2.txt"
 

Attachments

  • Output2.txt
    Output2.txt
    64.3 KB · Views: 5
  • After reboot.jpg
    After reboot.jpg
    19.9 KB · Views: 9
wow, that's very strange. what kind of system is this? could you also post the output of `efibootmgr -v`? the log looks a bit like it crashes on setting the boot efi variable..
 
okay.. so let's see what grub-install is actually attempting to do when it crashes, could you run

"strace -ff grub-install -v" and catch the output (it will be a lot, but mainly the last lines will be interesting, so if you run it over SSH and copy the last few hundred lines of the backlog that would be enough)
 
Fabian, Last night I upgraded the SuperMicro BMC Firmware which controls the IPMI and ran the "grub-install -v" which resulted in the same state of the server going offline and rebooting. I updated the SuperMicro bios to version 2.6 and ran the same command this time it completed successfully. Tonight I will be performing a clean install and upgrade to the latest version to see if there are no errors from start to finish.