dpkg error parsing file '/var/lib/dpkg/updates/0001' code example
Example: dpkg: error: parsing file '/var/lib/dpkg/updates/0013' near line 0: newline in field name '#padding'
sudo rm -rf /var/lib/dpkg/updates/*
dpkg --configure -a
sudo rm -rf /var/lib/dpkg/updates/*
dpkg --configure -a