[Spacewalk-list] issue after dnf update or yum update in rhel8

Simon Avery Simon.Avery at oxygenhouse.com
Mon Mar 23 15:18:20 UTC 2020


Hi

Same. Had a lot of issues with variations of the "cannot install the best update candidate" Issue when using Spacewalk managed repos for Centos 8 clients.

I believe it is caused by the modules issue much discussed. I was able to get it working on one machine after 8.1 released, but not on others - and then the original one reverted to failing on another package after a few days.

Only reliable workaround for C8.1 clients I have is to remove it from all Spacewalk Channels and trigger a remote command for groups using spacecmd of "yum -y update"

This works but obviously doesn't give as much transparency as proper spwk management.

S



From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> On Behalf Of Mertens, Jonas
Sent: 23 March 2020 15:00
To: spacewalk-list at redhat.com
Subject: [EXTERNAL EMAIL] Re: [Spacewalk-list] issue after dnf update or yum update in rhel8

Hi,

I have this issue, too, but was not able to solve it yet. I hope an update to Spacewalk 2.10 would fix it.


Freundliche Grüße / Kind regards
Jonas Mertens



Jonas Mertens
ITK Services

S&N ENS GmbH
Klingenderstr. 5
33100 Paderborn <https://www.sn-ens.de/>
Phone
Mobile
E-Mail
Web   <https://www.sn-ens.de/>

+49 5251 1581 986
+49 162 7825913
Jonas.Mertens at sn-ens.de
www.sn-ens.de <https://www.sn-ens.de/>



Sitz der Gesellschaft:
33100 Paderborn, Klingenderstr. 5
Registergericht Paderborn HRB 3460
Geschäftsführer: Josef Tillmann

Der S&N Invent-Newsletter
Kundenprojekte, Fachthemen, Events...
Melden Sie sich hier an

Informationen zum Schutz Ihrer Daten sind in unserer Datenschutzerklärung einsehbar.<https://www.sn-ens.de/>
 <https://www.sn-ens.de/>
 <https://www.sn-ens.de/>
 <https://www.sn-ens.de/>
-------- Ursprüngliche Nachricht --------<https://www.sn-ens.de/>
Von: Muhammad Mosleh Uddin <mmuddin at gmail.com> <https://www.sn-ens.de/>
Datum: 23.03.20 15:54 (GMT+01:00) <https://www.sn-ens.de/>
An: spacewalk-list at redhat.com <https://www.sn-ens.de/>
Betreff: Re: [Spacewalk-list] issue after dnf update or yum update in rhel8 <https://www.sn-ens.de/>
 <https://www.sn-ens.de/>
I have tested with redhat repo. I have no issues without spacewalk and directly to redhat  <https://www.sn-ens.de/>
 <https://www.sn-ens.de/>
[root at rhel8 yum.repos.d]# dnf update
There was an error communicating with Red Hat Satellite or Spacewalk server.
Red Hat Satellite or Spacewalk based repositories will be disabled.

Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                                                                         13 MB/s |  14 MB     00:01
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)                                                                      13 MB/s |  14 MB     00:01
Last metadata expiration check: 0:00:02 ago on Mon 23 Mar 2020 10:47:53 AM EDT.
Dependencies resolved.
=============================================================================================================================================================
 Package                          Architecture               Version                              Repository                                            Size
=============================================================================================================================================================
Upgrading:
 libvncserver                     x86_64                     0.9.11-9.el8_1.2                     rhel-8-for-x86_64-appstream-rpms                     274 k

Transaction Summary
=============================================================================================================================================================
Upgrade  1 Package

Total download size: 274 k
Is this ok [y/N]: N
Operation aborted.<https://www.sn-ens.de/>
 <https://www.sn-ens.de/>
On Mon, Mar 23, 2020 at 7:12 AM Michael Mraka <michael.mraka at redhat.com> wrote:<https://www.sn-ens.de/>
Muhammad Mosleh Uddin:
> I have set two repo for rhel8. rep syncing ok.
>
> https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os
> https://cdn.redhat.com/content/dist/rhel8/8/x86_64/appstream/os
>
> problem is why I am getting the following error. Any suggestion is
> appreciated.
>
> [root at test2 yum.repos.d]# yum update
> This system is receiving updates from Red Hat Satellite or Spacewalk server.
> Updating Subscription Management repositories.
> Unable to read consumer identity
> Last metadata expiration check: 0:55:47 ago on Sat 21 Mar 2020 11:54:11 PM
> EDT.
> Error:
>  Problem: cannot install both kernel-core-4.18.0-147.5.1.el8_1.x86_64 and
> kernel-core-4.18.0-147.5.1.el8_1.x86_64
>   - cannot install the best update candidate for package
> kernel-core-4.18.0-147.5.1.el8_1.x86_64
>   - cannot install the best update candidate for package
> kernel-core-4.18.0-147.el8.x86_64
> (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to
> use not only best candidate packages)

I think it's dnf not a Spacewalk issue. Does it work if you register the
machine directly without Spacewalk server?


> --
> Muhammad Mosleh Uddin

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<https://www.sn-ens.de/>

<https://www.sn-ens.de/>
 <https://www.sn-ens.de/>
-- <https://www.sn-ens.de/>




Muhammad Mosleh Uddin<https://www.sn-ens.de/>





<https://www.sn-ens.de/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20200323/42fc0ab2/attachment.htm>


More information about the Spacewalk-list mailing list