• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 228
  • Last Modified:

Error: Cannot retrieve metalink for repository

There is a problem when installing something on Fedora.

Error: Cannot retrieve metalink for repository: fedora/20/i386. Please verify its path and try again.

What is metalink and how to solve this?
0
Nusrat Nuriyev
Asked:
Nusrat Nuriyev
  • 4
  • 3
  • 3
3 Solutions
 
Zephyr ICTCloud ArchitectCommented:
Might have to do with certificates for yum not being up to date or being borked ... To work around the problem you might first need to disable the use of https in your repositories (/etc/yum.repos.d) -- In the fedora.repo files (I think there's two) comment out the metalink and uncomment (remove #) from baseurl ...

Now do " yum update ca-certificates " see if the error goes away after that, if it doesn't, try reinstalling the certificates with " yum reinstall ca-certificates "
0
 
gheistCommented:
You must clear fastestmirror and mirror caches (one mirror is down)
yum clean all
yum check-update

Please post FULL yum output and command line.
0
 
Nusrat NuriyevAuthor Commented:
It was related with other problem:
http://programmist.az/fedora-fails-to-add-default-gateway-siocaddrt-network-is-unreachable/

What is metalink? Is the plugin is  messing everything around?
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
Zephyr ICTCloud ArchitectCommented:
A metalink is the link in the repo-file using the secure way of contacting the mirror list at Fedora ... So a more secure way to get the updates/software ... Since it's secure it uses certificates... These certificates can sometimes be a problem.
0
 
gheistCommented:
Siocaddrt network unreachable means that gatewai is outside your subnet and did not report on ARP query, so actually even on same wire it does not want to talk to you.
0
 
Nusrat NuriyevAuthor Commented:
spravtek,
Ah, and as a part of that process it connects via http not https. That's why I saw an answer in StackOverflow, that metalinks should be changes to http...

gheist,
So, maybe gateway's ip is 192.168.0.254 is a bit non-standard for fedora? Unfortunately, I don't have that notebook, to see which network is there.
0
 
Zephyr ICTCloud ArchitectCommented:
Metalling uses https yes, for this to be secure it uses certificates ... So by disabling (#) this, you are switching to non-secure http.
0
 
gheistCommented:
Probably some typed IP wrong.
0
 
Nusrat NuriyevAuthor Commented:
I have typed wrong three times? ah ... it's hard to imagine.
0
 
gheistCommented:
Trust me it gets worse with age....  Learn to make it DHCP ;)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

  • 4
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now