我是 Linux 的新用户,在尝试在 Ubuntu 16.04 上安装“wine”时遇到了以下问题:
myname@my-computer:~$ sudo apt-get install winehq-staging
[sudo] password for myname:
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
您是否尝试过移除锁?
sudo rm /var/lib/dpkg/lock
并安装您想要的内容。