[98846] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: MC broken in RH5.2 (Won't read RPMS)

daemon@ATHENA.MIT.EDU (Tony Nugent)
Tue Nov 10 20:01:32 1998

To: Graham Hemmings <gh-work@netcomuk.co.uk>
Cc: redhat-list@redhat.com
In-Reply-To: message-id <199811102330.XAA21705@camelot.netcom.net.uk> 
	 of Tue, Nov 10 23:29:29 1998
Date: Wed, 11 Nov 1998 10:46:10 +1000
From: Tony Nugent <Tony.Nugent@usq.edu.au>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Tue Nov 10 1998 at 23:29, Graham Hemmings wrote:

> Midnight Commander seems to be broken with respect to showing the contents
> of RPMs in RH5.2
> 
> Whilst mc in RH5.1 displays the entire directory structure of an RPM, in
> RH5.2 it is only showing the INFO directory.  What is broken - MC or RPM ?

Somebody goofed up here.

In /usr/lib/mc/extfs/rpm change:

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

to

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

Cheers
Tony


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post