hi michael,
thanks for your response.

we supply our "customers" (actually colleagues in our company) with an vmware 
image which they can use for specific tasks.
on these vms a standard user will not get root, so yum is not a possibility. 
schedule updates from spacewalk would work but i want the users to decide 
themselves when to update (not on security erratas, but still).

the goal i want to achieve in the end is that a user without root rights is 
able to update packages and get notifications when updates are possible. since 
the notification is not included anymore with just packagekit (gpk-update-icon 
is missing) i need to use gnome-software for the notification which seems to be 
just another layer above packagekit. this function works on a rhel7client 
subscribed to the redhat network. the only difference i can find regarding the 
update process are the missing entries in redhat.repo.

br,
bernhard


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Michael Mraka
Sent: Dienstag, 20. März 2018 09:26
To: [email protected]
Subject: Re: [Spacewalk-list] packagekit offline update with spacewalk

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

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to