14.04 Unable to install correct package
18,754
Solution 1
Use sudo apt-get install libudev1
if libudev.so.1
is not already installed then:
sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0
Solution 2
I've downloaded the libudev0
package from http://packages.ubuntu.com/precise-updates/libudev0 and then install like this:
sudo dpkg -i libudev0_175-0ubuntu9.10_amd64.deb
.
it works for me.
Related videos on Youtube
Author by
Thijser
Updated on September 18, 2022Comments
-
Thijser over 1 year
I'm attempting to configure an oculus rift for this I need to execture
./OculusConfigUtil_i386
This gives me the following error:
./OculusConfigUtil_i386: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
then doing
sudo apt-get update sudo apt-get install libudev0:i386 sudo apt-get install libudev0
both eturned that the packagep(:i386) has no installation candidate.
This worked for me, but gave me the error:
./OculusConfigUtil_i386: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
when trying to run the script again. any ideas?
Running:
ls -l /lib/x86_64-linux-gnu | grep libudev
Gives this output:
lrwxrwxrwx 1 root root 34 jul 22 09:56 libudev.so.0 -> /lib/x86_64-linux-gnu/libudev.so.1 lrwxrwxrwx 1 root root 16 jun 20 02:15 libudev.so.1 -> libudev.so.1.3.5 -rw-r--r-- 1 root root 67600 jun 20 02:16 libudev.so.1.3.5
-
Pabi almost 10 yearsSo you have installed libudev.so.1?
-
Thijser almost 10 yearsI have installed libdconf1, sudo apt-get install libudev.so.1 also returns unable to locate package libudev.so.1
-
Pabi almost 10 years
locate
is not updated instantly, runsudo updatedb
to update it. -
Thijser almost 10 yearsNope still the same problem sudo updatedb runs fine (no return value just runs) but all other installs still fail and so does the script
-
-
Thijser almost 10 yearsWell I have libdconf1 (in the linked question) but don't have libudev.so.1 which when I run sudo apt-get install libudev.so.1 returns E: Unable to locate package libudev.so.1 E: Couldn't find any package by regex 'libudev.so.1'
-
Pabi almost 10 years
sudo apt-get install libudev1
is the command you need to run. -
Thijser almost 10 yearssudo apt-get install libudev1 returned 17 not upgraded and the rest unchanged sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0 returned nothing and the script still doesn't run same error
-
Pabi almost 10 yearsPost the output of
ls -l /lib/x86_64-linux-gnu | grep libudev
please. -
Thijser almost 10 yearsI put the output in the OP
-
Pabi almost 10 yearsOutput looks fine to me.
-
Thijser almost 10 yearsYes but the script isn't working so am I doing something wrong here? Is the script wrong?
-
Thijser almost 10 yearsAh found it should have made sure the script was also in 64 bits not 32 bits thank you for your help