Two most common errors

  1. Lock error:
    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?The reason is quite obvious from the error itself “another process using it”.The idea would be to look for another application which is being installed or update it. Wait for it to finish the installation or cancel it. If you cannot see the application then try running this command in the terminal to solve this error:
    $ sudo rm /var/lib/apt/lists/lock

    Any other type of lock can be removed using:
    $ sudo rm <address of error>


  2. 0%[waiting for headers]:
    Try restarting your system, and if the problem still presists then, run following commands in terminal
    $ sudo apt-get clean
    $ sudo apt-get update
    P.S- You can run upgrade command after update as “apt-get upgrade” upgrades what you have on the system already but doesn’t introduce new packages unless absolutely necessary.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s