System upgrading from Ubuntu 22.04.5 LTS to 24.04.2 LTS leaded to the same error. Now "apt upgrade" returns:
[...] Entpacken von cloud-init (25.1.4-0ubuntu0~24.04.1) über (25.1.2-0ubuntu0~24.04.1) ... cloud-init (25.1.4-0ubuntu0~24.04.1) wird eingerichtet ... linux-libc-dev:amd64 (6.8.0-71.71) wird eingerichtet ... grub-pc (2.12-1ubuntu7.3) wird eingerichtet ... i386-pc wird für Ihre Plattform installiert. mdadm: /dev/md does not appear to be an md device grub-install: Fehler: RAID_VERSION-Fehler (ioctl): Unpassender IOCTL (I/O-Control) für das Gerät. dpkg: Fehler beim Bearbeiten des Paketes grub-pc (--configure): »installiertes post-installation-Skript des Paketes grub-pc«-Unterprozess gab den Fehlerwert 1 zurück [...] Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. Adding boot menu entry for UEFI Firmware Settings ... done Fehler traten auf beim Bearbeiten von: grub-pc E: Sub-process /usr/bin/dpkg returned an error code (1) My hard disk partitions: sda 8:0 0 232,9G 0 disk ├─sda1 8:1 0 1000M 0 part │ └─md0 9:0 0 999M 0 raid1 /boot ├─sda2 8:2 0 2G 0 part [SWAP] └─sda3 8:3 0 230G 0 part └─md1 9:1 0 229,8G 0 raid1 / sdb 8:16 0 232,9G 0 disk ├─sdb1 8:17 0 1000M 0 part │ └─md0 9:0 0 999M 0 raid1 /boot ├─sdb2 8:18 0 2G 0 part [SWAP] └─sdb3 8:19 0 230G 0 part └─md1 9:1 0 229,8G 0 raid1 / Is there any workaround? Or is it appropriate to ignore the error? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2079866 Title: grub-pc configure fails during upgrade from 22.04 to 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2079866/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
