使用 ubuntu 的 apt 命令安装东西回显这个报错 说明有进程在占用 apt 解决: 使用 ps 命令查找 apt 的进程 再使用 kill 命令将进程号杀死即可 ps aux | grep -i apt kill -9 进程号