Rebuild dpkg configuration/cache? (urgent!)
I have written a couple of times asking for help following dpkg failing
after a server went down during an apt-get dist-upgrade.
The errors start like this when installing ssh:
Unpacking ssh (from ssh_1%3a3.6.1p2-1_i386.deb) ...
Use of uninitialized value in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 29.
Use of uninitialized value in exists at /usr/share/perl5/Debconf/Template.pm line 66, <GEN1> line 4.
It looks like some sort of cache value is missing in the dpkg database.
This problem exists for a number of packages, but not all of them. Is
there any way of rebuilding the database or reinstalling dpkg from
scratch without having to rebuild the server?
Thanks for any help