dpkg/apt-get/aptitude broke after I fixed corrupted filesystem
Power went out (no, we don't have a UPS) while my wife was working on her computer. The root partition (ext3) took a hit via a corrupted journal. I did manage to fix the filesystem via an alternate superblock, but the fsck command threw a boat load of things in /lost+found, and "jiggled" a few other filenames about a bit, and I seem to have a problem with dpkg/apt-get/aptitude:
Namely, anything I do via dpkg/apt-get/aptitude throws the following error:
/* begin error message */
dpkg: serious warning: files list file for package `libxalan2-java-gcj' missing, assuming package has no files currently installed.
dpkg: serious warning: files list file for package `xserver-xorg-video-all' missing, assuming package has no files currently installed.
dpkg: error processing /var/cache/apt/archives/libxalan2-java-gcj_2.7.1-2_i386.deb (--unpack):
files list file for package `rplay-client' contains empty filename
Errors were encountered while processing:
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
/* end error message */
Now, I back up /var/cache/debconf, but that's about it for the dpkg-related files. I'm a bit tired right now, and can't really afford to make any mistakes... It seems to me that the errors are with the dpkg files lists for the packages mentioned.
How would I go about fixing this problem?
((PS: don't suggest that I reinstall the system, it isn't going to happen))