Reading list Switch to dark mode

    Could not get lock /var/lib/apt/lists/lock

    Updated 20 May 2014

    While doing apt-get in debian systems we often get this type of error
    <strong>E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock directory</strong> <strong>/var/lib/apt/lists/</strong>
    Simply delete the directory
    # rm -rf /var/lib/apt/lists/
    Then try to do apt-get you will be able to retrieve what resourse you want from the repository.
    Njoy :p :)

    Start your headless eCommerce
    Find out More
    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*

    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home