[Bug 1920008] Re: grub2-signed depends on grub2-common
Dimitri John Ledkov
1920008 at bugs.launchpad.net
Mon Mar 29 11:25:13 UTC 2021
On focal:
# dpkg-query -W | grep grub
grub-common 2.04-1ubuntu26.9
grub-efi-amd64 2.04-1ubuntu26.9
grub-efi-amd64-bin 2.04-1ubuntu26.9
grub-efi-amd64-signed 1.142.11+2.04-1ubuntu26.9
grub2-common 2.04-1ubuntu26.9
grub2-common from release is good enough for one grub (it is same major
series).
Hence installing onegrub doesn't need to upgrade grub2-common
# apt install grub-efi-amd64-signed
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
grub-efi-amd64 grub-efi-amd64-bin
Recommended packages:
efibootmgr secureboot-db
The following packages will be upgraded:
grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
3 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
Need to get 1256 kB of archives.
After this operation, 351 kB of additional disk space will be used.
Do you want to continue? [Y/n]
grub-mkimage -O x86_64-efi -o foo -p /boot/grub --verbose; works
and if i choose to upgrade grub-common too, it also still works.
** Tags removed: verification-needed-focal
** Tags added: verification-done-focal
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1920008
Title:
grub2-signed depends on grub2-common
Status in grub2-signed package in Ubuntu:
Fix Released
Status in grub2-signed source package in Xenial:
Fix Committed
Status in grub2-signed source package in Bionic:
Fix Committed
Status in grub2-signed source package in Focal:
Fix Committed
Status in grub2-signed source package in Groovy:
Fix Committed
Bug description:
[Impact]
* one-grub has loosed the dependencies between src:grub2-signed and
src:grub2, specifically grub2-common. However the modules in grub
modules built by src:grbu2-unsigned require a high enough version of
grub2-common with support for R_X86_64_PLT32 relocations. Generate
depends that are high enough, for older releases.
Otherwise users that have grub-efi-amd64-signed installed may get
errors upon trying to configure the package from `grub-install` unable
to handle unknown relocation.
[Test Plan]
* Disable -proposed
* Install grub-efi-amd64-signed
* Enable -proposed
* Install grub-efi-amd64-signed (again)
* Observe that not only grub-efi-amd64-signed is upgraded, but also
that new version of grub2-common are upgraded too, on bionic and
earlier series.
[Where problems could occur]
* As one-grub evolves, similar dep updates may be required in the
future again. Thus every one-grub update should be tested across all
releases prior to upload into -proposed.
[Other Info]
* This bug also reported at https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1917509
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1920008/+subscriptions
More information about the foundations-bugs
mailing list