[Bug 2055294] Re: /usr/lib/grub/grub-multi-install fails on noble-daily
Thiago Martins
2055294 at bugs.launchpad.net
Tue Mar 5 11:43:54 UTC 2024
Hi! I was `do-release-upgrade -d` an Ubuntu 22.04 to Ubuntu 24.04 to
test and got bitten by this bug too! lol
The command `/usr/lib/grub/grub-multi-install --target=x86_64-efi`
returns 10, causing `dpkg --configure grub-efi-amd64-signed` to fail.
--
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/2055294
Title:
/usr/lib/grub/grub-multi-install fails on noble-daily
Status in subiquity:
Invalid
Status in grub2 package in Ubuntu:
Fix Committed
Bug description:
I am using subiquity to install the current noble daily ISO (server).
Subiquity failed the step called "installing grub to target devices"
and the logs show that /usr/lib/grub/grub-multi-install failed
silently with exit status 10.
When running the script with `set -x`, we see the following, which
seem to indicate that the absence of a debconf selection variable is
causing trouble:
+ set -e
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /usr/lib/grub/grub-multi-install
+ set -e
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
++ dpkg-query --control-path grub-common templates
+ db_x_loadtemplatefile /var/lib/dpkg/info/grub-common.templates grub-common
+ _db_cmd 'X_LOADTEMPLATEFILE /var/lib/dpkg/info/grub-common.templates' grub-common
+ _db_internal_IFS='
'
+ IFS=' '
+ printf '%s\n' 'X_LOADTEMPLATEFILE /var/lib/dpkg/info/grub-common.templates grub-common'
+ IFS='
'
+ read -r _db_internal_line
+ IFS='
'
+ RET=0
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ cached_available_ids=
+ db_get grub-efi/cloud_style_installation
+ _db_cmd 'GET grub-efi/cloud_style_installation'
+ _db_internal_IFS='
'
+ IFS=' '
+ printf '%s\n' 'GET grub-efi/cloud_style_installation'
+ IFS='
'
+ read -r _db_internal_line
+ IFS='
'
+ RET='10 grub-efi/cloud_style_installation doesn'\''t exist'
+ case ${_db_internal_line%%[ ]*} in
+ return 10
To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/2055294/+subscriptions
More information about the foundations-bugs
mailing list