Rebuild Synaptic Database

Problem : Synaptic has seemed to quit working.
Synaptic loads up but doesn't load the list and the menu's are grayed out.

Reason - It could be that the Synaptic database is corrupted. Solution - Open a terminal and enter these commands:

[ @localhost ~]$ su 

Password: root password>

Remove the corrupt database:

[root@localhost ]# rm -f /var/lib/rpm/__db.*



Rebuild the database:

[root@localhost ]# rpm -vv --rebuilddb



You'll see a lot of text scroll by, this may take sometime to complete. Let it finish!

Check for duplicate installed packages:

[root@localhost ~]# dupeclean



Clean out apt:

[root@localhost ~]# apt-get clean



[root@localhost ~]# apt-get autoclean



Close the terminal and try Synaptic again.

Database rebuild information provided by forum member old-polack and Texstar