无法安装/清除/更新任何内容,因为apt-get
系统提示我必须nvidia-331-updates
先删除。清除/安装/删除nvidia-331-updates
失败,并显示一条消息dpkg
。
Removing nvidia-331-updates (331.113-0ubuntu0.0.4) ...
stop: Unknown instance:
userdel: existing lock file /etc/subuid.lock without a PID
userdel: cannot lock /etc/subuid; try again later.
dpkg: error processing package nvidia-331-updates (--remove):
subprocess installed post-removal script returned error exit status 16
Errors were encountered while processing:
nvidia-331-updates
E: Sub-process /usr/bin/dpkg returned an error code (1)
答案1
来自OP评论的回答:
你们。刚刚移除
/etc/subuid.lock
,/etc/subgid.lock
现在没问题了。
答案2
您可以尝试这个,它可能会工作正常,并在终端中输入此命令:
sudo apt-get remove nvidia-311-updates
这样也许能很好地发挥作用。