其实去年就遇到过这个错误,当时装双系统Ubuntu装着玩,也遇到了一模一样的error processing package python3-twisted (--configure)
现在发现, WSL + VS code真香, yyds!
报错如下:
dpkg: error processing package python3-twisted (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
python3-twisted
记录一下修复方式
sudo apt-get -f install
apt-get clean
sudo apt-get install --reinstall python-minimal pythontwisted
sudo apt upgrade
重点应该是这条指令
sudo apt-get install --reinstall python-minimal pythontwisted