Linux Lite Forums
update failure Linux 7.4 - grub install code 32 - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5)
+--- Forum: Updates (https://www.linuxliteos.com/forums/forumdisplay.php?fid=46)
+--- Thread: update failure Linux 7.4 - grub install code 32 (/showthread.php?tid=9443)

Pages: 1 2


update failure Linux 7.4 - grub install code 32 - hellphy - 05-26-2025

this is the 3rd time it failed the update number just keeps stacking up 

===========================
Install Updates Error log
===========================
Install Updates could not successfully download and install available updates.
Go to https://www.linuxliteos.com/forums/ and paste the log below into a new or existing thread for assistance.

============ Log ===========

Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following upgrades have been deferred due to phasing:
  nvidia-common ubuntu-drivers-common
The following packages have been kept back:
  inxi zenity zenity-common
The following packages will be upgraded:
  gir1.2-glib-2.0 gir1.2-glib-2.0-dev libgirepository-2.0-0 libglib2.0-0t64
  libglib2.0-bin libglib2.0-data libglib2.0-dev libglib2.0-dev-bin thunderbird
9 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
1 not fully installed or removed.
Need to get 78.9 MB of archives.
After this operation, 80.9 kB disk space will be freed.
Get:1 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 libglib2.0-data all 2.80.0-6ubuntu3.4 [48.7 kB]
Get:2 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu noble/main amd64 thunderbird amd64 1:128.11.0+build1-0ubuntu0.24.04.1~mt1 [74.1 MB]
Get:3 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 libglib2.0-0t64 amd64 2.80.0-6ubuntu3.4 [1,544 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 gir1.2-glib-2.0 amd64 2.80.0-6ubuntu3.4 [183 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 gir1.2-glib-2.0-dev amd64 2.80.0-6ubuntu3.4 [848 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 libgirepository-2.0-0 amd64 2.80.0-6ubuntu3.4 [73.6 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 libglib2.0-bin amd64 2.80.0-6ubuntu3.4 [97.9 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 libglib2.0-dev-bin amd64 2.80.0-6ubuntu3.4 [138 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 libglib2.0-dev amd64 2.80.0-6ubuntu3.4 [1,860 kB]
Fetched 78.9 MB in 31s (2,504 kB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 470553 files and directories currently installed.)
Preparing to unpack .../libglib2.0-data_2.80.0-6ubuntu3.4_all.deb ...
Unpacking libglib2.0-data (2.80.0-6ubuntu3.4) over (2.80.0-6ubuntu3.2) ...
Setting up libglib2.0-data (2.80.0-6ubuntu3.4) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 470553 files and directories currently installed.)
Preparing to unpack .../libglib2.0-0t64_2.80.0-6ubuntu3.4_amd64.deb ...
Unpacking libglib2.0-0t64:amd64 (2.80.0-6ubuntu3.4) over (2.80.0-6ubuntu3.2) ...
Setting up libglib2.0-0t64:amd64 (2.80.0-6ubuntu3.4) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 470553 files and directories currently installed.)
Preparing to unpack .../gir1.2-glib-2.0_2.80.0-6ubuntu3.4_amd64.deb ...
Unpacking gir1.2-glib-2.0:amd64 (2.80.0-6ubuntu3.4) over (2.80.0-6ubuntu3.2) ...
Setting up gir1.2-glib-2.0:amd64 (2.80.0-6ubuntu3.4) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 470553 files and directories currently installed.)
Preparing to unpack .../gir1.2-glib-2.0-dev_2.80.0-6ubuntu3.4_amd64.deb ...
Unpacking gir1.2-glib-2.0-dev:amd64 (2.80.0-6ubuntu3.4) over (2.80.0-6ubuntu3.2) ...
Setting up gir1.2-glib-2.0-dev:amd64 (2.80.0-6ubuntu3.4) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 470553 files and directories currently installed.)
Preparing to unpack .../libgirepository-2.0-0_2.80.0-6ubuntu3.4_amd64.deb ...
Unpacking libgirepository-2.0-0:amd64 (2.80.0-6ubuntu3.4) over (2.80.0-6ubuntu3.2) ...
Setting up libgirepository-2.0-0:amd64 (2.80.0-6ubuntu3.4) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 470553 files and directories currently installed.)
Preparing to unpack .../libglib2.0-bin_2.80.0-6ubuntu3.4_amd64.deb ...
Unpacking libglib2.0-bin (2.80.0-6ubuntu3.4) over (2.80.0-6ubuntu3.2) ...
Setting up libglib2.0-bin (2.80.0-6ubuntu3.4) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 470553 files and directories currently installed.)
Preparing to unpack .../libglib2.0-dev-bin_2.80.0-6ubuntu3.4_amd64.deb ...
Unpacking libglib2.0-dev-bin (2.80.0-6ubuntu3.4) over (2.80.0-6ubuntu3.2) ...
Setting up libglib2.0-dev-bin (2.80.0-6ubuntu3.4) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 470553 files and directories currently installed.)
Preparing to unpack .../libglib2.0-dev_2.80.0-6ubuntu3.4_amd64.deb ...
Unpacking libglib2.0-dev:amd64 (2.80.0-6ubuntu3.4) over (2.80.0-6ubuntu3.2) ...
Setting up libglib2.0-dev:amd64 (2.80.0-6ubuntu3.4) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 470553 files and directories currently installed.)
Preparing to unpack .../thunderbird_1%3a128.11.0+build1-0ubuntu0.24.04.1~mt1_amd64.deb ...
Unpacking thunderbird (1:128.11.0+build1-0ubuntu0.24.04.1~mt1) over (1:128.10.2+build1-0ubuntu0.24.04.1~mt1) ...
Setting up grub-efi-amd64-signed (1.202.5+2.12-1ubuntu7.3) ...
mount: /var/lib/grub/esp: special device /dev/disk/by-id/ata-VBOX_HARDDISK_VBad170837-5acc172c-part2 does not exist.
      dmesg(1) may have more information after failed mount system call.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
