Serious dpkg problems
Hi. I realise this isn't a ppc question, but since I've had no response
on debian-user over the last 2 days I thought I would take the liberty
of trying here (where people have always been helpful!).
A server went down during an apt-get dist-upgrade. It looks like some
sort of cache value is missing in the dpkg database -- I had to fsck the
disk by hand after the crash and a there were a fair number of problems.
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?
The errors start like this when installing ssh (for instance):
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.
Thanks for any help