安装 .deb 包被中断,导致重启也不能再次进行安装,报错:
only one software management tool is allowed to run restarting is not work
解决方法:
Make sure software centre is not open and that updates are not running.
使用:
1 | sudo rm -f /var/lib/dpkg/lock |
可以解锁 software installer programs
然后执行:
1 | sudo fuser -vki /var/lib/dpkg/lock |
即可解决。