E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
答案1
看起来您已在运行某个程序来安装软件包。请确保在尝试此操作时没有运行 Ubuntu 软件中心apt-get
。另外请确保您使用的sudo apt-get
不是apt-get
。