0

I'm encountering an error on Centos 6.9 when installing git.

I've tried some thread on similar cases but none of them work. (like nameserver on resolver.conf, yum clean all, and etc.)

Additional info:

  • This is on a docker. I just spawn a container with centos 6.9 (is this a big factor that can cause the said error?).

  • This not happen at my home network. Only at work network.

yum install git -y

Loaded plugins: fastestmirror, ovl  
Setting up Install Process  
base                                                                                                                                                                     | 3.7 kB     00:00  
http://mirror.pregi.net/centos/6.10/os/x86_64/repodata/1aa8754bde2f3921d67cca4bb70d9f587fb858a24cc3d1f66d3315292a89fc20-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 503 Service Unavailable"  
Trying other mirror.  
http://mirror.rise.ph/centos/6.10/os/x86_64/repodata/1aa8754bde2f3921d67cca4bb70d9f587fb858a24cc3d1f66d3315292a89fc20-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 503 Service Unavailable"  
Trying other mirror.  
http://mirror-hk.koddos.net/centos/6.10/os/x86_64/repodata/1aa8754bde2f3921d67cca4bb70d9f587fb858a24cc3d1f66d3315292a89fc20-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 503 Service Unavailable"  
Trying other mirror.  
http://hk.mirrors.thegigabit.com/centos/6.10/os/x86_64/repodata/1aa8754bde2f3921d67cca4bb70d9f587fb858a24cc3d1f66d3315292a89fc20-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 503 Service Unavailable"  
Trying other mirror.
Error: failure: repodata/1aa8754bde2f3921d67cca4bb70d9f587fb858a24cc3d1f66d3315292a89fc20-primary.sqlite.bz2 from base: [Errno 256] No more mirrors to try.
  • Is this container able to ping www.google.com? If you install centos 6.9 on another computer and not a container, will that allow you to install git? I read an article on reddit in which someone described having this exact same issue and they said it was due to the Palo Alto Networks firewall that was in place. Do you know if your company has Palto Alto Networks firewall? – Gordster Sep 20 at 4:58
  • Is this container able to ping www.google.com? - there's no ping or traceroute installed on the container. I tried curl instead and it can call the google. – Marck Sep 20 at 5:51
  • If you install centos 6.9 on another computer and not a container, will that allow you to install git? - I haven't tried this yet because I don't have any available unit to use. But, I ask my co-workers if they can download the source and they can. – Marck Sep 20 at 5:51
  • Do you know if your company has Palto Alto Networks firewall? - The guy I asked does not know about the firewall. – Marck Sep 20 at 5:52
  • 1
    Upon research I learned that this issue is most probably on network connection or something. I have tried using my mobile hotspot using mobile data and it works properly. Now the problem lies on network admin, they claim that this issue is on my unit or docker and not on the network. Because some people are not having an issue with this. I've tried modifying my docker network config from Auto DNS to 8.8.8.8 There's also one option to use proxy. But I don't know what value to use. – Marck Sep 20 at 5:53

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.