我在 ubuntu 上安装任何东西时都遇到了问题:处理时遇到错误:kexi

我在 ubuntu 上安装任何东西时都遇到了问题:处理时遇到错误:kexi

我无法在 Ubuntu 18.04 上安装任何东西。我总是收到此错误消息Errors were encountered while processing:kexi。我试过了,

sudo apt install kexi
sudo apt-get dist-upgrade   
sudo dpkg -a --configure

这是完整的错误输出

dpkg: error processing package kexi (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
Errors were encountered while processing:
 kexi
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

首先阅读错误消息,它基本上告诉您需要做什么:

dpkg: error processing package kexi (--configure):
  package is in a very bad inconsistent state; you should
  reinstall it before attempting configuration

这意味着需要重新安装。因此,重新安装kexi,它应该可以解决这个问题:

sudo apt install --reinstall kexi

相关内容