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

Brett Morrow - NOAA Affiliate brett.morrow at noaa.gov
Mon Mar 23 13:39:46 UTC 2020


For me I resolved this by:
Removing/ disabling all centos repo files 
Cleaning out all old kernel rpm’s
Dnf reinstall kernel rpm’s 

Then updates ran normal

Sent from my iPad

> On Mar 22, 2020, at 12:14 AM, Muhammad Mosleh Uddin <mmuddin at gmail.com> wrote:
> 
> 
> 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)
> 
> -- 
> 
> 
> 
> 
> Muhammad Mosleh Uddin
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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/20200323/eb8aaaa4/attachment.htm>


More information about the Spacewalk-list mailing list