Could Not Get Lock /var/lib/apt/lists/lock

Could Not Get Lock /var/lib/apt/lists/lock

Problem:
When i try to update software packages in Ubuntu i get following error
  • E: Could Not Get Lock /var/lib/apt/lists/lock

Solution:
Run Terminal and type these commands

  • sudo rm /var/lib/apt/lists/lock
  • sudo apt-get clean
  • sudo apt-get update

Notes

Leave a Reply

Your email address will not be published. Required fields are marked *