Corrupt all the .list!

So I went through A little hiccup with my server recently where a couple of restarts caused (a lot) corrupted /list files in the dpkg manager lib. This can be found under “/var/lib/dpkg/info” and the error that shows up during “apt-get install” instances is:

(Reading database… 65%dpkg: unrecoverable fatal error, aborting: files list file for package ‘*package name*’ is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install.

I figured that the best way to fix this was to do a complete re-install considering that every package had a corrupt list (or the first 6 to 8 that I had tried did). In the process of doig this, I figured I would check out the firmware for my SSD that I use as the main drive in this setup.

As it turns out, Kings has released a new firmware version in which the release note states:

“Resolves an issue where the drive becomes unresponsive after continuous usage for 2982 hours and 37 minutes without power cycle. Issue does not occur if drive is power cycled prior to the 2982 hour limit.”

This does not describe my situation, but it certainly explains why the data *may* have been corrupted. So needless to say that update destroyed all data on the SSD, this means that a fresh install was the only option I had. Good thing I keep backups.