Ubuntu: Re-setting Ubuntu, checking files



Question:

Is there any way to check files in Ubuntu and reset config if there is something wrong? Some application that will go through the files and detects if they are in a good standing.


Solution:1

To check the integrity of files that came from deb packages, you can make use of the /var/lib/dpkg/info/*.md5sums files.

Verifying Unity files:

cd /  md5sum -c /var/lib/dpkg/info/unity*.md5sums  

If you get an error just run sudo apt-get --reinstall install <corrupted-package-name> to reinstall the package.


Solution:2

If you're talking about Unity you can try to execute unity --reset on a terminal (Ctrl+Alt+T).


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