Red Hat Bugzilla – Bug 657
mc doesn't show files in rpm packages
Last modified: 2008-05-01 11:37:48 EDT
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
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).
*** This bug has been marked as a duplicate of 13 ***