libzvbi0 : Depends: libzvbi-common (= 0.2.42-1.1) but 0.2.42-1.2 is to be installed

Bug #2059986 reported by Roman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ffmpeg (Ubuntu)
Fix Released
Undecided
Unassigned
zvbi (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

libzvbi0 cannot be installed on Noble because of version mismatch between libzvbi0 and libzvbi-common, libzvbi0 did not get updated version.

Noticed this when did not manage to install wireshark because it depends on qt6, which depends on ffmpeg libs, which depend on libzvbi, which is broken https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/2059985

CVE References

Roman (vient1)
description: updated
description: updated
Revision history for this message
Juozas Pocius (juozaspo) wrote (last edit ):
Download full text (3.5 KiB)

This is caused by changes related to recent cve of xz backdoor and the repositories might be broken as of now where the most of packages are being rebuilt againt a clean package or something like that. More information can be found at page https://ubuntu.com/security/CVE-2024-3094

Meanwhile you can add a pinning override to your apt config by creating a file in /etc/apt/preferences.d/ where pinning over 1000 would allow packages to "downgrade" to version from archive that should include newer/rebuilt/clean/etc packages as in 'noble' archive might be newer than 'noble-updates' and also incompatible as you have encountered.

After override described below apt 'apt-cache policy' output for affected packages should be like below, notice proper candidate is selected after adding pinning changes:

$ apt-cache policy libzvbi0 libzvbi-common
libzvbi0:
  Installed: (none)
  Candidate: 0.2.42-1.1
  Version table:
     0.2.42-1.1 1002
       1002 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages
libzvbi-common:
  Installed: (none)
  Candidate: 0.2.42-1.1
  Version table:
     0.2.42-1.2 1001
       1001 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
     0.2.42-1.1 1002
       1001 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
       1002 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages

Also notice package version from 'noble' archive is newer but with pinning changes older is preferred, as I found out by testing it in my 'noble' chroot

Override file should be similar to below (notice 'noble-updates' priority higher than 'noble'), run 'apt-get clean', 'apt-get update', 'apt-get upgrade' and 'apt-get dist-upgrade' after creating such file, don't forget to backup things what you need if you have anything important:

Package: *
Pin: release a=noble-updates
Pin-Priority: 1002

Package: *
Pin: release a=noble
Pin-Priority: 1001

After changes 'apt-cache policy' output should be similar to this:

Package files:
 100 /var/lib/dpkg/status
     release a=now
1002 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages
     release v=24.04,o=Ubuntu,a=noble-updates,n=noble,l=Ubuntu,c=multiverse,b=amd64
     origin archive.ubuntu.com
1002 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages
     release v=24.04,o=Ubuntu,a=noble-updates,n=noble,l=Ubuntu,c=universe,b=amd64
     origin archive.ubuntu.com
1002 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages
     release v=24.04,o=Ubuntu,a=noble-updates,n=noble,l=Ubuntu,c=restricted,b=amd64
     origin archive.ubuntu.com
1002 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
     release v=24.04,o=Ubuntu,a=noble-updates,n=noble,l=Ubuntu,c=main,b=amd64
     origin archive.ubuntu.com
1001 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages
     release v=24.04,o=Ubuntu,a=noble,n=noble,l=Ubuntu,c=multiverse,b=amd64
     origin archive.ubuntu.com
1001 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
     release v=24.04,o=Ubuntu,a=noble,n=noble,l=Ubuntu,c=universe,b=amd64
     origin archive.ubuntu.com
1001 http://archive.ubuntu.com/ubuntu nob...

Read more...

Revision history for this message
Roman (vient1) wrote (last edit ):

Guess it can be closed since libzvbi0t64 was released, wireshark installs fine now even though libzvbi0 can't be installed.

Changed in ffmpeg (Ubuntu):
status: New → Fix Released
Changed in zvbi (Ubuntu):
status: New → Fix Released
Revision history for this message
Juozas Pocius (juozaspo) wrote :

I guess you're right, also the apt repositories appears to work again, as most of packages and dependencies would install w/o extra changes in apt config. If you added an apt override you can safely remove it as most of software can be installed w/o it, also bootstrapping this release using debootstrap is no longer broken, before it would not even bootstrap a minbase variant as the apt deb could not be downloaded.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.