Problem Updating: missing final newline error

Asked by JammyDoger

Whenever I go onto the Update Manager I select my updates and click update. Then I receive an error saying:

E: /var/cache/apt/archives/python2.5_2.5.1-0ubuntu1_i386.deb: files list file for package `language-pack-fr-base' is missing final newline

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Hanusz leszek
Solved:
Last query:
Last reply:
Revision history for this message
Markus Thielmann (thielmann) said :
#1

Thanks for your question.

Unfortunatly, that error is not easy to fix. We should first start analyzing why this happend. Did you experience any system crash before? Any problems with a corrupt file system? Did the update manager crash?

Revision history for this message
JammyDoger (jakemorris666) said :
#2

Hmm, I haven't experienced any crashes of any sort since it all installed. I only got it today (never really used Linux before), I installed it and everything went smoothly. I got to the desktop and it said I have updates. Its been happening since then.

Revision history for this message
Best Hanusz leszek (leszek-skynet) said :
#3

It seems you got this bug:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/108189

Please try this command in a terminal and report if it works:
echo -en '\n' | sudo tee -a /var/lib/dpkg/info/language-pack-fr-base.list

Revision history for this message
JammyDoger (jakemorris666) said :
#4

Thanks Hanusz leszek, that solved my question.