![安装jdk jvm 的问题](https://linux22.com/image/1130040/%E5%AE%89%E8%A3%85jdk%20jvm%20%E7%9A%84%E9%97%AE%E9%A2%98.png)
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
。