E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) [duplicate]

ubuntu@ubuntu:/usr/src/linux-headers-3.5.0-23-generic$ sudo apt-get install ccze
[sudo] password for ubuntu: 

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
 
 
 

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

Comments

Popular posts from this blog

PHPMixBill V5 mikrotik Billing Solutions

How to install Asterisk and A2billing on Ubuntu Server 12.04LTS

odbcinst: SQLGetPrivateProfileString failed with