[plug] RH7.3 rpm installation query

wayne hatari at iinet.net.au
Wed Jul 10 18:22:51 WST 2002


On Tuesday, July 09, 2002 3:36 PM, Tony wrote:
----- Original Message -----
> I can't tell you which rpm that library is in as I'm still running 6.2
> and it (libXm.so.2) isn't available.
>
> If you have the CD's and some spare time I suggest you do something like
> the following (this _should_ work on any rpm based Linux distro)
> --------
> Insert Disk1
> mount /mnt/cdrom
> cd /mnt/cdrom/RedHat/RPMS
> rpm -q --filesby-pkg  *.rpm  |sed -e 's/^/disk1:/' > /tmp/disk1.files
> umount /mnt/cdrom
>
> Insert Disk2
> mount /mnt/cdrom
> cd /mnt/cdrom/RedHat/RPMS
> rpm -q --filesby-pkg  *.rpm  |sed -e 's/^/disk2:/' > /tmp/disk1.files
> umount /mnt/cdrom
>
> Insert Disk3
> mount /mnt/cdrom
> cd /mnt/cdrom/RedHat/RPMS
> rpm -q --filesby-pkg  *.rpm  |sed -e 's/^/disk3:/' > /tmp/disk1.files
> umount /mnt/cdrom
>
>
> cat /tmp/disk[123].files | gzip > /path/to/Contents-i386.gz
> rm /tmp/disk[123].files
> --------
>
> This will give you a compressed file "Contents-i386.gz" that contains
> a list of every file in every rpm that comes with RedHat 7.3 and the disk
it
> is on.  Once you have that file.  if you ever need to know where
"libfoo.so.3"
> comes from simply
>
> zgrep "libfoo.so.3" /path/to/Contents-i386.gz
> and you will be told something like:
>
> disk3:libfoo-3.0.99-79.i386.rpm                    usr/lib/libfoo.so.3
> disk3:libfoo-3.0.99-79.i386.rpm
usr/lib/libfoo.so.3.0.99
>
> YMMV

Well, Tony, now I know how y'all find those bloody things.  It has been
driving me nuts!  Every package I try to install (on every disto) is
dependent on twenty others, which of course are "somewhere" hidden in the
depths depths of the CDs - and despair.  Very useful; Thanks.

Regards,
wayne





More information about the plug mailing list