freesh-archive-keyring_1.1 breaks apt update in Debian 12
retrovirus-007 at juno.com
retrovirus-007 at juno.com
Sat Dec 20 22:54:31 UTC 2025
Hello Linux-libre kernel team,
I was trying to upgrade freesh-archive-keyring_1.2_all.deb, but ran to error message.
dpkg-deb: error: archive '/var/cache/apt/archives/freesh-archive-keyring_1.2_all.deb' uses unknown compression for member 'control.tar.zst', giving up
Same results goes for a local .deb file download/installation from directory path.
Had to install zstd, which isn't automated for the dpkg installer yet. Guess that certain GNU/Linux OS repositories might need catching up to do. Do you know which OS have the recently updated dpkg/installer with zstd packaging capabilities?
Below links show the instructions to repackage incompatible archive package files.
Maybe we should let others know about this change?
https://unix.stackexchange.com/questions/669004/zst-compression-not-supported-by-apt-dpkg
https://web.archive.org/web/20241006170858/https://unix.stackexchange.com/questions/669004/zst-compression-not-supported-by-apt-dpkg
https://unix.stackexchange.com/questions/669004/zst-compression-not-supported-by-apt-dpkg/745467#745467
https://web.archive.org/web/20240307003436/https://unix.stackexchange.com/questions/669004/zst-compression-not-supported-by-apt-dpkg/745467#745467
v instructions v
apt-get install zstd
# Extract files from the archive
ar x some-package.deb
# Uncompress zstd files an re-compress them using xz
zstd -d < control.tar.zst | xz > control.tar.xz
zstd -d < data.tar.zst | xz > data.tar.xz
# Re-create the Debian package in /tmp/
ar -m -c -a sdsd /tmp/some-package.deb debian-binary control.tar.xz data.tar.xz
# Clean up
rm debian-binary control.tar.xz data.tar.xz control.tar.zst data.tar.zst
apt-get install /tmp/some-package.deb
^ instructions ^
--
Sincerely,
retrovirus-007 at juno.com
More information about the linux-libre
mailing list