Bug 34270 - dpkg-deb not support zst compressed data
Summary: dpkg-deb not support zst compressed data
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks: 28607
  Show dependency treegraph
 
Reported: 2025-05-13 04:12 CEST by katnatek
Modified: 2025-05-14 21:09 CEST (History)
2 users (show)

See Also:
Source RPM: dpkg-1.21.9-1.mga9
CVE:
Status comment:


Attachments

Description katnatek 2025-05-13 04:12:06 CEST
Description of problem:

As part of investigation to fix bug#28607 I find that curremt version of alien
can't convert deb files with control and data files compressed with zstd

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


How reproducible:


Steps to Reproduce:
1. install dpkg
2. download deb from https://github.com/arduino/lab-micropython-package-installer/releases/
3. run  LC_ALL=C dpkg-deb --info 'micropython-package-installer_1.0.1_Linux.deb' control
4. See this message
dpkg-deb: error: archive 'micropython-package-installer_1.0.1_Linux.deb' uses unknown compression for member 'control.tar.zst', giving up
katnatek 2025-05-13 05:15:57 CEST

Blocks: (none) => 28607

katnatek 2025-05-13 06:07:32 CEST

Assignee: bugsquad => j.alberto.vc

katnatek 2025-05-13 07:25:59 CEST

Assignee: j.alberto.vc => qa-bugs

Comment 1 katnatek 2025-05-13 07:31:35 CEST
RPMS:
dpkg-1.22.11-1.mga9
dpkg-dev-1.22.11-1.mga9
dpkg-devel-1.22.11-1.mga9
dselect-1.22.11-1.mga9
perl-Dpkg-1.22.11-1.mga9

SRPM:
dpkg-1.22.11-1.mga9
Comment 2 katnatek 2025-05-13 19:01:55 CEST
RH x86_64

rpm -q dpkg
dpkg-1.21.9-1.mga9

LC_ALL=C dpkg-deb --info 'micropython-package-installer_1.0.1_Linux.deb' control
dpkg-deb: error: archive 'micropython-package-installer_1.0.1_Linux.deb' uses unknown compression for member 'control.tar.zst', giving up


Updating with package from bug#28607

installing //home/katnatek/qa-testing/x86_64/dpkg-1.22.11-1.mga9.x86_64.rpm                                                         
/var/cache/urpmi/rpms/perl-File-StripNondeterminism-1.1.2-3.mga9.noarch.rpm
//home/katnatek/qa-testing/x86_64/alien-8.95.8-1.1.mga9.noarch.rpm
/var/cache/urpmi/rpms/dh-strip-nondeterminism-1.1.2-3.mga9.noarch.rpm
//home/katnatek/qa-testing/x86_64/dpkg-dev-1.22.11-1.mga9.x86_64.rpm
/var/cache/urpmi/rpms/perl-Archive-Zip-1.680.0-2.mga9.noarch.rpm
//home/katnatek/qa-testing/x86_64/perl-Dpkg-1.22.11-1.mga9.noarch.rpm
Preparing...                     ##################################################################################################
      1/7: perl-Dpkg             ##################################################################################################
      2/7: dpkg                  ##################################################################################################
      3/7: dpkg-dev              ##################################################################################################
      4/7: perl-Archive-Zip      ##################################################################################################
      5/7: perl-File-StripNondeterminism
                                 ##################################################################################################
      6/7: dh-strip-nondeterminism
                                 ##################################################################################################
      7/7: alien                 ##################################################################################################
      1/4: removing alien-8.95.6-1.mga9.noarch
                                 ##################################################################################################
      2/4: removing dpkg-dev-1.21.9-1.mga9.x86_64
                                 ##################################################################################################
      3/4: removing perl-Dpkg-1.21.9-1.mga9.noarch
                                 ##################################################################################################
      4/4: removing dpkg-1.21.9-1.mga9.x86_64
                                 ##################################################################################################

 LC_ALL=C dpkg-deb --info 'micropython-package-installer_1.0.1_Linux.deb' control
Package: micropython-package-installer
Version: 1.0.1
Section: utils
Priority: optional
Architecture: amd64
Depends: libgtk-3-0, libnotify4, libnss3, libxtst6, xdg-utils, libatspi2.0-0, libdrm2, libgbm1, libxcb-dri3-0, kde-cli-tools | kde-runtime | trash-cli | libglib2.0-bin | gvfs-bin
Recommends: pulseaudio | libasound2
Suggests: gir1.2-gnomekeyring-1.0, libgnome-keyring0, lsb-release
Installed-Size: 290880
Maintainer: Sebastian Romero <s.romero@arduino.cc>
Homepage: https://github.com/sebromero
Description: A tool to install MicroPython packages onto supported Arduino boards.
 A tool to install MicroPython packages onto supported Arduino boards.

Aditional test from bug#30481

dpkg -c bash_5.2.15-2+b7_amd64.deb 
drwxr-xr-x root/root         0 2024-03-29 13:40 ./
drwxr-xr-x root/root         0 2024-03-29 13:40 ./bin/
-rwxr-xr-x root/root   1265648 2024-03-29 13:40 ./bin/bash
drwxr-xr-x root/root         0 2024-03-29 13:40 ./etc/
-rw-r--r-- root/root      1994 2024-03-29 13:40 ./etc/bash.bashrc
drwxr-xr-x root/root         0 2024-03-29 13:40 ./etc/skel/
-rw-r--r-- root/root       220 2024-03-29 13:40 ./etc/skel/.bash_logout
-rw-r--r-- root/root      3526 2024-03-29 13:40 ./etc/skel/.bashrc
-rw-r--r-- root/root       807 2024-03-29 13:40 ./etc/skel/.profile
drwxr-xr-x root/root         0 2024-03-29 13:40 ./usr/
drwxr-xr-x root/root         0 2024-03-29 13:40 ./usr/bin/
-rwxr-xr-x root/root      6865 2024-03-29 13:40 ./usr/bin/bashbug
-rwxr-xr-x root/root     14488 2024-03-29 13:40 ./usr/bin/clear_console
And more

mkdir deb-bash
dpkg -x bash_5.2.15-2+b7_amd64.deb deb-bash/
I see in dev-bash/ the content of the deb file
Remove the folders in deb-bash and reuse with micropython
dpkg -x micropython-package-installer_1.0.1_Linux.deb deb-bash/

Works for me

CC: (none) => andrewsfarm
Whiteboard: (none) => MGA9-64-OK

Comment 3 Thomas Andrews 2025-05-14 00:27:48 CEST
Validating.

CC: (none) => sysadmin-bugs
Keywords: (none) => validated_update

katnatek 2025-05-14 01:03:06 CEST

Keywords: (none) => advisory

Comment 4 Mageia Robot 2025-05-14 21:09:35 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2025-0049.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.