Fix error in man-db in Ubuntu
yesterday while loging on to mysql found that my password was not working and after googling to resolve the problem I was able to fix the problem but encountered another error message when I was trying to reconfigure dpkg
i issued the following command
sudo dpkg –configure -a
Setting up man-db (2.6.3-3) …
Can’t exec “/var/lib/dpkg/info/man-db.config”: Permission denied at /usr/share/perl/5.14/IPC/Open3.pm line 186.
open2: exec of /var/lib/dpkg/info/man-db.config configure 2.6.3-3 failed at /usr/share/perl5/Debconf/ConfModule.pm line 59
dpkg: error processing man-db (–configure):
subprocess installed post-installation script returned error exit status 13
Errors were encountered while processing:
man-db
Now I started googling to solve this problem and found that this is a bug which have not been assigned to anyone yet by ubuntu community.
once earlier the similar thing happened with my ubuntu installation, and being a newbee in could not fix that and had to reinstall ubuntu. But today I could successfully fix it. the solution was easy one this time
simply remove the man-db using synaptic package manager (complete removal) and then reinstall it. it was that simple.
people who prefer command line can try following commands
sudo apt-get remove man-db
then
sudo apt-get install man-db
to confirm that problem is resolved type the following command
sudo dpkg –configure -a
again
i issued the following command
sudo dpkg –configure -a
Setting up man-db (2.6.3-3) …
Can’t exec “/var/lib/dpkg/info/man-db.config”: Permission denied at /usr/share/perl/5.14/IPC/Open3.pm line 186.
open2: exec of /var/lib/dpkg/info/man-db.config configure 2.6.3-3 failed at /usr/share/perl5/Debconf/ConfModule.pm line 59
dpkg: error processing man-db (–configure):
subprocess installed post-installation script returned error exit status 13
Errors were encountered while processing:
man-db
Now I started googling to solve this problem and found that this is a bug which have not been assigned to anyone yet by ubuntu community.
once earlier the similar thing happened with my ubuntu installation, and being a newbee in could not fix that and had to reinstall ubuntu. But today I could successfully fix it. the solution was easy one this time
simply remove the man-db using synaptic package manager (complete removal) and then reinstall it. it was that simple.
people who prefer command line can try following commands
sudo apt-get remove man-db
then
sudo apt-get install man-db
to confirm that problem is resolved type the following command
sudo dpkg –configure -a
again
Wish you a happy computing
visit http://itpundit.org