Why does dpkg give me this parsing error?

Solution 1:

The following command should resolve your problem:

sudo dpkg --clear-avail