On 2011-06-08 19:51 +0200, Brian wrote:

> On Wed 08 Jun 2011 at 11:58:42 -0400, Frank McCormick wrote:
>
>> 
>> Am I the only one still seeing Midnight Commander parse errors when
>> trying to look inside deb files ? This has been going on , in my case
>> for two months now. Is there a solution ?
>
> It's the time to use ar -x. Or be patient.

Nah, neither.  This is free software after all…

> http://www.midnight-commander.org/ticket/2552

…and there's even a patch available!  The bug is in a perl script
(/usr/lib/mc/extfs.d/deb) that you can edit directly if you don't care
about debsums complaining:

--8<---------------cut here---------------start------------->8---
--- deb.orig    2010-09-08 00:00:00.000000000 +0200
+++ deb 2011-05-10 15:46:07.000000000 +0200
@@ -46,7 +46,7 @@
        {
                while(<PIPEIN>)
                {
-                       split;
+                       @_ = split;
 
                        $perm=$_[0]; $owgr=$_[1]; $size=$_[2];
                        if($_[3] =~ /^\d\d\d\d\-/) { # New tar format
@@ -100,7 +100,7 @@
         {
                while(<PIPEIN>)
                {
-                       split;
+                       @_  = split;
                        $size=$_[0];
                        last if $size =~ /:/;
                        next if $size !~ /\d+/;
--8<---------------cut here---------------end--------------->8---

Rebuilding the package is of course cleaner, but I was too lazy to
do that.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87pqmop3j6....@turtle.gmx.de

Reply via email to