--- Richard Chang <[EMAIL PROTECTED]> wrote:
> How do we do a query for collecting the exact
> version of a particular rpm or package installed. I
> sometimes run into trouble trying to load an rpm
> which may be older than the one I have. I want to
> write a script which will get the version number of
> the rpm installed so that we know if the current rpm
> is newer or not.

rpm -qa --queryformat
'%-30{NAME}\t%-10{VERSION}\t%-20{RELEASE}\n'|less

Regards,
Nadiem.



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to