如果系统出现问题,如何升级系统?

时间:2019-01-21 12:38:58

标签: python-2.7 debian dpkg

我想要升级系统,但是有问题。

# apt-get upgrade
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-gnupginterface : Depends: python-support (>= 0.90.0) but it is not installable
 python-pycurl : Depends: python-support (>= 0.90.0) but it is not installable
 python-software-properties : Depends: unattended-upgrades but it is not installed
E: Unmet dependencies. Try using -f.

# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 python-gnupginterface : Depends: python-support (>= 0.90.0) but it is not installable
 python-pycurl : Depends: python-support (>= 0.90.0) but it is not installable
 python-software-properties : Depends: unattended-upgrades but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies


# dpkg --audit | more
The following packages are only half configured, probably due to problems
configuring them the first time.  The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 python-pkg-resources Package Discovery and Resource Access using pkg_resources
 python-dbus          simple interprocess messaging system (Python interface)
 lsb-release          Linux Standard Base version reporting utility
 python-gnupginterface Python interface to GnuPG (GPG)
 python-gi            Python 2.x bindings for gobject-introspection libraries
 python-software-properties manage the repositories that you install software f
 python-pycurl        Python bindings to libcurl
 software-properties-common manage the repositories that you install software f
 python-apt           Python interface to libapt-pkg
 python-setuptools    Python Distutils Enhancements (setuptools compatibility)

0 个答案:

没有答案