On 27 January 2011 09:37, Wolodja Wentland <wolodja.wentl...@ed.ac.uk> wrote: > On Thu, Jan 27, 2011 at 07:13 +0000, Kelly Harding wrote: >> hi >> >> have been getting following errors when tryign to upgrade my Debian sid box: >> >> dpkg-query: parse error, in file '/var/lib/dpkg/status' near line > > [...] > >> Results in inability to upgrade any packages on the system. >> Anyone come across this and know how to fix? or is a system re-install >> needed? > > The easiest way is to restore that file from your backups. > > Don't have any? Make some now and: No problem (in this particular > case) because the system kept some for you. > > Have a look at: > > /var/backups/dpkg.status.* > > The file named "dpkg.status.0" should be identical to the original > status file. > > There is also /var/lib/dpkg/status.old and other older versions in > /var/backups/, but I would just move the corrupted file somewhere else, > and copy /var/backups/dpkg.status.0 over instead. > > Does that solve your problem?
I've used diff on all the backups of dpkg.status (all 7) and theres no difference relating to virtualbox-2.1 in them. the last backup (dpkg.status.0) is identical to dpkg.status. I'm at a loss with this. kelly -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktikwmymxqrumh0_56l4ceh_u9to5zr2qrn7sw...@mail.gmail.com