ubuntu更新python3之后,系统更新软件报错解决方法。

前端之家收集整理的这篇文章主要介绍了ubuntu更新python3之后,系统更新软件报错解决方法。前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
  1. dpkg: error processing package apport (--configure):
  2. package is in a very bad inconsistent state; you should
  3. reinstall it before attempting configuration
  4. dpkg: dependency problems prevent configuration of apport-gtk:
  5. apport-gtk depends on apport (>= 0.41); however:
  6. Package apport is not configured yet.
  7.  
  8. dpkg: error processing package apport-gtk (--configure):
  9. dependency problems - leaving unconfigured
  10. Errors were encountered while processing:
  11. apport
  12. apport-gtk

系统强制使用了新版本的python3.0之后,系统更新软件安装软件报错。解决方式如下。



  1. sudo update-alternatives --config python

-> change to python2.7 instead of 3.5

  1. sudo apt install apport --reinstall

猜你在找的Ubuntu相关文章