apt进程被占用解决方案

  • 问题描述
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?
  • 执行命令
sudo fuser -vik /var/lib/dpkg/lock

出现以下消息:

                       USER      PID    ACCESS  COMMAND
/var/lib/dpkg/lock:    root     1453    F....  packagekitd
Kill process 1453? (y/N)  
  • 然后输入y杀死进程

你可能感兴趣的:(apt进程被占用解决方案)