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
- Double-click the Deb package and the package is being installed.
- Powered by Xinli
- Open the Ubuntu Software Center
- The apt-GET command is executed somewhere.
- The aptitude command is executed somewhere.
- Run the dpkg command somewhere.
- Updating system?
- The apt-Get update command is executed somewhere.
- The update manager is running and is currently inApplication updateProgress.
- The execution process is stuck and the process is not finished.
Solution
- 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:
- You can restart the system;
- Run sudo RM/var/lib/dpkg/lock
From Weizhi note (wiz) time = 16:17:00