<div dir="ltr"><div dir="ltr">It seems that finally that if I am not wrong the stored procedure is not working at 100% as Spacewalk wrongly detects the "~rc1" packages to be updated on some Ubuntu 18.04 servers :<div><br></div><div>Latest Package                                                                   Installed Package <br>      libpython2.7-2.7.15~rc1-1ubuntu0.1.amd64-deb               libpython2.7-2.7.15-4ubuntu4~18.04.amd64-deb <br>      libpython2.7-minimal-2.7.15~rc1-1ubuntu0.1.amd64-deb    libpython2.7-minimal-2.7.15-4ubuntu4~18.04.amd64-deb    <br>      libpython2.7-stdlib-2.7.15~rc1-1ubuntu0.1.amd64-deb     libpython2.7-stdlib-2.7.15-4ubuntu4~18.04.amd64-deb  <br>      python2.7-2.7.15~rc1-1ubuntu0.1.amd64-deb                   python2.7-2.7.15-4ubuntu4~18.04.amd64-deb <br>      python2.7-minimal-2.7.15~rc1-1ubuntu0.1.amd64-deb     python2.7-minimal-2.7.15-4ubuntu4~18.04.amd64-deb<br></div><div><br></div><div>Regards,</div><div>Philippe.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 22 Jun 2019 at 01:01, Paul-Andre Panon <<a href="mailto:paul-andre.panon@avigilon.com">paul-andre.panon@avigilon.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, 21 Jun 2019 16:28:17 , Jay McCanta <<a href="mailto:J.McCanta@f5.com" target="_blank">J.McCanta@f5.com</a>> wrote:<br>
<br>
>We are seeing a version compare failure in spacewalk with two Debian<br>
packages:<br>
>                libtre5-0.8.0-3+deb7u1ubuntu1 and<br>
>                libtre5-0.8.0-3ubuntu1<br>
<br>
>Spacewalk says the second one is newer, but apt (and dpkg) say the first<br>
one is newer.<br>
<br>
>Looking at the version comparison code, which is in so many places, it<br>
looks like there nothing that differentiates whether to use >the rpm<br>
version algorithm or the Debian one.  Is this being looked at in the next<br>
release?  It seems  that the two algorithms are >incompatible for some<br>
release versions and none of the comparisons tests take into account<br>
whether it is deb or rpm.<br>
<br>
Hi Jay,<br>
<br>
You might want to try out the updated rpm.rpmstrcmp stored procedure in<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1661347" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1661347</a><br>
<br>
I submitted that bug and the proposed fix (for PostgreSQL DBs) a while<br>
back, but not soon enough to make it into 2.9. Hopefully it will make it<br>
into the next release.<br>
<br>
Cheers,<br>
<br>
Paul-Andre<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</blockquote></div>