User avatar
billybangleballs
Posts: 177
Joined: Fri May 18, 2012 11:28 pm

libudev1

Wed Jan 21, 2015 6:26 pm

pi@raspberrypi ~ $ sudo apt-get install libudev1 libudev-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libudev1

Is there a reason that this library is not available?
Would it be possible to build this library for the raspberry pi?
Is there any hardware limitations that would prevent the use of this library once built?

Thanks

P.S. Has anyone already built this library and would they be willing to share it?

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: libudev1

Wed Jan 21, 2015 7:08 pm

billybangleballs wrote:pi@raspberrypi ~ $ sudo apt-get install libudev1 libudev-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libudev1

Is there a reason that this library is not available?
Would it be possible to build this library for the raspberry pi?
Is there any hardware limitations that would prevent the use of this library once built?

Thanks

P.S. Has anyone already built this library and would they be willing to share it?
You should always undertake

sudo apt-get update

....prior to installing

Regards packages see: https://packages.debian.org/source/wheezy/udev
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

User avatar
billybangleballs
Posts: 177
Joined: Fri May 18, 2012 11:28 pm

Re: libudev1

Wed Jan 21, 2015 7:18 pm

fruitoftheloom wrote: You should always undertake

sudo apt-get update

....prior to installing

Regards packages see: https://packages.debian.org/source/wheezy/udev
So I didn't paste my entire .bash_history for brevity, but I can assure you I did sudo apt-get update before attempting the install.

pi@raspberrypi ~ $ sudo apt-get update
Get:1 http://mirrordirector.raspbian.org wheezy Release.gpg [490 B]
Get:2 http://mirrordirector.raspbian.org wheezy Release [14.4 kB]
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release
Get:3 http://mirrordirector.raspbian.org wheezy/main armhf Packages [6,893 kB]
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Fetched 6,908 kB in 56s (123 kB/s)
Reading package lists... Done
pi@raspberrypi ~ $ sudo apt-get install libudev1 libudev-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libudev1

User avatar
rpdom
Posts: 17173
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: libudev1

Wed Jan 21, 2015 7:26 pm

This is because libudev1 is not available in Wheezy, just libudev0. libudev1 is available in Jessie.

User avatar
billybangleballs
Posts: 177
Joined: Fri May 18, 2012 11:28 pm

Re: libudev1

Wed Jan 21, 2015 7:29 pm

fruitoftheloom wrote:
Regards packages see: https://packages.debian.org/source/wheezy/udev
I looked at the page you pointed to but was unable to find any mention of libudev1, are you sure you gave the correct url?

Thanks
Last edited by billybangleballs on Wed Jan 21, 2015 7:34 pm, edited 1 time in total.

User avatar
billybangleballs
Posts: 177
Joined: Fri May 18, 2012 11:28 pm

Re: libudev1

Wed Jan 21, 2015 7:32 pm

rpdom wrote:This is because libudev1 is not available in Wheezy, just libudev0. libudev1 is available in Jessie.
Does this mean I can't compile the program that requires libudev1? Or will libudev0 work instead?

Thanks

Return to “Advanced users”