We are having similar issue today in CentOS Stream 8 repos:

Error:
 Problem: cannot install the best candidate for the job
  - nothing provides libgcc >= 8.5.0-8.el8 needed by gcc-8.5.0-8.el8.x86_64
  - nothing provides libgomp = 8.5.0-8.el8 needed by gcc-8.5.0-8.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)



On Thu, Jan 27, 2022 at 10:57 AM Adrian Reber <adrian@lisas.de> wrote:
On Thu, Jan 27, 2022 at 09:59:03AM +0100, Alfredo Moralejo Alonso wrote:
> After last compose CS9 promotion, BaseOS/AppStream repos seems broken:
>
> - [root@6b5a57fab5b4 /]# dnf install gcc
> - Last metadata expiration check: 0:00:25 ago on Thu Jan 27 08:45:21 2022.
> - Error:
> -  Problem: cannot install the best candidate for the job
> -   - nothing provides libgomp = 11.2.1-7.6.el9 needed by
> gcc-11.2.1-7.6.el9.x86_64
> -   - nothing provides libgcc >= 11.2.1-7.6.el9 needed by
> gcc-11.2.1-7.6.el9.x86_64
> - (try to add '--skip-broken' to skip uninstallable packages or '--nobest'
> to use not only best candidate packages)
> - [root@6b5a57fab5b4 /]# dnf install gcc-c++
> - Last metadata expiration check: 0:01:56 ago on Thu Jan 27 08:45:21 2022.
> - Error:
> -  Problem: cannot install the best candidate for the job
> -   - nothing provides libstdc++ = 11.2.1-7.6.el9 needed by
> gcc-c++-11.2.1-7.6.el9.x86_64
> - (try to add '--skip-broken' to skip uninstallable packages or '--nobest'
> to use not only best candidate packages)

Fixed. See https://bugzilla.redhat.com/show_bug.cgi?id=2046690 for
details.

                Adrian
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
https://lists.centos.org/mailman/listinfo/centos-devel