Setting up thunderbird (1:128.11.0+build1-0ubuntu0.24.04.1~mt1) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for libc-bin (2.39-0ubuntu8.4) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for libglib2.0-0t64:amd64 (2.80.0-6ubuntu3.4) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Errors were encountered while processing:
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)


RE: update failure Linux 7.4 - grub install status 32 - stevef - 05-27-2025

Looks like a problem with grub unable find the EFI partition on a virtual machine installation.

What changed between the last successful update and the start of the problem ?
Anything related to the disks and or VM may be significant.

Other forum users who operate VM may be in a better position to help.


RE: update failure Linux 7.4 - grub install code 32 - Valtam - 05-27-2025

https://chatgpt.com/share/683553b7-303c-8012-ab94-7ebc541de3ce


RE: update failure Linux 7.4 - grub install code 32 - stevef - 05-27-2025

@hellphy

If your system is not a VM, can you confirm if it is BIOS or UEFI please.
The most reliable check is to open a terminal and run this command.
Code:
efibootmgr

Please post back.

Using an old BIOS laptop running LL7.4 (not a VM), I was able to reproduce the problem and get the same exit status 32 error.

Code:
Setting up grub-efi-amd64-signed (1.202.5+2.12-1ubuntu7.3) ...
mount: /var/lib/grub/esp: special device /dev/disk/by-id/ata-VBOX_HARDDISK_VBad170837-5acc172c-part2 does not exist.
       dmesg(1) may have more information after failed mount system call.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32

The inference is that the grub-efi package is running on a BIOS system which just seems wrong to me.


RE: update failure Linux 7.4 - grub install code 32 - trinidad - 05-27-2025

I had the same issue with a qemu vm, though I didn't check to see why the script failed. Just ran it in synaptic after the failure and it completed ok. Made me think it was a labeling error in the updater, i/e script looking for a specific partitioning scheme that was/wasn't there or it had no pre/post mounting instruction included. Fine now. 
Thinking about it a little more the script may need a reboot to complete anyway and is reporting an error that's not actually there.

TC


RE: update failure Linux 7.4 - grub install code 32 - hellphy - 05-27-2025

(05-27-2025, 09:32 AM)stevef Wrote: @hellphy

If your system is not a VM, can you confirm if it is BIOS or UEFI please.
The most reliable check is to open a terminal and run this command.
Code:
efibootmgr

Please post back.

Using an old BIOS laptop running LL7.4 (not a VM), I was able to reproduce the problem and get the same exit status 32 error.

Code:
Setting up grub-efi-amd64-signed (1.202.5+2.12-1ubuntu7.3) ...
mount: /var/lib/grub/esp: special device /dev/disk/by-id/ata-VBOX_HARDDISK_VBad170837-5acc172c-part2 does not exist.
       dmesg(1) may have more information after failed mount system call.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32

The inference is that the grub-efi package is running on a BIOS system which just seems wrong to me.

there is a lot here for some reason, iam not running a partition or VM i installed linuxlite fully on the one disk this laptop has but it seems UEFI

