"missing final new line" problem

Asked by jompz

i installed the ubuntu ultimate 1.4 (based om feisty fawn 7.04)

im trying to update with Update Manager.
and i get this error..

E: /var/cache/apt/archives/python2.5_2.5.1-0ubuntu1_i386.deb: files list file for package `linux-headers-2.6.20-15' is missing final newline

The line:
`linux-headers-2.6.20-15' is missing final newline is following me !

i cant install anything. cant update cant di nothing with the system right now..

i tryed to fix this but nothing works..im new to this..

please help

best regards
john

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Cesare Tirabassi (norsetto) said :
#1

Most probably a corrupt file in /var/lib/dpkg/info/; since the originating package is python2.5 it should be pretty safe to delete all files related to it in that directory.

Revision history for this message
jompz (j-westermark) said :
#2

oki... im lost anyway.

this thing i haunting me.. :P cant sleep

Revision history for this message
Cesare Tirabassi (norsetto) said :
#3

You can also check the content of the package with this command:

dpkg --contents /var/cache/apt/archives/python2.5_2.5.1-0ubuntu1_i386.deb

Check if it is correct (you can also compare it with the official listing at archive.ubuntu.com).

If it is not correct, try to reinstall it with:

sudo apt-get install --reinstall python2.5

I assume ubuntu ultimate 1.4 uses the Ubuntu repositories. If that package is not coming from our repositories, than you should file a bug or ask for support to the maintainer of that repository.

Can you help with this problem?

Provide an answer of your own, or ask jompz for more information if necessary.

To post a message you must log in.