Public bug reported: It looks like libvirt-dev package "Depends:" line needs an update after the libvirt0 package update from focal-updates:
$ sudo apt-get install libvirt-dev Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libvirt-dev : Depends: libvirt0 (= 6.0.0-0ubuntu8.3) but 6.0.0-0ubuntu8.15 is to be installed E: Unable to correct problems, you have held broken packages. Trying to upgrade packages does not currently work due to the "Depends: =6.0.0-0ubuntu8.3" version lock on libvirt-dev package: $ sudo apt-get update -qq $ sudo apt-get upgrade libvirt-dev libvirt0 libxen-dev Reading package lists... Done Building dependency tree Reading state information... Done libvirt0 is already the newest version (6.0.0-0ubuntu8.15). libvirt0 set to manually installed. Calculating upgrade... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libvirt-dev : Depends: libvirt0 (= 6.0.0-0ubuntu8.3) but 6.0.0-0ubuntu8.15 is to be installed E: Broken packages $ sudo apt-cache policy libvirt-dev libvirt0 libxen-dev libvirt-dev: Installed: (none) Candidate: 6.0.0-0ubuntu8.3 Version table: 6.0.0-0ubuntu8.3 500 500 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages 6.0.0-0ubuntu8 500 500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages libvirt0: Installed: 6.0.0-0ubuntu8.15 Candidate: 6.0.0-0ubuntu8.15 Version table: *** 6.0.0-0ubuntu8.15 500 500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages 100 /var/lib/dpkg/status 6.0.0-0ubuntu8.3 500 500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages 6.0.0-0ubuntu8 500 500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages libxen-dev: Installed: (none) Candidate: 4.11.3+24-g14b62ab3e5-1ubuntu2 Version table: 4.11.3+24-g14b62ab3e5-1ubuntu2 500 500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages Maintainers: Please update libvirt-dev headers package to match the current version of libvirt0: 6.0.0-0ubuntu8.15 $ dpkg -l libvirt0 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-=================-============-============================================================= ii libvirt0:amd64 6.0.0-0ubuntu8.15 amd64 library for interfacing with different virtualization systems Cheers! ** Affects: libvirt (Ubuntu) Importance: Undecided Status: New ** Tags: focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1956169 Title: Cannot install libvirt-dev on Ubuntu 20.04 / focal Dependency conflict - needs repackage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1956169/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs