GCC Problems upgrading CentOS from 7 to 8

General support questions
Post Reply
baskervi
Posts: 13
Joined: 2016/05/24 18:53:17

GCC Problems upgrading CentOS from 7 to 8

Post by baskervi » 2020/07/28 14:14:05

I'm running into a dependency issue with gcc and rpmlib(RichDependencies), but it seems to me that the installed gcc version is OK. Can anyone help point me to the right version of gcc? Also, I can't figure out how to install rpmlib(RichDependencies). 'rpm --rebuilddb' did not fix the issue.Thanks

Error: transaction check vs depsolve:
(gcc >= 8 with gcc < 9) is needed by annobin-8.90-1.el8.0.1.x86_64
rpmlib(RichDependencies) <= 4.12.0-1 is needed by annobin-8.90-1.el8.0.1.x86_64
(annobin if gcc) is needed by redhat-rpm-config-122-1.el8.noarch
rpmlib(RichDependencies) <= 4.12.0-1 is needed by redhat-rpm-config-122-1.el8.noarch
(flatpak-selinux = 1.6.2-2.el8 if selinux-policy-targeted) is needed by flatpak-1.6.2-2.el8.x86_64
rpmlib(RichDependencies) <= 4.12.0-1 is needed by flatpak-1.6.2-2.el8.x86_64
To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'.
You probably have corrupted RPMDB, running 'rpm --rebuilddb' might fix the issue.
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
[root@scanner ~]# gcc --version
gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

User avatar
TrevorH
Forum Moderator
Posts: 29051
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: GCC Problems upgrading CentOS from 7 to 8

Post by TrevorH » 2020/07/28 15:12:01

There is no upgrade from CentOS 7 to 8. It is a reinstall. From scratch.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

baskervi
Posts: 13
Joined: 2016/05/24 18:53:17

Re: GCC Problems upgrading CentOS from 7 to 8

Post by baskervi » 2020/07/28 18:30:57

Gotcha. I've read that multiple times. Some folks have been successful, so I had hoped this as well. Thanks for the response. Download of version 8 is complete.

Post Reply

Return to “CentOS 7 - General Support”