无法在 ubuntu 13.10 上安装任何软件或包

无法在 ubuntu 13.10 上安装任何软件或包

嘿,我是 Ubuntu 新手,我正在尝试安装 flash 插件、软件包和其他软件等,但发现这些错误。

rabia@rabia-N150P-N210P:~$ sudo apt-get install ubuntu-restricted-extras
[sudo] password for rabia: 
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?
rabia@rabia-N150P-N210P:~$ sudo apt-get install ubuntu-restricted-extras
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?
rabia@rabia-N150P-N210P:~$ sudo apt-get install flashplugin-nonfree
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?
rabia@rabia-N150P-N210P:~$ 

我究竟做错了什么?

答案1

您收到此错误是因为其他进程正在同时安装程序。Ubuntu 的设计使得只有一个进程可以同时使用安装序列。

如果您不同时安装多个程序,请重新启动计算机并重试。

相关内容