运行命令后我收到以下信息dpkg
:
dpkg: error: dpkg status database is locked by another process
运行后(从这里):
sudo fuser -vki /var/lib/dpkg/lock
我得到:
USER PID ACCESS COMMAND
/var/lib/dpkg/lock: root 2591 F.... unattended-upgr
我如何检查此过程的进度?
如果有的话,杀死它会有什么后果?
答案1
您可以在日志文件中看到最新条目,例如 /var/log/unattend-upgrades/unattend-upgrades-dpkg.log,尝试
tail /var/log/unattended-upgrades/unattended-upgrades-dpkg.log