1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
python-dev
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 920 B of archives.
After this operation, 25.6 kB of additional disk space will be used.
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main python-dev all 2.7.3-4+deb7u1
Temporary failure resolving 'mirrordirector.raspbian.org'
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/python-defaults/python-dev_2.7.3-4+deb7u1_all.deb  Temporary failure resolving 'mirrordirector.raspbian.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I try to install spi but i see these mirrordirector error. How can i solve?

4
  • 3
    The error does say temporary issue resolving host so my first thought is to wait a few hours. Commented Feb 26, 2015 at 9:18
  • 1
    The error says "maybe run apt-get update or try with --fix-missing?" Did you try any of these?
    – Bex
    Commented Feb 26, 2015 at 10:51
  • Have you ever been able to run apt-get update or upgrade? Are you connected to the internet? Can you ping 8.8.8.8 Commented Feb 26, 2015 at 18:45
  • this is the answer : 'run apt-get update -bash: run: command not found' Commented Feb 27, 2015 at 11:51

1 Answer 1

1
dig mirrordirector.raspbian.org

will let you know your dns is working

sudo nice apt-get update

Will make sure you have the correct urls

sudo nice apt-get upgrade

Will make sure you have the latest versions

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.