Re: what archive support packages are required to be installed in an rpm distro for mc to navigate .debs as it can with .rpms?

mi via mc <[email protected]> Tue, 13 Feb 2024 07:06:10 +0100
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <[email protected]>
> Yes, Ubuntu-22 does have a modern version of tar, but if I understood the original poster correctly,
> the idea was to be able to browse .deb packages (originating from Ubuntu) on an openSUSE machine.
> And if so, it's the tar version installed on openSUSE that would matter here...

I can browse debs on Debian trixie/sid ('testing') but they do not seem to be (yet) zstd, they have 

old xz. 

# file cpp-12_12.3.0-14_amd64.deb 
cpp-12_12.3.0-14_amd64.deb: Debian binary package (format 2.0), with control.tar.xz , data compression xz

# tar --version
tar (GNU tar) 1.35

So what does 'file' say in the other distros ?

For what it's worth, here are installed


ii  libxz-java     1.9-1        all          Java library with a complete implementation of XZ data compression
ii  xz-utils       5.4.5-0.3    amd64        XZ-format compression utilities

ii  libzstd1:amd64 1.5.5+dfsg2-2 amd64        fast lossless compression algorithm
ii  zstd           1.5.5+dfsg2-2 amd64        fast lossless compression algorithm -- CLI tool




> 
> 
> ________________________________
> From: solarflow99 <[email protected]>
> Sent: Tuesday, February 13, 2024 02:57
> To: List for Midnight Commander users <[email protected]>
> Cc: Erdmut Pfeifer <[email protected]>
> Subject: Re: [mc] what archive support packages are required to be installed in an rpm distro for mc to navigate .debs as it can with .rpms?
> 
> Caution: External email. Do not open attachments or click links, unless this email comes from a known sender and you know the content is safe.
> 
> ubuntu 22 is new enough you should have this feature already:
> 
> 
> # grep -w VERSION /etc/os-release
> VERSION="22.04.1 LTS (Jammy Jellyfish)"
> 
> # tar --help | grep zstd
>       --zstd                 filter the archive through zstd
> 
> # tar --version
> tar (GNU tar) 1.34
> 
> 
> 
> On Mon, Feb 12, 2024 at 4:01 AM Erdmut Pfeifer via mc <[email protected]<mailto:[email protected]>> wrote:
> Does your version of tar (which is being called under the hood) support the zstd format?
> I think support for it was added in tar-1.31 - maybe openSUSE has on older version.
> 
>   $ tar --help | grep zstd
>       --zstd                 filter the archive through zstd
> 
> In case you can't or don't want to upgrade to a more recent version for whatever reason, you might
> try fiddling with tar's --use-compress-program option, e.g. by writing a wrapper which adds
> --use-compress-program=zstd to the list of args tar is being called with if the tarball's name ends
> in .tar.zst (and making sure the wrapper is being found before the regular tar program...)
> 
> ________________________________
> From: Erdmut Pfeifer <[email protected]<mailto:[email protected]>>
> Sent: Monday, February 12, 2024 12:44
> To: List for Midnight Commander users <[email protected]<mailto:[email protected]>>
> Subject: Re: [mc] what archive support packages are required to be installed in an rpm distro for mc to navigate .debs as it can with .rpms?
> 
> Does your version of tar (which is being called under the hood) support the zstd format?
> I think support for it was added in tar-1.31 - maybe openSUSE has on older version.
> 
>   $ tar --help | grep zstd
>       --zstd                 filter the archive through zstd
> 
> In case you can't or don't want to upgrade to a more recent version for whatever reason, you might
> try fiddling with tar's --use-compress-program option, e.g. by writing a wrapper which adds
> --use-compress-program=zstd to the list of args tar is being called with if the tarball's name ends
> in .tar.zst (and making sure the wrapper is being found before the regular tar program...)
> 
> ________________________________
> From: mc <[email protected]<mailto:[email protected]>> on behalf of Felix Miata via mc <[email protected]<mailto:[email protected]>>
> Sent: Monday, February 12, 2024 09:15
> To: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>>
> Cc: Felix Miata <[email protected]<mailto:[email protected]>>
> Subject: [mc] what archive support packages are required to be installed in an rpm distro for mc to navigate .debs as it can with .rpms?
> 
> What archive support packages are required to be installed in an rpm distro for mc
> to navigate (ubuntu 22.04) .debs as it can with .rpms? My Google-fu isn't doing
> very well with this. As it stands, trying to navigate with mc produces:
> 
>         ...deb' uses unknown compression for member 'control.tar.zst', giving up
> 
> Installed here in openSUSE:
> # zypper se -si arc zip zstd dpkg apt zma xz | grep 6_6
> i+ | bzip2          | package | 1.0.8-150400.1.122    | x86_64 | OSS
> i+ | dpkg           | package | 1.19.0.4-150000.4.4.1 | x86_64 | OSS
> i  | gzip           | package | 1.10-150200.10.1      | x86_64 | OSS
> i  | libarchive13   | package | 3.5.1-150400.3.12.1   | x86_64 | OSS
> i  | libKF5Archive5 | package | 5.103.0-150500.1.3    | x86_64 | OSS
> i  | liblzma5       | package | 5.2.3-150000.4.7.1    | x86_64 | OSS
> i+ | libzip-tools   | package | 1.8.0-150400.1.7      | x86_64 | OSS
> i  | libzip5        | package | 1.8.0-150400.1.7      | x86_64 | OSS
> i  | libzstd1       | package | 1.5.0-150400.3.3.1    | x86_64 | OSS
> i  | unzip          | package | 6.00-150000.4.11.1    | x86_64 | OSS
> i  | xz             | package | 5.2.3-150000.4.7.1    | x86_64 | OSS
> i+ | zip            | package | 3.0-2.22              | x86_64 | OSS
> i  | zstd           | package | 1.5.0-150400.3.3.1    | x86_64 | OSS
> #
> What else is needed?
> --
> Evolution as taught in public schools is, like religion,
>         based on faith, not based on science.
> 
>  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
> 
> Felix Miata
> --
> mc mailing list
> [email protected]<mailto:[email protected]>
> https://lists.midnight-commander.org/mailman/listinfo/mc
> --
> mc mailing list
> [email protected]<mailto:[email protected]>
> https://lists.midnight-commander.org/mailman/listinfo/mc

-- 
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc