[canary] fails to install on BIOS system: dpkg-query: package 'grub-pc' is not installed

Bug #2033496 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curtin
Fix Released
Undecided
Unassigned
ubuntu-desktop-installer
Fix Released
Critical
Unassigned
livecd-rootfs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Canary Mantic 20230830

Installation in VM, BIOS, with network

Installation fails with
```
      curtin.util.ProcessExecutionError: Unexpected error while running command.
        Command: ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-reconfigure', 'grub-pc']
        Exit code: 1
        Reason: -
        Stdout: ''
        Stderr: dpkg-query: package 'grub-pc' is not installed and no information is available
                Use dpkg --info (= dpkg-deb --info) to examine archive files.
                /usr/sbin/dpkg-reconfigure: grub-pc is not installed
```

Installation is successful on UEFI.

Tags: fde

Related branches

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
description: updated
Changed in ubuntu-desktop-installer:
importance: Undecided → Critical
tags: added: fde
description: updated
summary: - [canary] fails to install on BIOS system
+ [canary] fails to install on BIOS system: dpkg-query: package 'grub-pc'
+ is not installed
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :
Changed in curtin:
status: New → In Progress
Dan Bungert (dbungert)
Changed in curtin:
status: In Progress → Fix Released
Revision history for this message
Dan Bungert (dbungert) wrote :

merged on curtin and subiquity

Revision history for this message
Dan Bungert (dbungert) wrote :

Injecting this into the test iso reveals problems installing grub-pc. Either grub-pc needs to be on the pool, or already in a layer.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Installation fails with latest subiquity from u-d-i 1219 in candidate and image 20230831

Revision history for this message
Dan Bungert (dbungert) wrote :

Retested with 20230831.7 iso, this is resolved.

Changed in ubuntu-desktop-installer:
status: New → Fix Released
Changed in livecd-rootfs (Ubuntu):
status: New → Fix Released
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.