Bug 2112807

Summary: Enable zst compression support
Product: [Fedora] Fedora Reporter: Marcin Juszkiewicz <mjuszkie>
Component: dpkgAssignee: Sergio Basto <sergio>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: andrew, daltonminer, matt, ngompa13, robinlee.sysu, sergio, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dpkg-1.21.20-2.fc37 dpkg-1.21.20-2.el9 dpkg-1.21.20-2.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-24 04:45:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marcin Juszkiewicz 2022-08-01 08:00:27 UTC
Description of problem:

More and more Debian/Ubuntu packages are compressed using zst. Fedora dpkg is unable to unpack them:

dpkg-deb: error: archive './download/linux-image-5.15.0-33-generic_5.15.0-33.34_arm64.deb' uses unknown compression for member 'control.tar.zst', giving up

Version-Release number of selected component (if applicable):

1.21.8-3.fc36

How reproducible:

always

Steps to Reproduce:
1. wget https://launchpad.net/ubuntu/+archive/primary/+files/linux-image-5.15.0-33-generic_5.15.0-33.34_arm64.deb
2. dpkg-deb -x linux-image-5.15.0-33-generic_5.15.0-33.34_arm64.deb .
3.

Actual results:

dpkg-deb: error: archive 'linux-image-5.15.0-33-generic_5.15.0-33.34_arm64.deb' uses unknown compression for member 'control.tar.zst', giving up

Expected results:

Package gets unpacked.

Additional info:

Comment 1 Marcin Juszkiewicz 2022-08-01 08:02:29 UTC
Ok, it is Ubuntu only:

dpkg (1.21.1ubuntu1) jammy; urgency=medium

  * Merge with Debian; remaining changes:
    [..]
    - Add Zstd compression and decompression support for binary packages.

Comment 2 Sergio Basto 2022-08-04 10:13:31 UTC
we can apply the ubuntu patch ( https://patches.ubuntu.com/d/dpkg/dpkg_1.21.9ubuntu1.patch ) 
if we think it is better have it . 
opinions ? please

Comment 3 Ben Cotton 2022-08-09 13:23:29 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.

Comment 5 Fedora Update System 2023-02-17 10:19:24 UTC
FEDORA-2023-44e5069fcf has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-44e5069fcf

Comment 6 Fedora Update System 2023-02-17 10:19:45 UTC
FEDORA-2023-f1cea7ab24 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-f1cea7ab24

Comment 7 Fedora Update System 2023-02-17 10:20:12 UTC
FEDORA-EPEL-2023-5d0556ffe4 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-5d0556ffe4

Comment 8 Fedora Update System 2023-02-18 01:26:23 UTC
FEDORA-EPEL-2023-5d0556ffe4 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-5d0556ffe4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2023-02-18 02:21:22 UTC
FEDORA-2023-f1cea7ab24 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-f1cea7ab24`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-f1cea7ab24

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2023-02-18 02:37:05 UTC
FEDORA-2023-44e5069fcf has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-44e5069fcf`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-44e5069fcf

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2023-02-21 01:23:03 UTC
FEDORA-2023-44e5069fcf has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-44e5069fcf`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-44e5069fcf

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2023-02-21 01:53:24 UTC
FEDORA-EPEL-2023-5d0556ffe4 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-5d0556ffe4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2023-02-21 02:19:41 UTC
FEDORA-2023-f1cea7ab24 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-f1cea7ab24`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-f1cea7ab24

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2023-02-24 04:45:14 UTC
FEDORA-2023-44e5069fcf has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2023-03-01 02:55:34 UTC
FEDORA-EPEL-2023-5d0556ffe4 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2023-03-01 03:09:37 UTC
FEDORA-2023-f1cea7ab24 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.