Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: RPM stuff




One thing I forgot to mention in my talk yesterday:

adding 'p' to an RPM query commandline as a flag will let you query
uninstalled packages (ie, from an .i386.rpm file).. like this:

rpm -qi sendmail  (queries installed version of sendmail)
rpm -qip sendmail-8.9.0-2TL.i386.rpm (queries that file)

or, also useful:

rpm -qp --requires packagefilename
rpm -qp --provides packagefilename


AND, one more thing I forgot:

rpm -q --whatprovides libc.so.6
(shows what package provides libc.so.6 - substitute any dependency there)
rpm -q --whatrequires libc.so.6
(shows what package requires libc.so.6....)

You can't use --whatprovides and --whatrequires with the -p option
explained above.

--------------------------------------------------
Scott M. Stone <sstone@example.com, sstone@example.com>
               <sstone@example.com>
Linux Developer/Systems Administrator for Pacific HiTech, Inc. 
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.com


--------------------------------------------------------------
Next TLUG Meeting: 13 June Sat, Tokyo Station Yaesu gate 12:30
Featuring Stone and Turnbull on .rpm and .deb packages
Next Nomikai: 17 July, 19:30 Tengu TokyoEkiMae 03-3275-3691
After June 13, the next meeting is 8 August at Tokyo Station
--------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links