Welcome to Web Hosting Forum - Net Hosting Talk

Register now and be part of our community! When you register with the Net Hosting Talk you can join in with topics, start new topics, and generally be a part of the first level of our community. It's also quick and totally free, so what are you waiting for?

yum update repository error in centos 7

LouisChego

Newbie
Messages
3
Reaction score
0
Hi,

I have a VPS server and when I try to update the repository with the following command ( yum update -y ) it returns me with the following error:

One of the configured repositories failed (Unknown), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail.

I was wondering if someone could help me.
 

r9host

Newbie
Messages
10
Reaction score
0
If you previously have added additionalpository to your system, it is likely causing the failure. Try disabling additional repositories by editing their file located in /etc/yum.repos.d/ by changing enabled=1 to enabled=0. Then try yum update -y again.
 

SwissLayer

Newbie
Messages
6
Reaction score
0
Hi,

I have seen this issue solved by replacing the nameservers on the /etc/resolv.conf file.

Change it to something like 4.2.2.2 or 8.8..8.8 and this helps solve the issue

Regards.
 

Advertisement

Top