Hi James,
I did a recheck but the repositories look fine to me here.
On a system with -release, -updates, -security pockets and a PPA I see
all of them are available.
root@f:~# apt-cache policy libvirt-dev libvirt0
libvirt-dev:
Installed: (none)
Candidate: 6.0.0-0ubuntu8.15
Version table:
6.0.0-0ubuntu8.15 500
500 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64
Packages
6.0.0-0ubuntu8.15~focalppa1 500
500 http://ppa.launchpad.net/ci-train-ppa-service/4717/ubuntu
focal/main amd64 Packages
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.15~focalppa1 500
500 http://ppa.launchpad.net/ci-train-ppa-service/4717/ubuntu
focal/main amd64 Packages
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
Important here is that these packages come from the same source package
ssrc:libvirt which eliminates some common issues here e.g. when people
have only enabled -security but something in -security depends on
something else in -updates. That is not the case in my recheck nor in
your output.
And then the packages always depend on their own version.
root@f:~# apt-cache show libvirt-dev | grep -e '^Version' -e '^Depends'
Version: 6.0.0-0ubuntu8.15
Depends: libvirt0 (= 6.0.0-0ubuntu8.15), libxen-dev
Version: 6.0.0-0ubuntu8.15~focalppa1
Depends: libvirt0 (= 6.0.0-0ubuntu8.15~focalppa1), libxen-dev
Version: 6.0.0-0ubuntu8.3
Depends: libvirt0 (= 6.0.0-0ubuntu8.3), libxen-dev
Version: 6.0.0-0ubuntu8
Depends: libvirt0 (= 6.0.0-0ubuntu8), libxen-dev
So libvirt-dev and libvirt0 come from the same build and are in the same
pockets.
So whenever you have a newer libvirt-dev you should also always have the
matching libvirt0 version.
We can see in the build log
https://launchpadlibrarian.net/570248781/buildlog_ubuntu-focal-amd64.libvirt_6.0.0-0ubuntu8.15_BUILDING.txt.gz
that both packages built fine and that the dependency there is right.
There are only two things I could think of right now:
1. something is holding back libvirt0 to an older version via a dependency
2. generally out of date or broken repository information
Your output more likely points to #2
You list:
$ sudo apt-cache policy libvirt-dev libvirt0 libxen-dev
libvirt-dev:
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:
*** 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
Seeing libvirt0 from focal-update shows that you have the -updates pocket
configured.
But the matching version of libvirt-dev would come from the very same
repository.
IMHO the real question will be why your system does not see/recognize
libvirt-dev 6.0.0-0ubuntu8.15.
I'm tempted to assume that just an "apt update" to refresh the repo data would
clean that up.
I guess you tried that already, but does the "apt-cache policy" output stay
stable and continues missing the new libvirt-dev package throughout an `apt
update`?
** Changed in: libvirt (Ubuntu)
Status: New => Incomplete
--
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs