I'm trying to install a third party library, which has a dependency with
libusb-1.0-0dev library. Raspberry pi has
NOOBS setup, which I believe
libusb library is pre-installed within it. To cross-check the library version, I ran the command.
$ ldconfig -p | grep libusb
It returns a line that shows the
libusb-1.0-0 version installed(not the dev version). As I need
libusb-1.0-0-dev version, so I tried to install the dev version using this command
$ sudo apt-get install libusb-1.0-0-dev
It returned an error,
pi@raspberrypi ~/libphidget-22.214.171.12450410 $ sudo apt-get install libusb-1.0-0-dev Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libusb-1.0-0-dev 0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded. Need to get 184 kB of archives. After this operation, 962 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libusb-1.0-0-dev Install these packages without verification [y/N]? y Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libusb-1.0-0-dev armhf 2:1.0.11-1 Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname) Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libu/libusbx/libusb-1.0-0-dev_1.0.11-1_armhf.deb Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname) E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I even tried to run with --fix-missing, but gives the same error. Did anyone come across this issue, or any suggestions on how to install libusb.