[Spacewalk-list] Debian package comparison failing.

Jay McCanta J.McCanta at f5.com
Fri Jun 21 16:28:17 UTC 2019


We are seeing a version compare failure in spacewalk with two Debian packages:
                libtre5-0.8.0-3+deb7u1ubuntu1
and
                libtre5-0.8.0-3ubuntu1

Spacewalk says the second one is newer, but apt (and dpkg) say the first one is newer.

Looking at the version comparison code, which is in so many places, it looks like there nothing that differentiates whether to use the rpm version algorithm or the Debian one.  Is this being looked at in the next release?  It seems  that the two algorithms are incompatible for some release versions and none of the comparisons tests take into account whether it is deb or rpm.

[https://cdn.f5.com/webcommon/email-signature/images/f5-logo-rgb-30x30.jpg]<https://f5.com/>
 Jay McCanta  |  Principal Systems Administrator
 D +1 (206) 272-7998  M +1-206-434-1080


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190621/75e8441e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 40178 bytes
Desc: image001.jpg
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190621/75e8441e/attachment.jpg>


More information about the Spacewalk-list mailing list