Fixing corrupted package repository list in Linux Mint
I recently updated Linux Mint from Linux Mint 15 and I had problems with the existing source list that are placed in /var/lib/apt/lists
. I was exactly getting the following error message:
Like every time I have a problem I searched on the internet for a solution and I couldn’t find anything useful, so this is what I did:
- delete all the content from
/var/lib/apt/lists
- run
apt-get update
as a super user (sudo apt-get update
).
This works in Linux Mint 17, so it should be also fine with previous versions and Ubuntu.