Monday, January 14, 2008

Unlock the Installation Lock Ubuntu/debian

E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)

It says that a lock file preventing your package manager from getting exclusive access. Package managers create these lock files when they starts and if they crash, you reboot, your power goes out, etc, before they are completed, the lock file remains and the next manager believes another manager is already running

sudo rm /var/lib/dpkg/lock

sudo rm /var/cache/apt/archives/lock

No comments: