小编Czi*_*pO2的帖子

我可以杀死 apt.system.daily 来修复 apt install 命令吗?

当我尝试使用 apt 或 apt-get 安装任何东西(Ubuntu 16.04)时,我得到以下信息:

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
Run Code Online (Sandbox Code Playgroud)

这是以下的输出ps aux | grep apt

root     23906  0.0  0.0   4504   784 ?        Ss   Feb20   0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install
root     23912  0.0  0.0   4504  1640 ?        S    Feb20   0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install
Run Code Online (Sandbox Code Playgroud)

但这些是子流程:

root     23906  0.0  0.0   4504   784 ?        Ss   Feb20   0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install …
Run Code Online (Sandbox Code Playgroud)

linux ubuntu pid apt

5
推荐指数
2
解决办法
2万
查看次数

标签 统计

apt ×1

linux ×1

pid ×1

ubuntu ×1