Question

When I enter the command:

apt-get update

I get an error message telling me that it cant open the lock file. Can anyone explain why this causes a problem and how I can avoid it in the future?

Was it helpful?

Solution

cant open the lock file

You can 2 reasons of this problem:

  1. you run apt-get update without administrative privileges. Use sudo or login as root.
  2. in your system running another apt-get, aptitude, synaptic, Software Center or Update Manager. Close it ant try again.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top