在使用apt-get指令卸载软件时,遇到如下的问题:
$ sudo apt-get remove python-qt4
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
但是输入该指令不起作用:
$ sudo dpkg --configure -a
Processing triggers for libc-bin (2.23-0ubuntu10) ...
dpkg: unrecoverable fatal error, aborting:
unable to install updated status of 'libc-bin': No such file or directory
解决方案:
sudo mv /usr/bin/localedef /usr/bin/localedef.old
sudo dpkg --configure -a
问题解决。
参考网址