如何解决这些问题以在 Ubuntu 12.04 中安装 synaptic 包管理器?

如何解决这些问题以在 Ubuntu 12.04 中安装 synaptic 包管理器?
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

使用CTRL++打开你的终端并逐一粘贴这些命令。ALTT

    sudo rm -rf /var/lib/apt/lists/lock
    sudo rm -rf /var/lib/dpkg/lock
    sudo apt-get install synaptic

希望有帮助。

相关内容