grub-pc configure fails during upgrade from 22.04 to 24.04

Bug #2079866 reported by Marc Rijken
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

During upgrade to 24.04 and afterwards when executing "apt upgrade" I get the following error:

Setting up grub-pc (2.12-1ubuntu7) ...
Installing for i386-pc platform.
mdadm: /dev/md does not appear to be an md device
grub-install: error: ioctl RAID_VERSION error: Inappropriate ioctl for device.
dpkg: error processing package grub-pc (--configure):
 installed grub-pc package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)

The system does function normally, but I can not finish the upgrade.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: grub-pc 2.12-1ubuntu7
ProcVersionSignature: User Name 6.8.0-41.41-generic 6.8.12
Uname: Linux 6.8.0-41-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudBuildName: server
CloudID: configdrive
CloudName: configdrive
CloudPlatform: configdrive
CloudSerial: 20221104
CloudSubPlatform: config-disk (/dev/sda5)
Date: Fri Sep 6 21:28:09 2024
ProcEnviron:
 LANG=C.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm
 XDG_RUNTIME_DIR=<set>
SourcePackage: grub2
UpgradeStatus: Upgraded to noble on 2024-08-30 (8 days ago)
mtime.conffile..etc.init.d.apport: 2024-07-22T14:59:07

Revision history for this message
Marc Rijken (mrijken) wrote :
summary: - grub-pc configure fails during upgrade van 22.04 to 24.04
+ grub-pc configure fails during upgrade from 22.04 to 24.04
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.