Ubuntu:E: Sub-process /usr/bin/dpkg returned an error code (1)

Blog:博客园 个人

Ubuntu系统安装软件时报以下错误:

E: Sub-process /usr/bin/dpkg returned an error code (1)

解决:

mv /var/lib/dpkg/info /var/lib/dpkg/info_old
mkdir /var/lib/dpkg/info
apt update
apt -f install
mv /var/lib/dpkg/info/* /var/lib/dpkg/info_old
rm -rf /var/lib/dpkg/info
mv /var/lib/dpkg/info_old /var/lib/dpkg/info
posted @ 2020-05-28 19:01  不羁的罗恩  阅读(250)  评论(0编辑  收藏  举报