1

This question already has an answer here:

My OS is debian SID and i can't apt-get install anything because I am greeted with this message everytime:

dpkg: unrecoverable fatal error, aborting:
files list file for package 'gucharmap' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)

Help appreciated.

marked as duplicate by Julie Pelletier, mdpc, Anthon, guido, Kusalananda Aug 19 '16 at 12:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0

SO I followed this guide here: https://blog.bartbania.com/raspberry_pi/files-list-file-missing-final-newline/

And managed to fix my problem.

0

I had this problem in Linux Mint 17.3 when using the Update GUI.

I fixed the issue by deleting the package.list file and reinstalling the package.

sudo rm /var/lib/dpkg/info/gucharmap.list 
sudo apt-get install gucharmap --reinstall

While this did fix my problem, I'm not sure if it could have unintended side-effects. If anyone knows of any, please post in comments :)

Not the answer you're looking for? Browse other questions tagged or ask your own question.