[Bug 2079866] Re: grub-pc configure fails during upgrade from 22.04 to 24.04

Marc Rijken 2079866 at bugs.launchpad.net
Tue Sep 10 12:51:14 UTC 2024


Sure, That gives the next output:
```

(base) ubuntu at server2:~$ sudo debconf-show grub-pc
  grub-efi/install_devices_failed: false
* grub2/update_nvram: false
  grub-efi/partition_description:
  grub-efi/install_devices:
  grub-efi/install_devices_empty: false
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/timeout: 0
  grub2/linux_cmdline: nomodeset iommu=pt
  grub2/unsigned_kernels_title:
  grub2/unsigned_kernels:
  grub-pc/install_devices_empty: false
  grub-pc/disk_description:
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/partition_description:
  grub2/kfreebsd_cmdline:
  grub2/linux_cmdline_default:
* grub-efi/cloud_style_installation: true
  grub2/kfreebsd_cmdline_default: quiet splash
* grub-pc/install_devices: /dev/disk/by-id/ata-HGST_HUS724020ALA640_PN2134P6HWDG2X, /dev/disk/by-id/ata-HGST_HUS724020ALA640_PN2134P6JN66YP, /dev/disk/by-id/ata-HGST_HUS726020ALA610_K5J1YSTA
  grub-pc/install_devices_disks_changed:
  grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
  grub-pc/hidden_timeout: true
  grub2/enable_os_prober: false
* grub-pc/cloud_style_installation: true
  grub2/no_efi_extra_removable: false
  grub-pc/mixed_legacy_and_grub2: true
  grub-efi/install_devices_disks_changed:
  grub-pc/install_devices_failed: false

```

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/2079866

Title:
  grub-pc configure fails during upgrade from 22.04 to 24.04

Status in grub2 package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2079866/+subscriptions




More information about the foundations-bugs mailing list