2 Replies Latest reply: Apr 19, 2014 1:38 PM by Triton RSS

    i2cdetect comand not found

    Triton

      Having trouble with i2c tools. This is what happens when I install i2c tools:

       

      pi@raspberrypi ~ $ sudo apt-get install i2c-tools

      Reading package lists... Done

      Building dependency tree

      Reading state information... Done

      Suggested packages:

        libi2c-dev python-smbus

      The following NEW packages will be installed:

        i2c-tools

      0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

      Need to get 59.5 kB of archives.

      After this operation, 223 kB of additional disk space will be used.

      Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main i2c-tools armhf 3.1.0-2

        Temporary failure resolving 'mirrordirector.raspbian.org'

      Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/i/i2c-tools/i2c-tools_3.1.0-2_armhf.deb  Temporary failure resolving 'mirrordirector.raspbian.org'

      E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

       

      Next I reboot, then when I type sudo i2cdetect -y 1

      I get sudo: i2cdetect: command not found

      So has i2c-tools actually installed? Does it need to connect to http://mirrordirector.raspbian.org/raspbian/ wheezy/main to download i2c-tools armhf 3.1.0-2?   Been hours on this so any help is much appreciated.

      Thanks

      Gary