dpkg errors were encountered while processing/package is in a very bad inconsistent state
4268
How to fix "Package is in a very bad inconsistent state" error?
74227
dpkg error when using apt-get install
32186
dpkg-deb: error: archive ... has premature member 'control.tar.xz' before 'control.tar.gz', giving up
23826
How do I fix a "Unknown configuration key `foreign-architecture' found in your `dpkg' configuration files." error?
2432
Unable to correct problems, you have held broken packages
131568
Packages problems on version 9 under OS X
13054
Failing package manager?
31793
The following packages have unmet dependencies!
108122
Message 'E:dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.'
12133
Why does dpkg give me this parsing error?
147336
How to fix dpkg error [2]?
21062
dpkg: error: parsing file '/var/lib/dpkg/available' near line 0
728
Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
74838
Lost/Deleted dpkg (package manager for Debian). How do I get it back?
118754
Package dependencies cannot be resolved
73053
Unable to lock the administration directory (/var/lib/dpkg/), are you root?
138125
dpkg: error: cannot scan updates directory `/var/lib/dpkg/updates/'