![错误:解析文件‘/var/lib/dpkg/updates/0013’第 0 行附近:字段名称后的 EOF](https://linux22.com/image/853865/%E9%94%99%E8%AF%AF%EF%BC%9A%E8%A7%A3%E6%9E%90%E6%96%87%E4%BB%B6%E2%80%98%2Fvar%2Flib%2Fdpkg%2Fupdates%2F0013%E2%80%99%E7%AC%AC%200%20%E8%A1%8C%E9%99%84%E8%BF%91%EF%BC%9A%E5%AD%97%E6%AE%B5%E5%90%8D%E7%A7%B0%E5%90%8E%E7%9A%84%20EOF.png)
安装 ubuntu.desktop 失败,我收到消息
E: dpkg was interrupted, you must manually run sudo dpkg --configure -a to correct.
当我运行该命令时,我收到以下消息:
dpkg: error: parsing file '/var/lib/dpkg/updates/0013' near line 0: EOF after field name.
我正在尝试重新安装 ubuntu.desktop,但不确定如何继续。如能得到任何想法我将不胜感激。
答案1
在终端中运行这些命令。只需按键盘上的Ctrl+ Alt+T即可打开终端。打开后,运行以下命令:
cd /var/lib/dpkg/updates; sudo rm 0013
sudo dpkg --configure -a