Re: RPM command's extreme options.

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

 



On Fri, 17 Dec 2004 06:00:45 -0500
madera@xxxxxxxxxxxxxxxxxxx wrote:

> Hello to all.
> 
> I recently created a very simple simple utility to get information on RPM
> packages .
> 
> You pass a package file name and (it doesn't even read the package, just the
> package file name) it tells you the name, the version, release and
> architecture. It also compares two package names to see wich one is newer.
> 
> My question is: I fear that this is already available with the rpm command
> using some strange syntax and heavy use of macros. Are there any such params
> for the rpm command?
> 
> The functions I want are basically comparing versions, releases, names, and
> all that could be relevant.
> 
> Any pointers to information isreally appreciated.
> 
Hi Rodrigo,

I'm going to assume you've already looked at rpm-python, which has handy
functions to do all the things you are looking for.

http://www.ukuug.org/events/linux2004/programme/paper-PNasrat-1/rpm-python-slides/frames.html


-- 
| Huw Lynes               | The Moving Picture Company  |
| System Administrator    | 127 Wardour Street          |
|.........................| London, W1F 0NL             | 


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux