You have several issues, most likely caused by you shutting down the system during an update.
Your local package database metadata is corrupt. See here:
The package manager lock file is in place because it did not exit cleanly. The information provided by SGS above will help with that.
4 Likes