The Error message “Cannot retrieve metalink for repository:fedora/20/x86_64. Please verify its path and try again” pop up when try to use the command “sudo yum update”.
I did this lab in RMIT network lab and the lab is sitting behind a proxy server. So I did change the network proxy server in order to browse the network by browser. Steps: activities->settings->network->Network Proxy. Maybe this setting only apply to the browser not the terminal yum command.
So I need to change the Proxy server for the yum configuration.
After some research, I need to change the /etc/yum.conf
proxy setting must specify the proxy server as a complete URL, including the TCP port number. If your proxy server requires a username and password, specify these by adding
For example, if your network proxy server’s ip address is 192.168.0.1,and use port number 8080. Use these steps:
1, Open terminal, type
sudo gedit yum.conf, to edit the yum.conf by gedit.
3. Add the line like this: proxy=http://192.168.0.1:8080, save it, all done!
Created apt.conf file in /etc/apt/ sub-directory.
sudo vi /etc/apt/apt.conf
Added proxy and proxyport text line to /etc/apt/apt.conf file.
Save apt.conf file and reboot.
create a apt.conf in /etc/apt/apt.conf.d, then add:
Fedora 13 can not update
edit the file
/etc/yum.repos.d/ yum.repos.d and
change all the https into http.