Error getting repository data - repository not found

momed

New member
Joined
Aug 20, 2017
Messages
1
Hi Everyone,

please help me with this issue. my linux centos7 was connected to the special repository on spacewalk-server. Now this repository is not exist anymore but client still trying to connect to it. non of yum commands such as (yum update, yum clear all,...) works. how can i get ride of this and update yum data with all valid and enabled repository.

HTML:
[root@jenkinsm yum.repos.d]# yum clear all
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.


Error getting repository data for centos7-base-x86_64, repository not found

Thanks
 
Hello,

You should remove it from yum.repos.d and make sure you've got correct data for centos7-base-x86_64
 
Back
Top