Question about rpm package version comparaison for security update.

Paul Howarth paul at city-fan.org
Fri Jan 16 15:00:19 UTC 2015


On 16/01/15 09:58, MONLONG Pierre wrote:
> Hi all,
>
> Sorry for my example I take redhat stuff but it’s easier for me.
>
> I have a question about how versions are compared specially when the
> release part contains distinct platform releases : for instance el6 vs
> el6_2
>
> On a host, I  have following package installed :
> samba_client-3.5.10-125.el6  , when I read this   RHSA-2013:0840 they
> say that the fixed version is samba_client-3.5.10-115.el6_2.
>
> For me I don’t have to update my package, because in this case 125 > 115
> regardless the following data el6 vs el6_2.
>
> Is-it correct ?

Yes, it's correct:

$ rpmdev-vercmp 3.5.10-125.el6 3.5.10-115.el6_2
3.5.10-125.el6 > 3.5.10-115.el6_2

(rpmdev-vercmp is from the rpmdevtools package)

Perhaps you might ask yourself though whether your 125 package includes 
(or needs to include) the fixes from the Red Hat 115 package?

Paul.



More information about the security mailing list