apt-get -f install. It still failed on me.
root@axis:~# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 63 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. debconf: DbDriver "config": could not open /var/cache/debconf/config.dat Setting up man-db (22.214.171.124-2) ... debconf: DbDriver "config": could not open /var/cache/debconf/config.dat dpkg: error processing man-db (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: man-db E: Sub-process /usr/bin/dpkg returned an error code (1)
It had me stumped at first- I tried clearing the cache and even rebuilding the apt-get config files. Turns out the issue is much simpler; there was no /var/cache/debconf directory!
mkdir /var/cache/debconf, I was able to proceed with the rest of the update. The hint was:
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat. Like any good sysadmin, I decided to see what was in /var/cache/debconf- but as the directory didn't exist.. I created it manually and ran the command again.