LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   dpkg: parse error, in file `/var/lib/dpkg/updates/0004 (http://www.linuxquestions.org/questions/linux-general-1/dpkg-parse-error-in-file-%60-var-lib-dpkg-updates-0004-a-939999/)

contact.aprie 04-16-2012 03:06 AM

dpkg: parse error, in file `/var/lib/dpkg/updates/0004
 
Dear all,

I am a newbie here. I am looking for solution for following problem.
below is the error message:

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem

when I type dpkg --configure -a on console, it replied dpkg: parse error, in file `/var/lib/dpkg/updates/0004 near line 0: newline in field name 'padding'


Can anyone suggest possible solution?


many thanks

amani 04-17-2012 12:01 PM

sudo apt-get -f install
sudo apt-get clean
sudo apt-get update

else

sudo rm -f /var/lib/dpkg/updates/*

contact.aprie 04-17-2012 09:01 PM

I decided to reinstall my BT 5.1. it is now working very well.


All times are GMT -5. The time now is 05:13 AM.