执行apt-get install fcitx时,报如下错误
grub-pc E: 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 update sudo apt-get upgrade sudo apt-install fcitx sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info_old rm -rf /var/lib/dpkg/info sudo mv /var/lib/dpkg/info_old /var/lib/dpkg/info