English
Ask Your Question
0

Error: File /var/cache/yum/x86_64/$releasever/fedora/metalink.xml does not existyum install error

asked 2013-06-24 07:35:20 +0000

Joey C gravatar image

updated 2013-06-24 12:48:01 +0000

Hi All,

I am new on a linux OS and i have some problem with regards with yum. When i am trying to install a mysql server using yum :

Loaded plugins: langpacks, presto, refresh-packagekit
fedora/$releasever/x86_64/metalink                                                                                                                       |  25 kB  00:00:00     
Could not parse metalink mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=x86_64 error was 
No repomd file
Error: File /var/cache/yum/x86_64/$releasever/fedora/metalink.xml does not exist

I have checked the mentioned path and i saw that the .xml file is there. Before the yum broken i just deleted some on /var/log i used rm -rf mysql * that is the wrong i used rm -rf and deleted all inside var/log. Can anyone help me on this? I am using fedora 18.

Thanks a lot!

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2013-06-25 00:21:17 +0000

Joey C gravatar image

Hi,

I tried the mentioned commands but it doesn't worked :(

[root@localhost jcruz]# sudo yum clean all Loaded plugins: langpacks, presto, refresh-packagekit Cleaning repos: fedora updates Cleaning up Everything No delta-package files removed by presto [root@localhost jcruz]# sudo yum update -y Loaded plugins: langpacks, presto, refresh-packagekit fedora/$releasever/x86_64/metalink | 25 kB 00:00:00
Could not parse metalink mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=x86_64 error was No repomd file Error: File /var/cache/yum/x86_64/$releasever/fedora/metalink.xml does not exist [root@localhost jcruz]#

edit flag offensive delete link more

Comments

Please delete this post since it isn't an answer and post it as a comment. What else have you changed in your system? For some reason yum appears to not be able to find the value of the "$releasever" variable. Try re-installing the fedora-release package. You can find it on one of the mirrors here: https://mirrors.fedoraproject.org/publiclist/

FranciscoD_ ( 2013-06-25 03:14:04 +0000 )edit
0

answered 2013-12-04 16:54:29 +0000

shawnl gravatar image

yum --releasever=18 distro-sync "*release"

edit flag offensive delete link more
0

answered 2013-06-24 12:50:00 +0000

Please be very careful while using rm -rf, specially as root. In this case, if you've only deleted stuff in /var/log, it shouldn't cause major breakages though.

Try:

 sudo yum clean all
 sudo yum update -y

That should hopefully work.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
1 follower

Stats

Asked: 2013-06-24 07:35:20 +0000

Seen: 7,153 times

Last updated: Dec 04 '13