dpkg: error: parsing file '/var/lib/dpkg/updates/0045' near line 0:

Posted by ?????? on Ask Ubuntu See other posts from Ask Ubuntu or by ??????
Published on 2012-11-06T03:05:30Z Indexed on 2012/11/06 5:19 UTC
Read the original article Hit count: 591

Filed under:

I am getting this error in Ubuntu 12.04 , while doing the below operation.

frank@august:~$ sudo apt-get install ttf-mscorefonts-installer
[sudo] password for frank: 
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct    the problem. 
frank@august:~$ sudo dpkg --configure -a
dpkg: error: parsing file '/var/lib/dpkg/updates/0045' near line 0:
 newline in field name `#padding'
frank@august:~$ 

&

frank@august:~$ head /var/lib/dpkg/updates/0045
#padding
#padding
#padding
#padding
#padding
#padding
#padding
#padding
#padding
#padding
frank@august:~$ 

I can't see where is the error , help me to solve this. Thank you.

© Ask Ubuntu or respective owner

Related posts about dpkg