3

I have problems when trying to update the apt repositories.

pi@raspberrypi:~ $ sudo apt-get update
Err http://mirrordirector.raspbian.org jessie InRelease

Err http://mirrordirector.raspbian.org jessie Release.gpg                      

W: Some index files failed to download. They have been ignored, or old ones used instead.
Bex
  • 2,929
  • 3
  • 26
  • 34
happy
  • 39
  • 1
  • 1
  • 2

3 Answers3

6

There is DNS related issues with mirorrdirector. See answer here : cannot connect to mirrordirector.raspbian

You can remove

deb http://mirrordirector.raspbian.org/raspbian wheezy main firmware

from /etc/apt/sources.list then add another mirror found here to this file.

Or, you can change /etc/resolv.conf to something like :

nameserver 8.8.8.8 
nameserver 4.4.4.4
Patator
  • 161
  • 1
0

For anyone who could ping an explicit IP address like 1.1.1.1 but not domain names and got an error like this:

ping: google.com: Temporary failure in name resolution

You most likely have a DNS issue. My RPi running OMV has a static IP and also has this issue, but I found a solution here. Hope this helps!

Ben Lam
  • 1
  • 1
0

Fixed mine just if you edit "sudo nano /etc/dhcpcd.conf" and have manually IP Static Config Settings the line for "static domain_name_servers=192.168.x.x 8.8.8.8" for example. Save and reboot. Remember 192.168.x.x is Your Local Router/Gateway IP Address. This works for me!