Celeb Glow
news | March 25, 2026

How do I restore accidently deleted system library(libpro*)?

As the title said, I accidentally deleted system libraries which has the name pattern of "libpro*" in usr/lib/. And then, when I reboot the system, graphical user interface is gone away(Ubuntu gnome 16.04). My original intention is to delete google's protobuf library only, but my careless action causes this disaster result. It seems to me that I deleted libproj, libproxy, and etc(libpro*) including google's libproto. How can I restore my system before deleting the those files? Can I just copy other ubuntu's libpro* files into my system?

1

1 Answer

You can find which libraries that was deleted by using the command

dpkg-query --search /usr/lib/*libpro*

Then reinstall them by calling

sudo apt-get install --reinstall lib...

for each of the missing libraries
... should be proj, proxy and so forth

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy