How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

January 4, 2017

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

Filed under: Linux — Tags: , , , — admin @ 6:01 pm

Today I wanted to upgrade a php webserver with php5.6 . However the epel didn’t work .
After a yum clean all got this title error

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

To fix this I needed to upgrade the ceritiface without epel .

yum upgrade ca-certificates –disablerepo=epel
After this all works.

August 5, 2015

Make apt-get use IPv4 instead of IPv6

Filed under: Linux — Tags: , , , — admin @ 2:15 pm

I have try today to run some apt-get update and it take some time to figure the ipv6 ip . So I wanted to not use ipv6.
The fix is to un comment the line 54 from this file
/etc/gai.conf
precedence ::ffff:0:0/96 100

after this all run smooth.

Powered by WordPress