我的 vps 是 ubuntu 系统,但无法安装 dpkg ,许多简单的系统升级命令都运行不了,都出现:
1
hsfzxjy 2023-10-07 22:25:21 +08:00 via Android
出现啥
|
2
ziyouhua OP 都出现:
E: dpkg was interrupted, you must manually run \'dpkg --configure -a\' to correct the problem 它好像说是要运行 dpkg --configure -a ,但运行了 dpkg --configure -a ,又出现 dpkg: error: parsing file \'/var/lib/dpkg/updates/0001\' near line 0: end of file after field name 请问怎么搞? |
3
NessajCN 2023-10-08 08:54:31 +08:00
sudo rm /var/lib/dpkg/updates/*
sudo apt update && sudo apt upgrade |
4
ziyouhua OP 谢谢,ChatGPT 都解决不了的你解决了
|
5
levenwindy 2023-10-09 06:34:43 +08:00 via Android
一般来说,报错命令 去谷歌就行了
|