2020-05-28

Ubuntu:E: Sub

Ubuntu:E: Sub


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

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

解决:

mv /var/lib/dpkg/info /var/lib/dpkg/info_oldmkdir /var/lib/dpkg/infoapt updateapt -f installmv /var/lib/dpkg/info/* /var/lib/dpkg/info_oldrm -rf /var/lib/dpkg/infomv /var/lib/dpkg/info_old /var/lib/dpkg/info

No comments:

Post a Comment