[plug] Finding RPM Summary
Earnshaw, Mike
earnshawm at wa.switch.aust.com
Fri Jun 9 15:51:48 WST 2000
Lists,
Thanks for the feedback with regard to finding a file within an
uninstalled RPM. The biggest hurdle I faced was knowing which complete
path I was looking for as (on my box) I could not get any wildcards to
work i.e. *patch, so I needed to know the absolute path.
The solution I favoured was from Daryl (LinuxSA)..
====
for file in `find /mnt/cdrom -name "*.rpm" -print`; do
echo "===" ${file}
rpm -qlp ${file}
echo
done > RedHat_6.x_filelist
Then grep/less/vi/whatever are your bestest friends.
====
I will adopt this as standard practice from now on. Thanks all.
------------------------------------------------------------------------
----
Mike Earnshaw | "It don't mean a thing if | e-mail in header
Computer Systems | you cain't get that Ping...." | Tel: +61 8 9256
1099
Support | Duke Ellington, 1932 | Fax: +61 8 9256
1199
------------------------------------------------------------------------
----
Union Switch & Signal, 24 Bannick Court, Canning Vale, WA 6155,
Australia
------------------------------------------------------------------------
----
More information about the plug
mailing list