1

I am using ubuntu 14.04 , While trying to install the scanner canon Lide220 using the command sudo apt-get install xsane the following message appears:

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?

What can I do to succesfully install it?

M. Becerra
  • 3,538
  • 5
  • 24
  • 40

1 Answers1

-1

This might be caused by the auto-update task in the background, you can just try again a couple minutes later to see if this issue still exist.

Or if you want, you can disable the auto-update by following these steps:

  1. Open the Dash
  2. Search for "Software & Updates"
  3. Select the "Updates" tab.
  4. Change "Automatically check for updates" from "Daily" to "Never".

After disabling the auto-update, it will stop the daily task to update the software list. See the reference link for more detail. And you won't be blocked by this (auto-update in the background issue) in the future.

Reference: http://www.omgubuntu.co.uk/2016/02/how-to-disable-automatic-update-ubuntu

P.-H. Lin
  • 2,844
  • 1
  • 19
  • 20