Thursday, July 22, 2010

rpmdb: Lock table is out of available locker entries

This is what to do to fix this kind of problem :

tar cvzf rpmdb-backup.tar.gz /var/lib/rpm
rm /var/lib/rpm/__db.00*
rpm --rebuilddb
rpm -qa | sort

The first line is to backup your database
The second to remove locks
The third to rebuild your database
The fourth to check if all is ok

Remove ugly bash (shell) directory highlight colors

Tired of green over blue colors in default Ubuntu shell for directories ? Just type this from your shell console to update your bash profi...