[Spacewalk-list] Debian package comparison failing.

philippe bidault philippe.bidault at gmail.com
Wed Jul 31 16:04:19 UTC 2019


Hi,

I did directly remove the corresponding repodata directory, so in your case
/var/cache/rhn/repodata/debian-9, and to trigger a regeneration,
an "apt clean all && apt update" on a debian 9 registered on your spacewalk
should do the trick.

Philippe.

On Wed, 31 Jul 2019 at 17:53, <Javier.Flores at gmz.migros.ch> wrote:

> Hi
>
>
>
> I am trying to get Spacewalk to play with Debian and I am facing the same
> problem (/var/cache/rhn/repodata/debian-9/Packages.gz is empty and doesn’t
> get changed even after syncing new packages).
>
>
>
> How did you regenerate the repodata? I tried with spacecmd
> softwarechannel_regenerateyumcache but that didn’t work on my server.
>
>
>
> Regards,
>
> Javier
>
>
>
> *Von:* spacewalk-list-bounces at redhat.com <
> spacewalk-list-bounces at redhat.com> *Im Auftrag von *philippe bidault
> *Gesendet:* Wednesday, July 31, 2019 5:16 PM
> *An:* spacewalk-list at redhat.com
> *Betreff:* Re: [Spacewalk-list] Debian package comparison failing.
>
>
>
> Thanks Robert, good catch. Indeed, the Packages file was not complete,
> seems that it was built during the reposync process of the repository as
> lots of package was missing in the repodata.
>
> I did force Spacewalk to regenerate it, and all good now.
>
>
>
> Regards,
>
> Philippe.
>
>
>
> On Wed, 31 Jul 2019 at 13:22, Robert Paschedag <robert.paschedag at web.de>
> wrote:
>
> Please check, that you repo metadata has been correctly regenerated. Might
> be, that within the channel, the new package is there, but the metadata has
> not been refreshed (the Packages.gz) is still old.
>
> Robert
>
> ⁣sent from my mobile device​
>
>
> -------- Originale Nachricht --------
> Von: philippe bidault <philippe.bidault at gmail.com>
> Gesendet: Wed Jul 31 08:30:07 GMT+02:00 2019
> An: spacewalk-list at redhat.com
> Betreff: Re: [Spacewalk-list] Debian package comparison failing.
>
> Hi Robert,
>
> No, this is so strange, absolutely no trace through apt of the new packages
> proposed by Spacewalk on the Debian server. I need to troubleshoot this
> deeper.
>
> root at debian10:~# apt-cache show python-gobject
> Package: python-gobject
> Status: install ok installed
> Priority: extra
> Section: oldlibs
> Installed-Size: 323
> Maintainer: Debian GNOME Maintainers <
> pkg-gnome-maintainers at lists.alioth.debian.org>
> Architecture: all
> Source: pygobject
> Version: 3.22.0-2
> Depends: python-gi (>= 3.22.0-2), python-gobject-2
> Description: Python 2.x bindings for GObject - transitional package
> This package will bring the two versions of GObject Python modules: the
> deprecated gobject module, and the new gobject-introspection system. It
> is here for upgrade purposes only. You can remove it safely when
> nothing else depends on it.
> Description-md5: 0972cedec40e0869495e1025aa320af1
> Homepage: https://wiki.gnome.org/Projects/PyGObject
>
> Regards,
> Philippe.
>
> On Tue, 30 Jul 2019 at 21:53, Robert Paschedag <robert.paschedag at web.de>
> wrote:
>
> > You can also try to install one of the packages with "apt-get -o
> > Debug::pkgProblemResolver install ..."
> >
> > Robert
> >
> > ⁣sent from my mobile device​
> >
> >
> > -------- Originale Nachricht --------
> > Von: philippe bidault <philippe.bidault at gmail.com>
> > Gesendet: Tue Jul 30 17:36:34 GMT+02:00 2019
> > An: spacewalk-list at redhat.com
> > Betreff: Re: [Spacewalk-list] Debian package comparison failing.
> >
> > Nop, no lock or nothing similar:
> >
> > root at debian10:~# dpkg -l | grep python-eth
> > ii  python-ethtool              0.12-1.1                   amd64
> >        Python bindings for the ethtool kernel interface
> >
> > Regards,
> > Philippe.
> >
> > On Tue, 30 Jul 2019 at 15:02, Michael Mraka <michael.mraka at redhat.com>
> > wrote:
> >
> > > philippe bidault:
> > > > Hi Michael,
> > > >
> > > > Here are the installed versions:
> > > >
> > > > root at debian10:~# dpkg -l | grep python-go
> > > > ii  python-gobject              3.22.0-2                   all
> > > >          Python 2.x bindings for GObject - transitional package
> > > > ii  python-gobject-2            2.28.6-13                  amd64
> > > >        deprecated static Python bindings for the GObject library
> > > > root at debian10:~# dpkg -l | grep python-eth
> > > > ii  python-ethtool              0.12-1.1                   amd64
> > > >        Python bindings for the ethtool kernel interface
> > > >
> > > > So this is in fact matching what appears in the "Installed Package"
> > > column
> > > > in the Spacewalk web console. The Debian 10 client just does not see
> > the
> > > 3
> > > > updates.
> > >
> > > Can't they be somehow excluded / version-locked / ... etc?
> > > If you use dpkg to list all available python-ethtool packages can you
> see
> > > python-ethtool-0.14-1 among them?
> > >
> > > > Regards,
> > > > Philippe.
> > > ...
> > > > > > 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.
> > > > >
> > > > > What version of python-ethtool, python-gobject and
> python-gobject-2
> > > > > do you have installed on the debian server?
> > >
> > > Regards,
> > >
> > > --
> > > Michael Mráka
> > > System Management Engineering, Red Hat
> > >
> > > _______________________________________________
> > > Spacewalk-list mailing list
> > > Spacewalk-list at redhat.com
> > > https://www.redhat.com/mailman/listinfo/spacewalk-list
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/spacewalk-list
> >
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> _______________________________________________
> 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/20190731/43fd5b64/attachment.htm>


More information about the Spacewalk-list mailing list