Xubuntu 15.10 至 16.04 Python 依赖问题

Xubuntu 15.10 至 16.04 Python 依赖问题

我今天早些时候从 XUbuntu 15.10 升级到了 16.04。升级过程中遇到了一些问题。升级已经完成,但现在我遇到了未满足的 python 依赖项问题。我似乎不太清楚需要做什么来修复它。

root@Norns:/home/kevinl# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
python
Suggested packages:
  python-doc
The following packages will be upgraded:
  python
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/137 kB of archives.
After this operation, 46.1 kB disk space will be freed.
Do you want to continue? [Y/n] y
Setting up python-minimal (2.7.11-1) ...
dpkg: error processing package python-minimal (--configure):
subprocess installed post-installation script returned error exit status1
Errors were encountered while processing:
   python-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)

当我运行 dpkg --configure -a 时,我得到以下信息:

root@Norns:/home/kevinl# dpkg --configure -a
dpkg: dependency problems prevent configuration of python-dev:
 python-dev depends on python (= 2.7.11-1); however:
  Version of python on system is 2.7.9-1.

dpkg: error processing package python-dev (--configure):
 dependency problems - leaving unconfigured
Setting up python-minimal (2.7.11-1) ...
dpkg: error processing package python-minimal (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent processing triggers for python-support:
 python-support depends on python-minimal; however:
  Package python-minimal is not configured yet.

dpkg: error processing package python-support (--configure):
 dependency problems - leaving triggers unprocessed
Errors were encountered while processing:
 python-dev
 python-minimal
 python-support

我尝试删除系统上显示的版本,但无法删除。它给出了所有未满足的各种依赖项的长列表,并简单地指出“不会安装”。如果有人能提供帮助,我将不胜感激。谢谢。

相关内容