According to online apt - get the install tree doesn't work
CodePudding user response:
It is possible that ubuntu source of the problem, can update the source a try,CodePudding user response:
Rm - rf/var/lib/DPKG/lock - frontendCodePudding user response:
Refer to this:https://blog.csdn.net/qq_20553613/article/details/90649365
CodePudding user response:
The problem with the tree it doesn't matter,,Question is, can't get the lock, is likely to be apt to get directly, when you install software is not installed completely, turn off the terminal, lead to lock didn't release,
Two ways, first kill apt - get process, kill off,
The second, forced to release the lock,
Sudo rm/var/cache/apt/archives/lock
Sudo rm/var/lib/DPKG/lock
CodePudding user response:
Sudo apt tree and install sudo apt - get the install tree, what is the difference between the two commands?CodePudding user response:
Yesterday in sentos installed above, tree command, I mainly to virtual machine connected to the Internet, and then use yum is installed directly, the main problem is connected to the Internet, don't know the distinction between large,