Comment 1 for bug 215305

Revision history for this message
Danny Masri (d-masri) wrote :

I get a similar error and need help resolving

When i try to add/remove programs i get the following error:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report

So i've tried all the following comands:

sudo apt-get -f install
sudo apt-get clean all
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean all
sudo apt-get autoremove

but each time i get asked to run sudo dpkg --configure -a and when i do i get
dpkg: parse error, in file `/var/lib/dpkg/updates/0214' near line 1:
 newline in field name `#padding'

How do i solve this error?