files list file for package `smbfs' is missing final newline

Ok here is an unusual problem I discovered while using apt-get install.  Installations were erroring out due to errors similar to the above for some necessary package.

After some looking on the internet I found the issue to be the following:
For the packages that are erroring out you should find a file /var/lib/dpkg/info/"whateverpackage".list The issue is that somehow that file is corrupted and needs to be removed or altered in order to proceed.

My remedy was to mv them all to .old extensions so aptitude would not find them and then error out.  I don't know what the cause of this is but I have run into it twice now in the past 8 years of using Linux.


Comments

Popular Posts