Missing depends on python3-apt in grub-common
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
New
|
Undecided
|
Unassigned | ||
grub2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
/usr/lib/
This doesn't make update-grub fail, but has the nasty side-effect of failing to generate kernel/initrd menu entries.
Reproducing (in a fresh minimal VM):
# apt-get remove python3-apt # unless you happen to have an image which already hasn't it.
# update-grub
root@tstn:~# update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Generating grub configuration file ...
Traceback (most recent call last):
File "/usr/lib/
import apt_pkg
ModuleNotFoundE
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_
Adding boot menu entry for UEFI Firmware Settings ...
done
# grep vmlinuz /boot/grub/grub.cfg
EOF
Expected:
# update-grub
# grep /boot/grub/grub.cfg
linux /vmlinuz-
no longer affects: | grub (Ubuntu) |
Changed in grub2 (Ubuntu): | |
status: | New → Confirmed |
Status changed to 'Confirmed' because the bug affects multiple users.