<div dir="ltr">Hi,<div><br></div><div>Indeed, the procedure from Paul did solve the issues on package comparison I had on Ubuntu 18.04 and Debian 9.</div><div><br></div><div>I am trying now to implement Debian 10 in Spacewalk, but curiously I have a mismatch between the packages number to be updated on Spacewalk and the server.</div><div><br></div><div>On Spacewalk. 3 servers flagged to be updated:</div><div><br></div><div>Latest Package                                                    Installed Package <br>  python-ethtool-0.14-1.amd64-deb                        python-ethtool-0.12-1.1.amd64-deb    <br>      python-gobject-3.30.4-1.all-deb                            python-gobject-3.22.0-2.all-deb        <br>      python-gobject-2-2.28.6-13+b1.amd64-deb         python-gobject-2-2.28.6-13.amd64-deb       <br> <br>But on the registered debian 10 server, "apt update" is telling me that all the packages are already up-to-date.<br></div><div><br></div><div>Somebody did have this same issue ?</div><div><br></div><div>Regards,</div><div>Philippe.</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>