[Spacewalk-list] packagekit offline update with spacewalk

Michael Mraka michael.mraka at redhat.com
Tue Mar 20 08:25:38 UTC 2018


BUCHER Bernhard:
> hi guys,

Hello Bernhard,

> i enrolled a redhat 7.4 client with spacewalk.
> if new updates are available gnome-software will announce it via a notification on the screen. after opening the application installer and hitting updates->restart & install the vm restarts but the updates are not installed.
> 
> after the reboot pkcon offline-status shows:
> Status:  Failed
> ErrorCode:failed-initialization
> ErrorDetails:cannot find repo rech_rhel-7-desktop-rpms
> 
> i checked, that process of the offline update works till the point where it cant find the channel for the updates. i assume since the network is not running in the offline update and rhnsd.service is stopped it can't find the respective channel.
> on "normal" redhat installations there are channels enabled in /etc/yum.repo.d/redhat.repo which is empty on spacewalk systems.
> has anyone already encountered that problem? is there a way to point the offline update to the yum cache which gets build beforehand? or would the only solution be to edit systemd targets and fire up network and rhnsd?

Frankly I don't use Packagekit. On commandline, yum is able to download
packages (from Spacewalk) to cache and then install them from cache.
I.e.
        yum install --downloadonly package
        yum install -C package

And even better when using Spacewalk you can shedule package updates on
(all) clients from Spacewalk web interface. Including 'download now, install
later' type of functionality.

> thanks in advance,
> bernhard

Regards,


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




More information about the Spacewalk-list mailing list