[Spacewalk-list] Debian package comparison failing.

philippe bidault philippe.bidault at gmail.com
Mon Jul 29 10:48:17 UTC 2019


Hi,

Indeed, the procedure from Paul did solve the issues on package comparison
I had on Ubuntu 18.04 and Debian 9.

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.

On Spacewalk. 3 servers flagged to be updated:

Latest Package                                                    Installed
Package
python-ethtool-0.14-1.amd64-deb
python-ethtool-0.12-1.1.amd64-deb
python-gobject-3.30.4-1.all-deb
python-gobject-3.22.0-2.all-deb
python-gobject-2-2.28.6-13+b1.amd64-deb
 python-gobject-2-2.28.6-13.amd64-deb

But on the registered debian 10 server, "apt update" is telling me that all
the packages are already up-to-date.

Somebody did have this same issue ?

Regards,
Philippe.

On Sat, 22 Jun 2019 at 01:01, Paul-Andre Panon <
paul-andre.panon at avigilon.com> wrote:

> On Fri, 21 Jun 2019 16:28:17 , Jay McCanta <J.McCanta at f5.com> wrote:
>
> >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.
>
> Hi Jay,
>
> You might want to try out the updated rpm.rpmstrcmp stored procedure in
> https://bugzilla.redhat.com/show_bug.cgi?id=1661347
>
> I submitted that bug and the proposed fix (for PostgreSQL DBs) a while
> back, but not soon enough to make it into 2.9. Hopefully it will make it
> into the next release.
>
> Cheers,
>
> Paul-Andre
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190729/9d4bc1d6/attachment.htm>


More information about the Spacewalk-list mailing list