[Bug 1925265] Re: Fresh install of kinetic-preinstalled-desktop-arm64+raspi has packages to autoremove
Sam Lane
1925265 at bugs.launchpad.net
Sun Aug 28 00:20:04 UTC 2022
When creating the Ubuntu Budgie Pi image, we ran into this same issue.
The packages are removed through /usr/sbin/oem-config-remove-gtk but
leave behind these same packages. If we mount and chroot into the image,
and modify oem-config-remove-gtk and change:
def _on_transaction(trans):
apt_dialog = AptProgressDialog(trans)
...
to:
def _on_transaction(trans):
trans.set_remove_obsoleted_depends(remove_obsoleted_depends=True)
apt_dialog = AptProgressDialog(trans)
this seems to "fix" the issue. After setup, there are no packages to
autoremove. I have tested this not only on our Budgie Kinetic Pi image,
but also on the Ubuntu Kinetic RasPi Preinstalled Desktop image.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1925265
Title:
Fresh install of kinetic-preinstalled-desktop-arm64+raspi has packages
to autoremove
Status in ubiquity package in Ubuntu:
Triaged
Status in ubiquity source package in Impish:
Won't Fix
Status in ubiquity source package in Jammy:
Confirmed
Status in ubiquity source package in Kinetic:
Triaged
Bug description:
Immediately after installing hirsute-preinstalled-desktop-arm64+raspi
on a Raspberry Pi I noticed that there were packages available for
autoremoval.
bdmurray at bdmurray-desktop:~$ sudo apt autoremove
[sudo] password for bdmurray:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
cryptsetup-bin dctrl-tools dmeventd dmraid dpkg-repack efibootmgr gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common grub-efi-arm64
grub-efi-arm64-bin grub-efi-arm64-signed grub2-common kpartx kpartx-boot libdebian-installer4 libdevmapper-event1.02.1
libdmraid1.0.0.rc16 liblvm2cmd2.03 libtimezonemap-data libtimezonemap1 lvm2 os-prober python3-icu python3-pam rdate
thin-provisioning-tools
0 upgraded, 0 newly installed, 27 to remove and 0 not upgraded.
After this operation, 45.5 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
It seems to me the installation process should run an autoremove at
the end.
bdmurray at bdmurray-desktop:~$ cat /var/log/installer/version
ubiquity 21.04.19
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1925265/+subscriptions
More information about the foundations-bugs
mailing list