Ubuntu安装出现无法锁定管理目录是否有其他进程正在占用它? 执行以下命令: sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/dpkg/lock sudo apt-get update