Package: mc
Version: 3:4.8.26-1
Severity: normal
Tags: patch

Dear Maintainer,

viewing rar archives worked in the past but stopped at some point,
the reason is that unrar-nonfree has been upgraded from 5.9.4-1
to 6.0.3-1 (and now 6.0.4-1). This is not handled by the extfs/urar
script but can be esily fixed:

--- /usr/lib/mc/extfs.d/urar.orig       2021-02-01 02:44:43.000000000 +0100
+++ /usr/lib/mc/extfs.d/urar    2021-03-27 08:51:48.535497297 +0100
@@ -113,7 +113,7 @@

 mcrarfs_list ()
 {
-    [ x$UNRAR_VERSION = x5 ] && mcrar5fs_list "$@" || mcrar4fs_list "$@"
+    [ x$UNRAR_VERSION = x5 -o x$UNRAR_VERSION = x6 ] && mcrar5fs_list "$@" || 
mcrar4fs_list "$@"
 }

 mcrarfs_copyin ()


Actual unrar version output from the command is:
"UNRAR 6.01 beta 1 freeware      Copyright (c) 1993-2021 Alexander Roshal"

"export MC_TEST_EXTFS_UNRAR_VERSION=5" also works as workaround.


Best Regards,
Johannes


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.18 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.utf-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages mc depends on:
ii  libc6         2.31-10
ii  libext2fs2    1.46.2-1
ii  libglib2.0-0  2.66.8-1
ii  libgpm2       1.20.7-8
ii  libslang2     2.3.2-5
ii  libssh2-1     1.9.0-2
ii  mc-data       3:4.8.26-1

Versions of packages mc recommends:
ii  mime-support    3.66
ii  perl            5.32.1-3
ii  sensible-utils  0.0.14
ii  unzip           6.0-26

Versions of packages mc suggests:
ii  arj                              3.10.22-24
ii  bzip2                            1.0.8-4
pn  dbview                           <none>
pn  djvulibre-bin                    <none>
pn  epub-utils                       <none>
ii  evince [pdf-viewer]              3.38.2-1
ii  file                             1:5.39-3
ii  genisoimage                      9:1.1.11-3.2
ii  gv [pdf-viewer]                  1:3.7.4-2+b1
ii  imagemagick                      8:6.9.11.60+dfsg-1
ii  imagemagick-6.q16 [imagemagick]  8:6.9.11.60+dfsg-1
pn  libaspell-dev                    <none>
ii  lynx                             2.9.0dev.6-2
ii  mupdf [pdf-viewer]               1.17.0+ds1-1.3
pn  odt2txt                          <none>
ii  poppler-utils                    20.09.0-3.1
pn  python                           <none>
pn  python-boto                      <none>
ii  python-tz                        2020.4-1
ii  qpdfview [pdf-viewer]            0.4.18-4
ii  texlive-binaries                 2020.20200327.54578-7
ii  unar                             1.10.1-2+b6
ii  w3m                              0.5.3+git20210102-6
pn  wimtools                         <none>
ii  zip                              3.0-12

-- no debconf information

Reply via email to