Your message dated Mon, 24 Aug 2009 23:31:19 +0300
with message-id <[email protected]>
and subject line Re: Bug#543334: Acknowledgement (lesspipe: support for 7-Zip
format doesn't work even with p7zip package)
has caused the Debian Bug report #543334,
regarding lesspipe: support for 7-Zip format doesn't work even with p7zip
package
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
543334: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543334
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: less
Version: 436-1
Severity: normal
Running lesspipe archive.7z will result in the following error:
"No 7za available"
This will happen even if the p7zip package is installed.
However, if p7zip-full package is installed, it will work just fine.
lesspipe is using /usr/bin/7za to view the contents of 7-Zip files.
However, there are currently 2 packages in debian capable of handling 7-Zip
files:
p7zip-full - which provides /usr/bin/7za - a standalone version of the 7-zip
tool that handles 7z archives
p7zip - which provides /usr/bin/7zr - a standalone *minimal* version of
the 7-zip tool that only handles 7z archives.
lesspipe can support the 7-Zip format using the standalone minimal version,
/usr/bin/7zr.
Here's a patch that adds /usr/bin/7zr as a fallback in case /usr/bin/7za is not
found:
--- lesspipe.orig 2009-08-24 08:39:25.000000000 +0000
+++ lesspipe 2009-08-24 09:13:09.000000000 +0000
@@ -197,7 +197,8 @@
*.7z)
if [ -x "`which 7za`" ]; then 7za l "$1";
- else echo "No 7za available"; fi ;;
+ elif [ -x "`which 7zr`" ]; then 7zr l "$1";
+ else echo "No 7za or 7zr available"; fi ;;
*.zoo)
if [ -x "`which zoo`" ]; then zoo v "$1";
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.28-14-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages less depends on:
ii debianutils 2.30 Miscellaneous utilities specific t
ii libc6 2.9-25 GNU C Library: Shared libraries
ii libncurses5 5.7+20090803-1+b1 shared libraries for terminal hand
less recommends no packages.
less suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
I just noticed that this bug was opened twice by mistake. Sorry about that.
Closing this as it is a duplicate of Bug #543332
--- End Message ---