Bug 657

Summary: mc doesn't show files in rpm packages
Product: [Retired] Red Hat Linux Reporter: balaton
Component: mcAssignee: David Lawrence <dkl>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: balaton
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1998-12-30 18:34:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description balaton 1998-12-30 18:13:07 UTC
Something broke mc's coolest feature (according to the
package description) i.e. the ability to peek into rpm
files. When you cd into an rpm file on RedHat Linux 5.2 you
cannot see the files in it only HEADER, INSTALL, UPGRADE and
INFO. It used to work on older versions of RedHat Linux
(5.1, 5.0) with the same mc version (4.1.35).

The line that doesn't work any more in /usr/lib/mc/extfs/rpm
looks like:

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

Removing [-t] from the above line corrects the problem, but
the same line used to work in earlier versions so the bug is
somwhere else. Maybe the output of rpm has changed (seems
not to be the case), or maybe sed has changed (this can be
the real reason, but I'm not sure).

Comment 1 David Lawrence 1998-12-30 18:34:59 UTC
*** This bug has been marked as a duplicate of 13 ***