Error: sudo update couldn't get lock /var/lib/apt/lists/lock -open on Elementary OS

Noticed that I couldn't update with sudo with error message in the title. Some googling yielded this solution:

sudo apt-get clean

Got the solution from here (https://qastack.id/ubuntu/131601/gpg-error-release-the-following-signatures-were-invalid-badsig)

Comments