如图sudo apt-get install xxx后报错解决办法移除锁,重新配置sudo rm /var/lib/dpkg/locksudo dpkg --configure -a这样之后就可以安装。