Trying to update via terminal via aptitude or apt-get is not working. There is no other package management program running in the background or any other user.
I tried both,
sudo aptitude update and
sudo apt-get update just in case. Same problem.
Trying to do it via Update manager throws this output:
W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Internet connection is working since I could create this question.
Tried to do: a
sudo rm /var/lib/apt/lists/* -fr but it only helped in executing both apt-get and aptitude to see them fail again at the end with the same problem.
What else could be locking the list?