[Bug 2055294] Re: /usr/lib/grub/grub-multi-install fails on noble-daily
Devjyoti Ghosh
2055294 at bugs.launchpad.net
Tue Mar 12 15:24:13 UTC 2024
Dear Santino,
Thank you for sharing the workaround to avoid the error related to
/usr/lib/grub/grub-multi-install on Ubuntu Noble 24.04. It's great to hear
that renaming the file ubuntu.sources to ubuntu.sources.old in the
directory "/etc/apt/sources.list.d/", followed by logging out and logging
back in, helped you successfully complete the installation.
To address the error you encountered, I recommend checking the debconf
selection variable mentioned in the error logs. It seems that the absence
of this variable might be causing the issue with
/usr/lib/grub/grub-multi-install. You may need to ensure that the necessary
debconf selection variable is set correctly before running the installation
process.
If you encounter any further difficulties or need additional assistance,
please feel free to reach out. I'm here to help you resolve any issues you
may face during the installation process.
Best regards,
Devjyoti Ghosh
On Sat, 9 Mar 2024 at 20:45, santinos09 <2055294 at bugs.launchpad.net> wrote:
> Dear Leo,
>
> i manage to install Ubuntu Noble 24.04, by using ISO image of today
> 9-3-2024.
>
> The workaround to avoid the below error is to rename the file :
>
> ubuntu.sources into ubuntu.sources.old
>
> into directory "/etc/apt/sources.list.d/
>
> then logout and login and i made installation again and it worked !!!.
>
> Now i am using , the new istallation.
>
> Rgds
>
> Santino
>
>
> -------- Messaggio Inoltrato --------
> Oggetto: Re: [Bug 2055294] Re: /usr/lib/grub/grub-multi-install
> fails
> on noble-daily
> Data: Sat, 9 Mar 2024 14:28:11 +0000
> Mittente: Santino Ruggeri <santinos09 at gmail.com>
> A: Bug 2055294 <2055294 at bugs.launchpad.net>
>
>
> image.png
> Dear Leo, sorry but the error is present also in the ISO of today 9/3.
> attached print screen
> rgds
>
>
> Il giorno sab 9 mar 2024 alle ore 08:56 Leó Kolbeinsson
> <2055294 at bugs.launchpad.net> ha scritto:
>
> Confirm this now fixed in Ubuntu Noble daily ISO dated 09-03-2024
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (2055833).
> 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 Released
>
> 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
>
>
> ** Attachment added: "image.png"
>
> https://bugs.launchpad.net/bugs/2055294/+attachment/5754303/+files/image.png
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (2055240).
> 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 Released
>
> 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
>
>
--
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 Released
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