Graymalk
Posts: 55
Joined: Wed Nov 11, 2015 8:33 pm

having trouble contacting mirrors

Wed Mar 23, 2016 3:43 am

I've been trying to install some software via apt-get and it chokes when it tries to contact mirrordirector.raspbian.org/ . On one Pi (a Pi B), it just eventually gives up and errors out. On another (Pi 2B), it waits a super long time but eventually installs. I've done apt-get clean several times. Is there anything else I can try? Can I manually download the package somehow, save, and install? I'm trying to install samba. Should I give up and try to find code somewhere that I can compile? Can I somehow grab the package off the one that succeeded and give it to the other (as in, do they get saved in a nice package form somewhere that I can copy from)?

User avatar
heatfanjohn
Posts: 28
Joined: Fri Jun 28, 2013 5:18 pm
Location: Davie, FL

Re: having trouble contacting mirrors

Wed Mar 23, 2016 3:56 am

I get "unable to connect to mirrordirector.raspbian.org:http:" errors also. See below:

Code: Select all

[email protected] ~ $ sudo apt-get update -o Acquire::ForceIPv4=true
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://archive.raspberrypi.org jessie/main Sources
Hit http://archive.raspberrypi.org jessie/ui Sources
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Err http://mirrordirector.raspbian.org jessie InRelease

Err http://mirrordirector.raspbian.org jessie Release.gpg
  Unable to connect to mirrordirector.raspbian.org:http:
Reading package lists... Done
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/InRelease

W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/Release.gpg  Unable to connect to mirrordirector.raspbian.org:http:

W: Some index files failed to download. They have been ignored, or old ones used instead.

Graymalk
Posts: 55
Joined: Wed Nov 11, 2015 8:33 pm

Re: having trouble contacting mirrors

Wed Mar 23, 2016 4:10 am

Well then. I fixed it by changing mirrors. Except I had to go pretty far down the list of Raspbian mirrors before I found one that worked, which is a little surprising.

Rhodan
Posts: 2
Joined: Wed Mar 23, 2016 7:41 pm

Re: having trouble contacting mirrors

Wed Mar 23, 2016 8:12 pm

Same here. Which mirror did you find that worked?

mstrick96
Posts: 4
Joined: Wed Mar 23, 2016 3:13 pm

Re: having trouble contacting mirrors

Sun Mar 27, 2016 6:44 pm

I've been having the same problem. Am still learning Linux.

How can I change the mirror I use?

Return to “Raspbian”