** Description changed: Package: ubuntu-helper-virt-hwe Version: 1:10.2.1+ds-1ubuntu4 - The package ubuntu-helper-virt-hwe install a hook to Apt + The package ubuntu-helper-virt-hwe installs a hook to Apt (/etc/apt/apt.conf.d/99-ubuntu-virt.conf) which is not properly removed when this package is removed. The workaround is to either immediately purge the package while it is still installed or to manually remove the Apt hook. Removing and then purging does not work. Steps to reproduce: sudo apt install ubuntu-helper-virt-hwe sudo apt remove ubuntu-helper-virt-hwe sudo apt install hello Output: ... Error: Sub-process /usr/bin/apt_hook_ubuntu_virt returned an error code (127) Error: Failure running script /usr/bin/apt_hook_ubuntu_virt Workaround 1: sudo rm /etc/apt/apt.conf.d/99-ubuntu-virt.conf sudo apt purge ubuntu-helper-virt-hwe sudo apt install hello Workaround 2: sudo apt install ubuntu-helper-virt-hwe sudo apt purge ubuntu-helper-virt-hwe sudo apt install hello
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2155665 Title: Removing package ubuntu-helper-virt-hwe breaks Apt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2155665/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
