Ubuntu执行aptgetinstall×××报错
执行apt-get install fcitx时,报如下错误
grub-pcE: Sub
-process /usr/bin/dpkg returned an error code (1)
通过执行下面的命令可以解决该问题:
sudo mv /var/lib/dpkg/info/ /var/lib/dpkg/info_old/sudo mkdir
/var/lib/dpkg/info/sudo apt
-get updatesudo apt
-get upgradesudo apt
-install fcitxsudo mv
/var/lib/dpkg/info/* /var/lib/dpkg/info_oldrm
-rf /var/lib/dpkg/infosudo mv
/var/lib/dpkg/info_old /var/lib/dpkg/info
以上是 Ubuntu执行aptgetinstall×××报错 的全部内容, 来源链接: utcz.com/z/511977.html