我想做的是:
sudo apt-get update && sudo apt-get upgrade
但我收到以下错误:
dpkg: error processing package python3-pip (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: error processing package python3-setuptools (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: error processing package python3-wheel (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
python3-pip
python3-setuptools
python3-wheel
E: Sub-process /usr/bin/dpkg returned an error code (1)
我尝试了几种解决方案,但都没有效果。此外,我试图安装的任何软件都会发生这种情况。
1条答案
按热度按时间snz8szmq1#
尝试来自AskUbuntu的答案:https://askubuntu.com/a/170808。
将其应用于处于不良状态的包。在您的示例中,为
python3-pip
、python3-setuptools
和python3-wheel
: