LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   yum update error Dependency (https://www.linuxquestions.org/questions/linux-software-2/yum-update-error-dependency-4175736106/)

Learner99 04-16-2024 05:42 PM

yum update error Dependency
 
hi Guys,
I'm having trouble running yum update. I get this error:

Quote:

Error: initscripts conflicts with 1:redhat-release-server-6Server-6.10.0.12.0.1.el6.x86_64
Error: Package: grep-2.20-6.el6.x86_64 (ol6_latest)
Requires: libpcre.so.0()(64bit)
Available: pcre-7.8-7.el6.x86_64 (ol6_latest)
libpcre.so.0()(64bit)
Installed: pcre-8.32-17.el7.i686 (@RHEL7.5base64)
Not found
I'm having trouble understanding which yum repo to disable or what my next steps are. I think posting my repolist is helpful, so here you go. Any help appreciated!

Quote:

Loaded plugins: product-id, search-disabled-repos
packages-microsoft-com-prod 1722/1722
repo id repo name status
RHEL7-EXTRAS Redhat 7.x Extra Packages 1,476
RHEL7-OPTIONAL Redhat 7.x Extra Packages 5,459
RHEL7-SERVER Redhat 7.x Server packages from rhel-7-se 6,010
RHEL7-SERVER-DEVTOOLS RHEL7-Server-DevTools 1,683
RHEL7.5base64 Redhat 7.5 Base 64 5,198
centos-extras Centos extras - x86_64 526
docker-ce-ab-stable Docker CE Stable - x86_64 280
docker-ce-stable/7Server/x86_64 Docker CE Stable - x86_64 313
jenkins Jenkins-stable 158
ol6_UEK_latest/x86_64 Latest Unbreakable Enterprise Kernel for 1,009
ol6_latest/x86_64 Oracle Linux 7Server Latest (x86_64) 12,932
packages-microsoft-com-prod packages-microsoft-com-prod 1,722
repolist: 36,766

wpeckham 04-16-2024 06:05 PM

I have to guess a bit, but from that output it looks like you might have a FrankenBox with software parts from more than one distribution. Sources for different distributions or releases do not always play well together!

chrism01 04-17-2024 01:36 AM

... & also el6 and el7 ... !

If it was me, I'd almost certainly backup what I needed and do a clean install of whatever distro I actually wanted, eg Rocky 9.

Learner99 04-17-2024 08:12 AM

Thanks guys. I'll give it a shot.


All times are GMT -5. The time now is 08:06 PM.