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 <mmud...@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@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@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to