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

solarflow99 via mc <[email protected]> Mon, 12 Feb 2024 17:57:29 -0800
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <CAO8i5OKwG1LhCPjowNcwHUsVjWEBGVCR+PRMuLbEPH7RYXzzrg@mail.gmail.com>
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 --versiontar (GNU tar) 1.34 *



On Mon, Feb 12, 2024 at 4:01 AM Erdmut Pfeifer via mc <
[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]>
> *Sent:* Monday, February 12, 2024 12:44
> *To:* List for Midnight Commander users <[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 <mc-bounces-+hD5IHI5XseWCegYutOAJTiNl0CLU6MPYPYVAmT7z5s@public.gmane.org> on behalf of Felix
> Miata via mc <[email protected]>
> *Sent:* Monday, February 12, 2024 09:15
> *To:* [email protected] <[email protected]>
> *Cc:* Felix Miata <[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]
> https://lists.midnight-commander.org/mailman/listinfo/mc
> --
> mc mailing list
> [email protected]
> https://lists.midnight-commander.org/mailman/listinfo/mc
>

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