Bug 138 - Viewing RPM files in mc no longer works
Viewing RPM files in mc no longer works
Status: CLOSED DUPLICATE of bug 13
Product: Red Hat Linux
Classification: Retired
Component: mc (Show other bugs)
5.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1998-11-19 16:33 EST by bbaetz
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1998-11-20 06:33:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description bbaetz 1998-11-19 16:33:26 EST
The new version of rpm (rpm-2.5.5-5.2) in RedHat 5.2 breaks
the rpm browsing ability of mc. I think this is because rpm
-qvl no longer has a separate column for the sticky bit, but
instead gives the same output as ls -l. The loss of this
column broke the sed script, which looked for either a - or
a t.

Patch follows:
--- /usr/lib/mc/extfs/rpm.orig  Thu Nov 19 23:25:40 1998
+++ /usr/lib/mc/extfs/rpm       Thu Nov 19 23:29:15 1998
@@ -97,7 +97,7 @@
         echo "$FILEPREF 0 $DATE INFO/CHANGELOG"
     fi

-    rpm -qlvp $1 | sed -e 's/^\(..........\)[-t] /\1 1 /'
+    rpm -qlvp $1 | sed -e 's/^\(..........\) /\1 1 /'
 }

 mcrpmfs_copyout ()
Comment 1 Bill Nottingham 1998-11-20 06:33:59 EST
*** This bug has been marked as a duplicate of 13 ***

Note You need to log in before you can comment on or make changes to this bug.