Re: Shell Script - Compare packages. rpm

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

 



Thanks for help!

2009/1/26 Geofrey Rainey <Geofrey.Rainey@xxxxxxxxxx>

> I would do something like this:
>
> Use the rpm queryformat functionality of rpm to print out the version
> of the package:
>
>  rpm -q --queryformat '%{VERSION}' glibc-devel-2.3.4-2.39
>
> This will print out the version, something like:
>
> 2.3.4-2.39
>
> Which can then be compared against a newer version (for this part you
> Would need to get update.out filename list into a similar format).
>
>
> Geofrey Rainey
> Systems Engineer
> D. 64 9 916 7178
> M. 64 21 563 106
> geofrey.rainey@xxxxxxxxxx
>
>
>
-- 
Tiago Dias da Silva
Administrador de Sistemas GNU/Linux
HomePage: www.dias.eti.br
Email: tiago@xxxxxxxxxxx

"A mente que se abre a uma nova idéia jamais voltará ao seu tamanho
original"

(Albert Einstein)
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux