user@chrubuntu:~$ sudo apt-get update
[sudo] password for user:
user
Sorry, try again.
[sudo] password for user:
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?
user@chrubuntu:~$ sudo apt-get -f install
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?
user@chrubuntu:~$
我正在尝试安装 Wine1.6,并且正在使用终端。当我尝试以其他方式执行此操作时,系统提示缺少或无法卸载软件包,这是什么意思?我无法下载 Wine 吗?
答案1
错误消息可能意味着您正在运行 Ubuntu Software Center 或 Synaptic。如果您想从终端窗口安装,请关闭它们。
由于缺少依赖项,Wine 1.6 暂时无法在 Ubuntu 14.04 中安装。目前,您可以安装 Wine 1.4。