When I install mysql on my Centos, I get the following error:

Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 22 - "The requested URL returned error: 403"
Error: Cannot find a valid baseurl for repo: base 

Is there any problem with yum?

  • 1
    If you hit that path with a browser, it says: "Bad repo - not in list - SCL install fasttrack contrib updates os extras centosplus cr addons". I would treat that as an additional clue, it sounds like instructions. The "repo=os_error" looks like some bit of logic in yum is constructing a URL, and a piece of the logic can't figure out the repo name. – Stabledog Aug 2 '14 at 10:28
  • Okay..So what should I do now ? – Rohit Singh Aug 2 '14 at 10:30
  • It's been a while since I used yum, sorry. But there is a repo list (I think it's in /etc/repos.d (?) ) and it's probably wise to start reading the man pages and googling to understand how yum finds and updates repos. Or... wait until someone who is yum-smarter than me comes along! :) – Stabledog Aug 2 '14 at 10:32
  • @RohitSingh, are you behind a proxy server? Please check if you can connect from the terminal with telnet command: telnet centos.org 80 – beginer Aug 2 '14 at 18:33
  • Yes,I am using proxy server I am unable to run the command telnet centos.org 80 which says "command not found" – Rohit Singh Aug 4 '14 at 4:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.