Ubuntu: How to recover libudev.so.1



Question:

By mistake, I overwrote /lib/x86_64-linux-gnu/libudev.so.1 and replaced it with a link.

You may have a look on this:

~$ ls /lib/x86_64-linux-gnu/ -l | grep -i libudev  lrwxrwxrwx 1 root root      35 May 16 22:52 libudev.so.1 -> /usr/share/koala/koala/libudev.so.0  -rw-r--r-- 1 root root  126840 May  5 22:25 libudev.so.1.6.4  

How can I bring the libudev.so.1 back?

(I'm using Ubuntu 16.04 64-bit)


Solution:1

Try reinstalling the libudev1 package.

apt-get download libudev1  sudo dpkg -i libudev1_229-4ubuntu4_amd64.deb  

or whatever the file is called.


Solution:2

I solved the problem by running this command:

~$ sudo apt install --reinstall libudev1  

As the result:

~$ ls /lib/x86_64-linux-gnu/ -l | grep libudev  lrwxrwxrwx 1 root root      16 May  5 22:25 libudev.so.1 -> libudev.so.1.6.4  -rw-r--r-- 1 root root  126840 May  5 22:25 libudev.so.1.6.4  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »