Ubuntu – Overwritten /usr/share/bin. Am I doomed

18.10binarycpfilesystem

I just managed to overwrite /usr/share/bin

and it doesn't seem like it's possible to undo.

I did this as a root user.

Am I doomed?

Best Answer

Not doomed at all.

Nothing critical in a Ubuntu Desktop or Ubuntu Server install uses /usr/share/bin.

Run dpkg -S /usr/share/bin to list your installed packages that use dir. Those packages, if any, should be reinstalled.

If the reply is no path found matching pattern, then you indeed have nothing installed that uses the dir.