Discussion:
Bug#862957: file-roller: Fails to deal correctly with filename encodings in zip files
(too old to reply)
SamV
2017-05-19 10:50:02 UTC
Permalink
Package: file-roller
Version: 3.22.3-1
Severity: important
Tags: l10n

file-roller fails to deal correctly with filename encodings in zip files.

But the problem is that when p7zip-full is installed unzip is handled by p7zip.
There is no way to set File Roller to use unzip instead.

This bug in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/p7zip/+bug/1382106

Test archive here:
https://minenergo.gov.ru/system/download/4198/72149

This is an important bug. A workaround with a patch is very difficult for
ordinary people. Therefore, I can not recommend a debian for my friends, who
often use zip archives :(

(P.S. sorry for my English)



-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64
(x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages file-roller depends on:
ii bzip2 1.0.6-8.1
ii dconf-gsettings-backend [gsettings-backend] 0.26.0-2+b1
ii libarchive13 3.2.2-2
ii libc6 2.24-10
ii libcairo2 1.14.8-1
ii libgdk-pixbuf2.0-0 2.36.5-2
ii libglib2.0-0 2.50.3-2
ii libgtk-3-0 3.22.11-1
ii libjson-glib-1.0-0 1.2.6-1
ii libmagic1 1:5.30-1
ii libnotify4 0.7.7-2
ii libpango-1.0-0 1.40.5-1
ii p7zip-full 16.02+dfsg-3

Versions of packages file-roller recommends:
ii gvfs 1.30.4-1
ii yelp 3.22.0-1

Versions of packages file-roller suggests:
pn arj <none>
pn lha <none>
pn lzip <none>
pn lzop <none>
pn ncompress <none>
pn rpm2cpio <none>
pn rzip <none>
pn sharutils <none>
pn unace <none>
pn unalz <none>
pn unar <none>
ii unzip 6.0-21
ii xz-utils [lzma] 5.2.2-1.2+b1
pn zip <none>
pn zoo <none>

-- no debconf information
Michael Biebl
2017-05-19 13:40:02 UTC
Permalink
Post by SamV
Package: file-roller
Version: 3.22.3-1
Severity: important
Tags: l10n
file-roller fails to deal correctly with filename encodings in zip files.
Can you be a bit more specific about the problem?
Post by SamV
But the problem is that when p7zip-full is installed unzip is handled by p7zip.
There is no way to set File Roller to use unzip instead.
So you say this is a problem in p7zip-full, i.e. /usr/bin/p7zip?
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
Dmitry Tunin
2019-11-08 12:20:02 UTC
Permalink
Post by Michael Biebl
So you say this is a problem in p7zip-full, i.e. /usr/bin/p7zip?
p7zip can't properly "guess" encodings in zip files.

I reported this to p7zip maintainers many years ago, but they never fixed it.

A workaround is to get file-roller use unzip instead of p7zip for
dealing with zip files. I patched file-roller and added it to

ppa:hanipouspilot/file-roller and mountain it for years. This is an
easy workaround.

Another way would be to set ZIP above 7Z in src/fr-init.c static void
register_archives (void)

Loading...