解决:ubuntu提示E: 无法获得锁 /var/lib/dpkg/lock-frontend 原因不赘述了 网上解决方法也好多但是都没成功 下面这个一句解决! sudo rm /var/lib/dpkg/lock-frontend