Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
104
rated 0 times [  104] [ 0]  / answers: 1 / hits: 80966  / 2 Years ago, fri, may 27, 2022, 5:56:18

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

frank@august:~$


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


More From » dpkg

 Answers
5

Ok I have solved the issue myself.



I ran these two commands in terminal (CTRL+ALT+T):



cd /var/lib/dpkg/updates && rm -rf 0045
sudo dpkg --configure -a


And my issue was solved.


[#34457] Saturday, May 28, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ormlai

Total Points: 292
Total Questions: 106
Total Answers: 115

Location: Cape Verde
Member since Fri, Sep 16, 2022
2 Years ago
;