[Spacewalk-list] Cannot install updates on spacewalk client

Michael Mraka michael.mraka at redhat.com
Wed Apr 4 09:09:51 UTC 2018


Michael Watters:
> > You can check the path with
> >
> > select * from rhnpackage where id = 11570;
> >
> > But the message indicates some sort of error while you were synchronizing your repos. I would try to locate this problem "package" within SW in the "Channels" -> "Manage Software Channels" -> "Manage software packages" and try to *fully* delete this package and try to re-sync.
> >
> > Robert
> 
> No luck.  I deleted the package and reran spacewalk-repo-sync which
> claims to have downloaded the package but yum updates still fail.  The
> interesting part is spacewalk-repo-sync keeps trying to download the
> same 33 packages every time I download it.  For example, here's the output.

Hello Michael,

How did you deleted the package? Just the file in /var/satellite?
Then the the wrong record in database is still there.

You can try spacewalk-data-fsck to if there's any see mismatch between
db and filesystem (and there's also a limited functionality to "repair"
errors).

> [root at spacewalk rhn]# spacewalk-repo-sync -v -c centos7-x86_64-updates
...
> 12:35:11 33/33 : xorg-x11-server-Xnest-1.19.3-11.el7_4.1.x86_64.rpm
> Importing packages:     |##################################################| 100.0% 
> 12:35:32 Linking packages to channel.
> 12:35:32 Repo http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates has 0 errata.
> 12:35:33 Sync of channel completed in 0:00:43.
> 12:35:33 Total time: 0:00:43
> 
> Running spacewalk-repo-sync again results in the same 33 packages being downloaded.

Regards,

--
Michael Mráka
System Management Engineering, Red Hat




More information about the Spacewalk-list mailing list