运行后apt --fix-broken install
,我收到以下错误:
dpkg: error processing package qt4-designer (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
qt4-designer
E: Sub-process /usr/bin/dpkg returned an error code (1)
关于如何修复此错误有什么建议吗?
答案1
尝试重新安装软件包:
sudo apt-get --reinstall qt4-designer
/var/lib/dpkg/info
如果问题仍然存在,请删除名为 qt4-designer*的所有文件
然后使用再次安装sudo apt-get install qt4-designer