0

While installing Google Chrome in my Ubuntu OS I'm getting the below error while updating.

Please find the attachment for error

carnendil
  • 5,451
  • Perhaps it is Ubuntu Software doing and update of the lists in the background? Give it a time and try again. If that fails, follow the answers in the question pointed out by @bodhi.zazen – carnendil Oct 06 '17 at 05:52
  • @bodhi.zazen Still I'm getting same error – Moulali Oct 06 '17 at 06:05
  • If you are still getting the same error, and you are sure another package manager is not running in the background, I suggest you reboot. Then, and only as a last resort, you can delete the lock file but I would again reboot after deleting the lock file before running any installation of software. – Panther Oct 06 '17 at 14:10

1 Answers1

-1

You can delete the lock file with the following command:

sudo rm /var/lib/apt/lists/lock

You may also need to delete the lock file in the cache directory

sudo rm /var/cache/apt/archives/lock
carnendil
  • 5,451