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

Erdmut Pfeifer erdmut.pfeifer at eviden.com
Tue Feb 13 02:34:23 UTC 2024


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...


________________________________
From: solarflow99 <solarflow99 at gmail.com>
Sent: Tuesday, February 13, 2024 02:57
To: List for Midnight Commander users <mc at lists.midnight-commander.org>
Cc: Erdmut Pfeifer <erdmut.pfeifer at eviden.com>
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 <mc at lists.midnight-commander.org<mailto:mc at lists.midnight-commander.org>> 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 <erdmut.pfeifer at eviden.com<mailto:erdmut.pfeifer at eviden.com>>
Sent: Monday, February 12, 2024 12:44
To: List for Midnight Commander users <mc at lists.midnight-commander.org<mailto:mc at lists.midnight-commander.org>>
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 at lists.midnight-commander.org<mailto:mc-bounces at lists.midnight-commander.org>> on behalf of Felix Miata via mc <mc at lists.midnight-commander.org<mailto:mc at lists.midnight-commander.org>>
Sent: Monday, February 12, 2024 09:15
To: mc at lists.midnight-commander.org<mailto:mc at lists.midnight-commander.org> <mc at lists.midnight-commander.org<mailto:mc at lists.midnight-commander.org>>
Cc: Felix Miata <mrmazda at earthlink.net<mailto:mrmazda at earthlink.net>>
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
mc at lists.midnight-commander.org<mailto:mc at lists.midnight-commander.org>
https://lists.midnight-commander.org/mailman/listinfo/mc
--
mc mailing list
mc at lists.midnight-commander.org<mailto:mc at lists.midnight-commander.org>
https://lists.midnight-commander.org/mailman/listinfo/mc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midnight-commander.org/pipermail/mc/attachments/20240213/0c524a64/attachment.html>


More information about the mc mailing list