DPKG Was Interrupted, You Must Manually Run dpkg –configure -a to correct the problem
Now I share Ubuntu server upgrade command error like dpkg was interrupted, you must manually run dpkg –configure -a to correct the problem. So I remove this error using below method.
When run apt upgrade so I see below error.
$ apt upgrade
dpkg was interrupted, you must manually run ‘dpkg –configure -a’ to correct the problem
So I run dpkg –configure -a this command then again see below error.
$ dpkg –configure -a
dpkg: error: parsing file ‘/var/lib/dpkg/updates/0004’ near line 0
newline in field name ‘#padding’
rm /var/lib/dpkg/updates/000* apt-get clean apt-get update apt-get install ttf-mscorefonts-installer dpkg --configure -a apt upgrade -y
Now install another package using apt command.