我正在尝试更新和升级Ubuntu16.04中的软件包。
我拿到了这个:
dpkg: error processing package python-cryptography (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
python-cryptography我试过:sudo apt-get install --reinstall dpkg
我拿到了这个:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
python-cryptography : Depends: python-asn1crypto but it is not going to be inst alled
Depends: python-idna (>= 2.1) but 2.0-3 is to be installe d
Breaks: python-openssl (< 16.0.0) but 0.15.1-2build1 is t o be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a s olution).有人帮忙吗?
发布于 2018-12-24 18:07:12
有问题的包是python加密,而不是dpkg。dpkg很好。
试着做:
sudo apt-get -f install 如果失败,请尝试:
sudo dpkg --configure -ahttps://askubuntu.com/questions/1104293
复制相似问题