Red Hat Bugzilla – Bug 663
mc doesnt show the list of files when showing the contents of an RPM
Last modified: 2008-05-01 11:37:48 EDT
On the mc that ships with RH 5.2 for i386 when one presses
enter on an rpm the contents of the RPM are not properly
shown. Only the ../, /INFO, HEADER, INSTALL and UPGRADE
files show up. None of the actual files installed by the rpm
I have actually fixed this bug by editing the file
/usr/lib/mc/extfs/rpm as folows
# diff /usr/lib/mc/extfs/rpm /usr/lib/mc/extfs/rpm~
< rpm -qlvp $1 | sed -e 's/^\(..........\)/\1 1 /'
> rpm -qlvp $1 | sed -e 's/^\(..........\)[-t] /\1 1 /'
It now works properly. I do not know whether I should send
this fix as a patch to bugzilla. Would appreciate any
*** This bug has been marked as a duplicate of 13 ***