dnf update - Problem: cannot install the best update candidate for package

Issues related to applications and software problems and general support
Post Reply
randomize
Posts: 5
Joined: 2022/01/30 18:27:58

dnf update - Problem: cannot install the best update candidate for package

Post by randomize » 2022/05/25 11:16:36

Hi there,

I am trying to update the DNF packages on my CentOS 8 installation.

When I run "dnf update" I get the following error message:

Error:
Problem: cannot install the best update candidate for package remi-release-8.5-3.el8.remi.noarch
- nothing provides redhat-release >= 8.6 needed by remi-release-8.6-1.el8.remi.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

What should I do?

P.S. I know that CentOS 8 has been discontinued - Will migrate to a newer version asap

BShT
Posts: 584
Joined: 2019/10/09 12:31:40

Re: dnf update - Problem: cannot install the best update candidate for package

Post by BShT » 2022/05/25 11:21:34

there is no Cento 8.6

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: dnf update - Problem: cannot install the best update candidate for package

Post by TrevorH » 2022/05/25 11:25:37

CentOS Linux 8.5 was discontinued at the end of 2021 so you have not received nearly 6 months of security updates in that time. It would appear that the error you are currently seeing is that the package requires a package from 8.6 and there will never be a CentOS Linux 8.6. You need to pick a successor product and migrate to it. My Sig below has a list of the other "clones" of RHEL which aim to be direct CentOS Linux replacements. There is also CentOS Stream 8 but I would not use that for production workloads.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
remirepo
Posts: 447
Joined: 2014/09/21 09:07:12
Location: France
Contact:

Re: dnf update - Problem: cannot install the best update candidate for package

Post by remirepo » 2022/05/25 14:37:42

Probably better to ask in the proper forum
https://forum.remirepo.net/

BTW, you have an explanation from TrevorH: You are using an unsupported version.
Remi's Repository - Forum - Blog

Post Reply