Run dpkg --configure -a before apt-get update, too.
Run dpkg --configure -a before apt-get update, too.

apt-get update shouldn't be doing any dpkg operations, just updating
the apt package lists, but apparently it still complains if dpkg was
previously interrupted.

flightaware/piaware,flightaware/piaware