今天,我将桌面从 13.04 升级到 13.10,结果如下:
$ sudo apt-get upgrade
Reading package lists...
Building dependency tree...
Reading state information...
The following packages have been kept back:
libxfce4ui-1-0 libxfce4ui-utils parole xfce-keyboard-shortcuts
xfce4-settings xfce4-xkb-plugin xfdesktop4 xfdesktop4-data xfwm4
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
77 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python3 (3.3.2-14ubuntu1) ...
running python rtupdate hooks for python3.3...
dpkg-query: package 'ubiquity-frontend-gtk' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Traceback (most recent call last):
File "/usr/bin/py3clean", line 200, in <module>
main()
File "/usr/bin/py3clean", line 186, in main
pfiles = set(dpf.from_package(options.package))
File "/usr/share/python3/debpython/files.py", line 53, in from_package
raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of ubiquity-frontend-gtk
error running python rtupdate hook ubiquity-frontend-gtk
dpkg-query: package 'ubiquity' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Traceback (most recent call last):
File "/usr/bin/py3clean", line 200, in <module>
main()
File "/usr/bin/py3clean", line 186, in main
pfiles = set(dpf.from_package(options.package))
File "/usr/share/python3/debpython/files.py", line 53, in from_package
raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of ubiquity
error running python rtupdate hook ubiquity
dpkg: error processing python3 (--configure):
subprocess installed post-installation script returned error exit status 4
dpkg: dependency problems prevent configuration of python3-apt:
python3-apt depends on python3 (>= 3.3); however:
Package python3 is not configured yet.
python3-apt depends on python3 (<< 3.4); however:
Package python3 is not configured yet.
dpkg: error processing python3-apt (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of python3-dbus:
python3-dbus depends on python3 (>= 3.3); however:
Package python3 is not configured yet.
python3-dbus depends on python3 (<< 3.4); however:
Package python3 is not configured yet.
dpkg: error processing python3-dbus (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of language-selector-common:
language-selector-common depends on python3 (>= 3.2); however:
Package python3 is not configured yet.
language-selector-common depends on python3:any (>= 3.2.3-3~); however:
Package python3 is not configured yet.
language-selector-common depends on python3-apt (>= 0.7.12.0); however:
Package python3-apt is not configured yet.
language-selector-common depends on python3-dbus; however:
Package python3-dbus is not configured yet.
dpkg: error processing language-selector-common (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-gi:
python3-gi depends on python3 (<< 3.4); however:
Package python3 is not configured yet.
python3-gi depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
python3-gi depends on python3 (>= 3.3); however:
Package python3 is not configured yet.
dpkg: error processing python3-gi (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of ubuntu-drivers-common:
ubuntu-drivers-common depends on python3 (>= 3.2.3-3~); however:
Package python3 is not configured yet.
ubuntu-drivers-common depends on python3-apt; however:
Package python3-apt is not configured yet.
dpkg: error processing ubuntu-drivers-common (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of update-notifier-common:
update-notifier-common depends on python3:any; however:
Package python3 is not configured yet.
update-notifier-common depends on python3-apt; however:
Package python3-apt is not configured yet.
dpkg: error processing update-notifier-common (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of lsb-release:
lsb-release depends on python3 (>= 3.2.3-3~); however:
Package python3 is not configured yet.
dpkg: error processing lsb-release (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of ubuntu-minimal:
ubuntu-minimal depends on lsb-release; however:
Package lsb-release is not configured yet.
ubuntu-minimal depends on python3; however:
Package python3 is not configured yet.
dpkg: error processing ubuntu-minimal (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of apparmor:
apparmor depends on python3; however:
Package python3 is not configured yet.
dpkg: error processing apparmor (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-commandnotfound:
python3-commandnotfound depends on lsb-release; however:
Package lsb-release is not configured yet.
python3-commandnotfound depends on python3-apt; however:
Package python3-apt is not configured yet.
python3-commandnotfound depends on python3 (>= 3.2.3-3~); however:
Package python3 is not configured yet.
dpkg: error processing python3-commandnotfound (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of command-not-found:
command-not-found depends on python3-commandnotfound (>= 0.3ubuntu7); however:
Package python3-commandnotfound is not configured yet.
dpkg: error processing command-not-found (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-distupgrade:
python3-distupgrade depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
python3-distupgrade depends on python3-apt (>= 0.8.5~); however:
Package python3-apt is not configured yet.
python3-distupgrade depends on lsb-release; however:
Package lsb-release is not configured yet.
dpkg: error processing python3-distupgrade (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-update-manager:
python3-update-manager depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
python3-update-manager depends on python3-apt (>= 0.8.5~); however:
Package python3-apt is not configured yet.
python3-update-manager depends on python3-distupgrade; however:
Package python3-distupgrade is not configured yet.
python3-update-manager depends on lsb-release; however:
Package lsb-release is not configured yet.
dpkg: error processing python3-update-manager (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of ubuntu-release-upgrader-core:
ubuntu-release-upgrader-core depends on python3:any (>= 3.2); however:
Package python3 is not configured yet.
ubuntu-release-upgrader-core depends on python3; however:
Package python3 is not configured yet.
ubuntu-release-upgrader-core depends on python3-distupgrade (= 1:0.205.4); however:
Package python3-distupgrade is not configured yet.
dpkg: error processing ubuntu-release-upgrader-core (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of ubuntu-standard:
ubuntu-standard depends on language-selector-common; however:
Package language-selector-common is not configured yet.
dpkg: error processing ubuntu-standard (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of ufw:
ufw depends on python3 (>= 3.2.3-3~); however:
Package python3 is not configured yet.
dpkg: error processing ufw (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of update-manager-core:
update-manager-core depends on python3:any (>= 3.2); however:
Package python3 is not configured yet.
update-manager-core depends on python3; however:
Package python3 is not configured yet.
update-manager-core depends on python3-update-manager (= 1:0.194.1); however:
Package python3-update-manager is not configured yet.
update-manager-core depends on lsb-release; however:
Package lsb-release is not configured yet.
update-manager-core depends on ubuntu-release-upgrader-core; however:
Package ubuntu-release-upgrader-core is not configured yet.
dpkg: error processing update-manager-core (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of gnome-menus:
gnome-menus depends on python3; however:
Package python3 is not configured yet.
gnome-menus depends on python3:any (>= 3.1); however:
Package python3 is not configured yet.
dpkg: error processing gnome-menus (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of alacarte:
alacarte depends on gnome-menus (>= 3.5.3); however:
Package gnome-menus is not configured yet.
dpkg: error processing alacarte (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-problem-report:
python3-problem-report depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
dpkg: error processing python3-problem-report (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-apport:
python3-apport depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
python3-apport depends on python3-apt (>= 0.7.9); however:
Package python3-apt is not configured yet.
python3-apport depends on python3-problem-report (>= 0.94); however:
Package python3-problem-report is not configured yet.
python3-apport depends on lsb-release; however:
Package lsb-release is not configured yet.
dpkg: error processing python3-apport (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of apport:
apport depends on python3; however:
Package python3 is not configured yet.
apport depends on python3-apport (>= 2.12.5-0ubuntu2.2); however:
Package python3-apport is not configured yet.
apport depends on python3-gi; however:
Package python3-gi is not configured yet.
dpkg: error processing apport (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of apport-gtk:
apport-gtk depends on python3; however:
Package python3 is not configured yet.
apport-gtk depends on python3-apport (>= 2.12.5-0ubuntu2.2); however:
Package python3-apport is not configured yet.
apport-gtk depends on python3-gi; however:
Package python3-gi is not configured yet.
apport-gtk depends on apport (>= 0.41); however:
Package apport is not configured yet.
dpkg: error processing apport-gtk (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of apparmor-easyprof:
apparmor-easyprof depends on python3; however:
Package python3 is not configured yet.
apparmor-easyprof depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
dpkg: error processing apparmor-easyprof (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of dh-apparmor:
dh-apparmor depends on apparmor-easyprof; however:
Package apparmor-easyprof is not configured yet.
dpkg: error processing dh-apparmor (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of debhelper:
debhelper depends on dh-apparmor; however:
Package dh-apparmor is not configured yet.
dpkg: error processing debhelper (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of devhelp-common:
devhelp-common depends on python3 (>= 3.2.3-3~); however:
Package python3 is not configured yet.
dpkg: error processing devhelp-common (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of libdevhelp-3-2:
libdevhelp-3-2 depends on devhelp-common (>= 3.8.2-2); however:
Package devhelp-common is not configured yet.
dpkg: error processing libdevhelp-3-2 (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of devhelp:
devhelp depends on libdevhelp-3-2 (>= 3.6.1); however:
Package libdevhelp-3-2 is not configured yet.
dpkg: error processing devhelp (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of firefox:
firefox depends on lsb-release; however:
Package lsb-release is not configured yet.
dpkg: error processing firefox (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of flashplugin-installer:
flashplugin-installer depends on update-notifier-common (>= 0.119ubuntu2); however:
Package update-notifier-common is not configured yet.
dpkg: error processing flashplugin-installer (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of foomatic-db-compressed-ppds:
foomatic-db-compressed-ppds depends on python3; however:
Package python3 is not configured yet.
dpkg: error processing foomatic-db-compressed-ppds (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of gnome-control-center:
gnome-control-center depends on gnome-menus (>= 2.12.0); however:
Package gnome-menus is not configured yet.
dpkg: error processing gnome-control-center (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of kde-runtime:
kde-runtime depends on language-selector-common; however:
Package language-selector-common is not configured yet.
dpkg: error processing kde-runtime (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of qapt-batch:
qapt-batch depends on kde-runtime; however:
Package kde-runtime is not configured yet.
dpkg: error processing qapt-batch (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of kubuntu-debug-installer:
kubuntu-debug-installer depends on kde-runtime; however:
Package kde-runtime is not configured yet.
kubuntu-debug-installer depends on qapt-batch; however:
Package qapt-batch is not configured yet.
dpkg: error processing kubuntu-debug-installer (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of software-center-aptdaemon-plugins:
software-center-aptdaemon-plugins depends on python3-gi; however:
Package python3-gi is not configured yet.
dpkg: error processing software-center-aptdaemon-plugins (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-pkg-resources:
python3-pkg-resources depends on python3 (>= 3.2); however:
Package python3 is not configured yet.
python3-pkg-resources depends on python3 (<< 3.4); however:
Package python3 is not configured yet.
dpkg: error processing python3-pkg-resources (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-aptdaemon:
python3-aptdaemon depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
python3-aptdaemon depends on python3-apt (>= 0.8.5~ubuntu1); however:
Package python3-apt is not configured yet.
python3-aptdaemon depends on python3-dbus; however:
Package python3-dbus is not configured yet.
python3-aptdaemon depends on python3-gi; however:
Package python3-gi is not configured yet.
python3-aptdaemon depends on python3-pkg-resources; however:
Package python3-pkg-resources is not configured yet.
dpkg: error processing python3-aptdaemon (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of aptdaemon:
aptdaemon depends on python3:any (>= 3.2); however:
Package python3 is not configured yet.
aptdaemon depends on python3-aptdaemon (= 1.1.1-0ubuntu4); however:
Package python3-aptdaemon is not configured yet.
aptdaemon depends on python3-gi; however:
Package python3-gi is not configured yet.
dpkg: error processing aptdaemon (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-aptdaemon.gtk3widgets:
python3-aptdaemon.gtk3widgets depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
python3-aptdaemon.gtk3widgets depends on python3-aptdaemon (= 1.1.1-0ubuntu4); however:
Package python3-aptdaemon is not configured yet.
python3-aptdaemon.gtk3widgets depends on python3-gi; however:
Package python3-gi is not configured yet.
dpkg: error processing python3-aptdaemon.gtk3widgets (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of language-selector-gnome:
language-selector-gnome depends on language-selector-common (= 0.116); however:
Package language-selector-common is not configured yet.
language-selector-gnome depends on python3 (>= 3.2); however:
Package python3 is not configured yet.
language-selector-gnome depends on python3:any (>= 3.2.3-3~); however:
Package python3 is not configured yet.
language-selector-gnome depends on python3-gi; however:
Package python3-gi is not configured yet.
language-selector-gnome depends on python3-apt; however:
Package python3-apt is not configured yet.
language-selector-gnome depends on aptdaemon (>= 0.40+bzr527); however:
Package aptdaemon is not configured yet.
language-selector-gnome depends on python3-aptdaemon.gtk3widgets; however:
Package python3-aptdaemon.gtk3widgets is not configured yet.
dpkg: error processing language-selector-gnome (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of nvidia-common:
nvidia-common depends on ubuntu-drivers-common; however:
Package ubuntu-drivers-common is not configured yet.
dpkg: error processing nvidia-common (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of screen-resolution-extra:
screen-resolution-extra depends on python3-gi; however:
Package python3-gi is not configured yet.
dpkg: error processing screen-resolution-extra (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of nvidia-settings-304:
nvidia-settings-304 depends on screen-resolution-extra (>= 0.12); however:
Package screen-resolution-extra is not configured yet.
dpkg: error processing nvidia-settings-304 (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-cairo:
python3-cairo depends on python3 (>= 3.2.3-3~); however:
Package python3 is not configured yet.
dpkg: error processing python3-cairo (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-gi-cairo:
python3-gi-cairo depends on python3 (<< 3.4); however:
Package python3 is not configured yet.
python3-gi-cairo depends on python3 (>= 3.3); however:
Package python3 is not configured yet.
python3-gi-cairo depends on python3-gi (= 3.10.0-1ubuntu1); however:
Package python3-gi is not configured yet.
python3-gi-cairo depends on python3-cairo (>= 1.10.0+dfsg-3~exp2); however:
Package python3-cairo is not configured yet.
dpkg: error processing python3-gi-cairo (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of onboard:
onboard depends on python3 (>= 3.3); however:
Package python3 is not configured yet.
onboard depends on python3 (<< 3.4); however:
Package python3 is not configured yet.
onboard depends on python3-cairo; however:
Package python3-cairo is not configured yet.
onboard depends on python3-gi-cairo; however:
Package python3-gi-cairo is not configured yet.
onboard depends on python3-dbus; however:
Package python3-dbus is not configured yet.
dpkg: error processing onboard (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of onboard-data:
onboard-data depends on onboard (>= 0.99.0~alpha1~tr1507); however:
Package onboard is not configured yet.
dpkg: error processing onboard-data (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of openprinting-ppds:
openprinting-ppds depends on python3; however:
Package python3 is not configured yet.
dpkg: error processing openprinting-ppds (--configure):
dependency problems - leaving unconfigured
dpkg: too many errors, stopping
No apport report written because MaxReports is reached already
Errors were encountered while processing:
python3
python3-apt
python3-dbus
language-selector-common
python3-gi
ubuntu-drivers-common
update-notifier-common
lsb-release
ubuntu-minimal
apparmor
python3-commandnotfound
command-not-found
python3-distupgrade
python3-update-manager
ubuntu-release-upgrader-core
ubuntu-standard
ufw
update-manager-core
gnome-menus
alacarte
python3-problem-report
python3-apport
apport
apport-gtk
apparmor-easyprof
dh-apparmor
debhelper
devhelp-common
libdevhelp-3-2
devhelp
firefox
flashplugin-installer
foomatic-db-compressed-ppds
gnome-control-center
kde-runtime
qapt-batch
kubuntu-debug-installer
software-center-aptdaemon-plugins
python3-pkg-resources
python3-aptdaemon
aptdaemon
python3-aptdaemon.gtk3widgets
language-selector-gnome
nvidia-common
screen-resolution-extra
nvidia-settings-304
python3-cairo
python3-gi-cairo
onboard
onboard-data
openprinting-ppds
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
知道如何解决这些问题吗?
答案1
最后,只需安装该ubiquity-frontend-gtk
软件包即可。安装完成后,python3
配置过程中不会再死机,并且安装其余 76 个软件包。之后,我删除了该ubiquity
软件包。
答案2
您的系统处于相当脆弱的状态,如果您做错了什么,您可能需要重新安装系统。所以首先进行备份所有重要信息。现在,让我们首先了解您的问题:
有太多未完全安装的软件包:
77 未完全安装或删除。
这是相当令人关注的。
运行 python rtupdate hook ubiquity-frontend-gtk 时出错
这意味着这确实是一件糟糕的事情。但这仍然不能解释为什么你有与 ubiquity 相关的包。所以我建议你删除它。
依赖地狱!
有很多:
软件包 python3 尚未配置
Python 是任何 ubuntu 安装中最重要的软件包之一。大多数系统都是基于 Python 构建的,如果该软件包出现问题,您很可能就会处于无法恢复的状态。
解决方案。
有多种方法可以地毯式轰炸来尝试修复您的安装,但如果我不在系统前,我会建议任何人都这样做。修复它的更简单的方法是备份后重新安装系统,验证磁盘是否处于良好状态并安装 Ubuntu。
答案3
对于那些有同样问题的人:
安装 ubiquity-frontend-gtk 包解决了我在安装 Epson Workforce WF-3520 打印机驱动程序时出现的依赖性错误。