[Bug 2055294] [NEW] /usr/lib/grub/grub-multi-install fails on noble-daily

Olivier Gayot 2055294 at bugs.launchpad.net
Wed Feb 28 12:43:14 UTC 2024


Public bug reported:

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

** Affects: subiquity
     Importance: Undecided
         Status: New

** Affects: grub2 (Ubuntu)
     Importance: Critical
     Assignee: Mate Kukri (mkukri)
         Status: In Progress


** Tags: foundations-todo

-- 
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:
  New
Status in grub2 package in Ubuntu:
  In Progress

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