Dpkg: Another process has locked the status database.

Source: Internet
Author: User
When sudo apt-Get install XXX is executed:

E: unable to obtain the lock/ VaR/Lip/dpkg/lock-open (11: Resource temporarily unavailable)
E: The management directory cannot be locked (/ VaR/Lib/dpkg/), are other processes occupying it?
Error Because ubuntu can only run one apt-get at a time, that is to say, UBUNTU cannot install multiple apps, but can only run one at a time. Analysis
  • Are you installing other software? Including one of the following situations
  1. Double-click the Deb package and the package is being installed.
  2. Powered by Xinli
  3. Open the Ubuntu Software Center
  4. The apt-GET command is executed somewhere.
  5. The aptitude command is executed somewhere.
  6. Run the dpkg command somewhere.
  • Updating system?
  1. Updating system?
  2. The apt-Get update command is executed somewhere.
  3. The update manager is running and is currently inApplication updateProgress.
  • The execution process is stuck and the process is not finished.
  • In the first two cases of the above analysis, it is best to wait for the Operation to complete.
  • In the third case, you can select the following two solutions:
  1. You can restart the system;
  2. Run sudo RM/var/lib/dpkg/lock
From Weizhi note (wiz) time = 16:17:00

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.