Index ¦ Archives  ¦ Atom  ¦ RSS

Error upgrading man-db (and others)

When upgrading man-db recently, I ran into this unexplained error:

Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
debconf: DbDriver "config": mkdir :No such file or directory

It took a bit to find the answer online, so I'm going to post what worked for others and myself:

sudo apt-get install debconf --reinstall

Pretty simple, as most of these solutions are :)

© Fahrzin Hemmati. Built using Pelican. Theme by Giulio Fidente on github.