首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >从16.04终端更新python密码系统的错误

从16.04终端更新python密码系统的错误
EN

Ask Ubuntu用户
提问于 2018-12-24 17:58:42
回答 1查看 747关注 0票数 1

我正在尝试更新和升级Ubuntu16.04中的软件包。

我拿到了这个:

代码语言:javascript
复制
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

我拿到了这个:

代码语言:javascript
复制
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).

有人帮忙吗?

EN

回答 1

Ask Ubuntu用户

发布于 2018-12-24 18:07:12

有问题的包是python加密,而不是dpkg。dpkg很好。

试着做:

代码语言:javascript
复制
sudo apt-get -f install 

如果失败,请尝试:

代码语言:javascript
复制
sudo dpkg --configure -a
票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1104293

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档