BootCurrent: 000A
Timeout: 0 seconds
BootOrder: 001B,0006,0007,0008,0009,000A,000B,000D,000E,000F,0010,0011,0012,0013,000C
Boot0000  Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0001  Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0002  Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0003  Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0004  ME Configuration Menu FvFile(82988420-7467-4490-9059-feb448dd1963)
Boot0005  Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0006  USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0007  USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0008  ATAPI CD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35401)
Boot0009  ATA HDD2 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f602)
Boot000A* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot000B  ATA HDD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot000C* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot000D  PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot000E  ATAPI CD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35403)
Boot000F  ATAPI CD2 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35404)
Boot0010  Other CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35406)
Boot0011  ATA HDD3 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f603)
Boot0012  ATA HDD4 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f604)
Boot0013  Other HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f606)
Boot0014* IDER BOOT CDROM PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,1,0)
Boot0015* IDER BOOT Floppy PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)
Boot0016* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0017* ATAPI CD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Boot0018* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot0019* Ubuntu HD(2,GPT,a786ef2b-fcee-48f0-af47-a919a4dd64a4,0x1000,0x100800)/File(\EFI\ubuntu\shimx64.efi)
Boot001A* MX Linux HD(1,GPT,9bdd06e1-0748-4baf-9ef4-3ecda16d62cd,0x800,0x80000)/File(\EFI\MX\grubx64.efi)
Boot001B* Ubuntu HD(2,GPT,931d95fd-612f-4911-85d6-1f94431b182d,0x1000,0x100800)/File(\EFI\ubuntu\shimx64.efi)


RE: update failure Linux 7.4 - grub install code 32 - stevef - 05-27-2025

As you have a UEFI system, processing grub-efi-amd64-signed makes some sense.
You are correct there are a lot of entries.

I got side tracked with the same error on a BIOS system which appeared to clear on subsequent updates/upgrades.
I've not been able to work why it happened on that system and I cannot reproduce it at the moment.

As neither system is a VM, it is hard to understand why we both had identical references to mounting a non-existent device with the same 'by-id' reference of
ata-VBOX_HARDDISK_VBad170837-5acc172c-part2

The page that Jerry suggested implies the need to replace the ata-VBOX_HARDDISK_* reference in some way, but I may be missing something there.

I'm sorry but at the moment, I have no safe suggestions to get updates working on your system. If (and only if) this is a new installation with nothing of value on it, you could try erasing and re-installing. That's what I'm going to try on my BIOS machine to see if I reproduce it again.


RE: update failure Linux 7.4 - grub install code 32 - wilbert - 05-28-2025

I have the exact same problem. But on a VMWare Workstation VM. 
So:
Code:
Setting up grub-efi-amd64-signed (1.202.5+2.12-1ubuntu7.3) ...
mount: /var/lib/grub/esp: special device /dev/disk/by-id/ata-VBOX_HARDDISK_VBad170837-5acc172c-part2 does not exist.


I' ve done several fresh installs with Linux Lite 7.4. with BIOS and UEFI, both the same behaviour.
There are more recent issues with the same file on other distros.


https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/2111367

https://forums.linuxmint.com/viewtopic.php?t=446653 

I have tried some possible solutions but unfortunately this did not solve the problem. I will continue to search for a solution. I can upload my error log if that helps?

This seems to help. I did not receive an error anymore.
Found on: https://askubuntu.com/questions/1276111/error-upgrading-grub-efi-amd64-signed-special-device-old-ssd-does-not-exist

Code:
sudo rm /var/cache/debconf/config.dat
sudo dpkg --configure -a

I got the following message. 

Trying to migrate /boot/efi into esp config
Installing grub to /boot/efi.
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.


RE: update failure Linux 7.4 - grub install code 32 - stevef - 05-29-2025

I *think* the grub configuration script does something unexpected and as a result lite-updates script throws an odd error indicating the update/upgrade failed, but the update *probably* worked regardless.

More detail for anyone interested
Here is what I *think* is happening on my test system at least.  It is along the lines of trinidad's post.

This is using an old machine with BIOS, using protective MBR so that GPT can co-exist. Installed from 7.4 iso and attempting all the updates post installation.

Part of the upgrade requires the set up of grub-efi-amd64-signed.  During the configuration of this package, it appears the location of the GRUB boot loader can't be found.  As a result, the grub package configuration script requires user intervention to manually confirm where it should be.

I'm not competent to confirm, but my guess is that the lite-updates package is not equipped to handle this situation and the outcome is an apparent update/upgrade failure with the odd message about "ata-VBOX_HARDDISK_VBad170837-5acc172c-part2 does not exist".  My testing indicates that the update/upgrade initiated by lite-updates did in fact work despite the error message.

If update/upgrade is done from the cli, it appears the grub-efi-amd64-signed configuration script opens a text based configuration tool similar in style to something like nmtui, in which the user is expected to select and confirm the location of the grub install.  If the confirmation is done in this tool the upgrade continues albeit complaining not being able to set EFI variables - this may be a quirk of the system I'm using (BIOS).


RE: update failure Linux 7.4 - grub install code 32 - Und3rF0x - 05-29-2025

i think the update does go through because after doing it and it giving failure i cant restart the update when i right click the update icon "install updates" is grayed out, and if i run the linux lite "install updates" executable it tells me its up to date so either its lying or it went through and just giving error message anyway