Public bug reported:
After uninstalling the package ubuntu-helper-virt-hwe there is a left
over `/etc/apt/apt.conf.d/99-ubuntu-virt.conf` file.
```
DPkg::Pre-Install-Pkgs {
"/usr/bin/apt_hook_ubuntu_virt || true";
};
// apt keys DPkg::Tools::options::<key>::Version is the first word
// (up to the first space),so we can skip the "|| true" part
DPkg::Tools::options::/usr/bin/apt_hook_ubuntu_virt::Version "2";
```
It expect the script to be present, causing a not found error on apt
operations:
Fetched 87.6 kB in 1s (166 kB/s)
/bin/sh: 1: /usr/bin/apt_hook_ubuntu_virt: not found
** Affects: qemu-hwe (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2176161
Title:
99-ubuntu-virt.conf left over after package uninstall
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-hwe/+bug/2176161/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs