dpkg: error: parsing file '/var/lib/dpkg/status' near line 6449

Posted by mpole on Ask Ubuntu See other posts from Ask Ubuntu or by mpole
Published on 2012-03-04T18:42:57Z Indexed on 2012/06/30 3:24 UTC
Read the original article Hit count: 527

Filed under:

Good evening. This problem occured when trying to update using the update manager. A problem occured so I cleared all the cache and tried to update once again this time in terminal, and it spat out:

dpkg: error: parsing file '/var/lib/dpkg/status' near line 6449
missing package name

After opening up 'status' with gedit and going to line 6449, I found that nothing was on that line but the following was before and after it.

This package contains the Mono System.Configuration library for CLI 4.0.
Original-Maintainer: Debian Mono Group <[email protected])oth.debian.org>
Homepage: http://www.mono-project.com/
                                                   <<<<---- LINE 6449
Package: bzip2
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 160
Maintainer: Ubuntu Developers <[email protected]>

<<<<--- LINE 6449 is obviously not on the file, but I can't see whats wrong here? anybody have an idea?

Thanks!

Edit: I have tried running:

sudo apt-get install --fix-missing
sudo dpkg --clear-avail

But no good...

© Ask Ubuntu or respective owner

Related posts about dpkg