Friday, January 10, 2014

When you try to run follow two command there can be this error showing in the Terminal.

yum update
yum check-update

  1. First you check if the Network connection and Internet works fine.
  2. Run yum clean all command and try to clean the corrupted repository data 
  3. Try to run the command in the debug mode as below. The you can get the details error message. If it says some URL cannot be acess then try to access that URL from your web browser and check if the URL work URLGRABBER_DEBUG=1 yum update 
  4. If your network environment uses proxy, then check your Linux version configured with correct proxy.
  5. Check your system date is correct.

14 comments:

  1. Hello!
    Y have this problem
    No solution works
    :(
    http://www.forums.fedoraforum.org/showthread.php?t=297931

    ReplyDelete
  2. I have same problem, but in my situation helped set enviroment http_proxy and https_proxy

    ReplyDelete
  3. uncomment baseurl in fedora.repo file in /etc/yum.repos.d/ and comment the metalink line in the same. repeat for all *.repo files in the directory if required

    ReplyDelete
    Replies
    1. This worked just fine!! thanks!!!!!

      Delete
    2. But the file is read only

      Delete
    3. Become "root" and there u go .. ;)

      Delete
    4. Thank you, this works flawlessly ! :))

      Delete
  4. Works very well for me, thanks nayana.

    ReplyDelete
  5. Very nice fix, thanks mate!

    ReplyDelete
  6. Thank you, Thank you.. Someone with the correct answer.

    ReplyDelete
  7. i did that. not working

    ReplyDelete
  8. I solved in this way!!!!

    Go to /etc/yum
    add a line proxy=http://ip:port

    It should work!!

    ReplyDelete