专注于Magento开发与外贸SEO推广
Magento主题|Magento插件|Magento教程

E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable) [duplicate]

` 使用命令:

sudo rm /var/lib/apt/lists/lock

可能还需要使用命令

sudo rm /var/cache/apt/archives/lock

`

search for processes.

ps -A | grep apt-get
then see if there any process running as apt-get

kill that process it by using:

sudo kill -9 for example if process id is 2345

sudo kill -9 2345
then run the sudo apt-get update

Edit: If you are sure that you have no instances of dpkg or apt running and you still get the message, you can just delete the file:

sudo rm /var/lib/apt/lists/lock
A lock file is just a file with zero size that indicates locking of a resource.

未经允许不得转载:Magento|Magento2|magento开发|magento插件|magento主题|magento模板|magento商城|magento维护 » E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable) [duplicate]
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

Magento开发|Magento咨询QQ283475615

联系我们