We are running Ubuntu server on VPS. Some files were removed accidentally by placing unnecessary space this command:
rm -r /usr/local <directory to be deleted>
I know, that in most cases this directory is used by packages to place some part of their content.
Is there any where to recover deleted files and directories?
I suppose, that theoretically it should be possible. Some software can look through the list of installed packages, check presence of files in file system and recover or reinstall corrupted packages if their files are missing in /usr/local.