Sub-process /usr/bin/dpkg returned an error code
我正在使用 Ubuntu 16.04,在尝试安装新应用程序或更新系统时出现错误。这似乎是因为我在更新时意外关闭了计算机。
我对 Ubuntu 还很陌生,一直在尝试自己解决这个问题,但根据阅读过类似的错误,这似乎超出了我的技术知识范围,我担心会造成更大的损害。这似乎与Package libappstream-glib8:amd64 is not configured yet.
阻止其他进程运行的错误有关。我想这可能是一个损坏的软件?
以下是中断更新的日志以及我重新启动笔记本电脑后进行的更新
Start-Date: 2016-11-30 12:21:58
Commandline: aptdaemon role='role-commit-packages' sender=':1.138'
Install: libhybris:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7, automatic), linux-headers-4.4.0-51-generic:amd64 (4.4.0-51.72, automatic), libhybris-common1:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7, automatic), libmedia1:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7, automatic), snap-confine:amd64 (1.0.43-0ubuntu1~16.04.1, automatic), libhardware2:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7, automatic), linux-headers-4.4.0-51:amd64 (4.4.0-51.72, automatic), linux-signed-image-4.4.0-51-generic:amd64 (4.4.0-51.72, automatic), linux-image-4.4.0-51-generic:amd64 (4.4.0-51.72, automatic), linux-image-extra-4.4.0-51-generic:amd64 (4.4.0-51.72, automatic)
Upgrade: libframe6:amd64 (2.5.0daily13.06.05-0ubuntu1, 2.5.0daily13.06.05+16.04.20160809-0ubuntu1), init:amd64 (1.29ubuntu2, 1.29ubuntu3), libnm-glib4:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.2-0ubuntu0.16.04.3), init-system-helpers:amd64 (1.29ubuntu2, 1.29ubuntu3), liboxideqt-qmlplugin:amd64 (1.17.9-0ubuntu0.16.04.1, 1.18.3-0ubuntu0.16.04.1), suru-icon-theme:amd64 (14.04+16.04.20160621-0ubuntu1, 14.04+16.04.20161024-0ubuntu1), gnome-calendar:amd64 (3.20.2-0ubuntu0.1, 3.20.4-0ubuntu0.1), fuse:amd64 (2.9.4-1ubuntu3, 2.9.4-1ubuntu3.1), poppler-utils:amd64 (0.41.0-0ubuntu1, 0.41.0-0ubuntu1.1), wine-devel-amd64:amd64 (1.9.19~ubuntu16.04.1, 1.9.23~ubuntu16.04.1), gnome-settings-daemon-schemas:amd64 (3.18.2-0ubuntu3, 3.18.2-0ubuntu3.1), language-pack-gnome-en:amd64 (1:16.04+20160627, 1:16.04+20161009), unity-schemas:amd64 (7.4.0+16.04.20160715-0ubuntu1, 7.4.0+16.04.20160906-0ubuntu1), wine-devel:amd64 (1.9.19~ubuntu16.04.1, 1.9.23~ubuntu16.04.1), update-manager-core:amd64 (1:16.04.3, 1:16.04.4), liboxideqtquick0:amd64 (1.17.9-0ubuntu0.16.04.1, 1.18.3-0ubuntu0.16.04.1), linux-headers-generic:amd64 (4.4.0.47.50, 4.4.0.51.54), libqt5test5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), gnome-session-common:amd64 (3.18.1.2-1ubuntu1.16.04.1, 3.18.1.2-1ubuntu1.16.04.2), compiz-plugins-default:amd64 (1:0.9.12.2+16.04.20160714-0ubuntu1, 1:0.9.12.2+16.04.20160823-0ubuntu1), whoopsie:amd64 (0.2.52.1, 0.2.52.2), linux-libc-dev:amd64 (4.4.0-47.68, 4.4.0-51.72), xserver-common:amd64 (2:1.18.3-1ubuntu2.2, 2:1.18.4-0ubuntu0.2), ifupdown:amd64 (0.8.10ubuntu1, 0.8.10ubuntu1.1), vim-common:amd64 (2:7.4.1689-3ubuntu1.1, 2:7.4.1689-3ubuntu1.2), liboxideqtcore0:amd64 (1.17.9-0ubuntu0.16.04.1, 1.18.3-0ubuntu0.16.04.1), libapt-inst2.0:amd64 (1.2.12~ubuntu16.04.1, 1.2.15), python3-software-properties:amd64 (0.96.20.2, 0.96.20.4), xserver-xorg-core:amd64 (2:1.18.3-1ubuntu2.2, 2:1.18.4-0ubuntu0.2), gnome-system-monitor:amd64 (3.18.2-1, 3.18.2-1ubuntu1), bamfdaemon:amd64 (0.5.3~bzr0+16.04.20160701-0ubuntu1, 0.5.3~bzr0+16.04.20160824-0ubuntu1), libc6-dbg:amd64 (2.23-0ubuntu3, 2.23-0ubuntu4), libc6-dev:amd64 (2.23-0ubuntu3, 2.23-0ubuntu4), vino:amd64 (3.8.1-0ubuntu9, 3.8.1-0ubuntu9.1), gnome-sudoku:amd64 (1:3.18.2-1, 1:3.18.4-0ubuntu2), libdecoration0:amd64 (1:0.9.12.2+16.04.20160714-0ubuntu1, 1:0.9.12.2+16.04.20160823-0ubuntu1), libgweather-3-6:amd64 (3.18.1-1ubuntu1, 3.18.2-0ubuntu0.1), libsystemd0:amd64 (229-4ubuntu10, 229-4ubuntu12), libsystemd0:i386 (229-4ubuntu10, 229-4ubuntu12), linux-image-generic:amd64 (4.4.0.47.50, 4.4.0.51.54), apt:amd64 (1.2.12~ubuntu16.04.1, 1.2.15), libfcitx-gclient0:amd64 (1:4.2.9.1-1ubuntu1, 1:4.2.9.1-1ubuntu1.16.04.1), gstreamer1.0-plugins-good:amd64 (1.8.2-1ubuntu0.2, 1.8.2-1ubuntu0.3), libdbusmenu-glib4:amd64 (12.10.3+16.04.20160223.1-0ubuntu1, 16.04.1+16.04.20160927-0ubuntu1), snapd:amd64 (2.0.10, 2.16ubuntu3), update-manager:amd64 (1:16.04.3, 1:16.04.4), libwhoopsie0:amd64 (0.2.52.1, 0.2.52.2), language-selector-common:amd64 (0.165.3, 0.165.4), linux-signed-image-generic:amd64 (4.4.0.47.50, 4.4.0.51.54), p11-kit:amd64 (0.23.2-3, 0.23.2-5~ubuntu16.04.1), libnm-gtk-common:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.0-0ubuntu0.16.04.4), sudo:amd64 (1.8.16-0ubuntu1.1, 1.8.16-0ubuntu1.2), libqt5dbus5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), libqt5sql5-sqlite:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), libc6:amd64 (2.23-0ubuntu3, 2.23-0ubuntu4), libc6:i386 (2.23-0ubuntu3, 2.23-0ubuntu4), ubuntu-session:amd64 (3.18.1.2-1ubuntu1.16.04.1, 3.18.1.2-1ubuntu1.16.04.2), libxatracker2:amd64 (11.2.0-1ubuntu2, 11.2.0-1ubuntu2.2), libqt5widgets5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), libnm-glib-vpn1:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.2-0ubuntu0.16.04.3), xdiagnose:amd64 (3.8.4, 3.8.4.1), udev:amd64 (229-4ubuntu10, 229-4ubuntu12), locales:amd64 (2.23-0ubuntu3, 2.23-0ubuntu4), winehq-devel:amd64 (1.9.19~ubuntu16.04.1, 1.9.23~ubuntu16.04.1), flashplugin-installer:amd64 (11.2.202.643ubuntu0.16.04.1, 11.2.202.644ubuntu0.16.04.1), libnm0:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.2-0ubuntu0.16.04.3), unity:amd64 (7.4.0+16.04.20160715-0ubuntu1, 7.4.0+16.04.20160906-0ubuntu1), network-manager-gnome:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.0-0ubuntu0.16.04.4), language-pack-en:amd64 (1:16.04+20160627, 1:16.04+20161009), libklibc:amd64 (2.0.4-8ubuntu1.16.04.1, 2.0.4-8ubuntu1.16.04.2), isc-dhcp-common:amd64 (4.3.3-5ubuntu12.1, 4.3.3-5ubuntu12.4), network-manager:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.2-0ubuntu0.16.04.3), libapt-pkg5.0:amd64 (1.2.12~ubuntu16.04.1, 1.2.15), libdbusmenu-gtk4:amd64 (12.10.3+16.04.20160223.1-0ubuntu1, 16.04.1+16.04.20160927-0ubuntu1), software-properties-gtk:amd64 (0.96.20.2, 0.96.20.4), kbd:amd64 (1.15.5-1ubuntu4, 1.15.5-1ubuntu5), initramfs-tools-bin:amd64 (0.122ubuntu8.1, 0.122ubuntu8.5), libdfu1:amd64 (0.7.0-0ubuntu4.2, 0.7.0-0ubuntu4.3), linux-signed-generic:amd64 (4.4.0.47.50, 4.4.0.51.54), libgstreamer-plugins-good1.0-0:amd64 (1.8.2-1ubuntu0.2, 1.8.2-1ubuntu0.3), libudev1:amd64 (229-4ubuntu10, 229-4ubuntu12), libudev1:i386 (229-4ubuntu10, 229-4ubuntu12), libapparmor1:amd64 (2.10.95-0ubuntu2, 2.10.95-0ubuntu2.5), libqt5xml5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), gtk2-engines-murrine:amd64 (0.98.2-0ubuntu2.1, 0.98.2-0ubuntu2.2), gstreamer1.0-pulseaudio:amd64 (1.8.2-1ubuntu0.2, 1.8.2-1ubuntu0.3), libgbm1:amd64 (11.2.0-1ubuntu2, 11.2.0-1ubuntu2.2), libqt5printsupport5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), libfcitx-config4:amd64 (1:4.2.9.1-1ubuntu1, 1:4.2.9.1-1ubuntu1.16.04.1), libnm-util2:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.2-0ubuntu0.16.04.3), libbamf3-2:amd64 (0.5.3~bzr0+16.04.20160701-0ubuntu1, 0.5.3~bzr0+16.04.20160824-0ubuntu1), wine-devel-i386:i386 (1.9.19~ubuntu16.04.1, 1.9.23~ubuntu16.04.1), gnome-font-viewer:amd64 (3.16.2-1build1, 3.16.2-1ubuntu1), libappstream-glib8:amd64 (0.5.13-1ubuntu2, 0.5.13-1ubuntu4), gnome-calculator:amd64 (1:3.18.3-0ubuntu1, 1:3.18.3-0ubuntu1.16.04.1), cups-filters:amd64 (1.8.3-2ubuntu3, 1.8.3-2ubuntu3.1), libqt5gui5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), ubuntu-drivers-common:amd64 (1:0.4.17.1, 1:0.4.17.2), nautilus:amd64 (1:3.18.4.is.3.14.3-0ubuntu4, 1:3.18.4.is.3.14.3-0ubuntu5), libnautilus-extension1a:amd64 (1:3.18.4.is.3.14.3-0ubuntu4, 1:3.18.4.is.3.14.3-0ubuntu5), libapparmor-perl:amd64 (2.10.95-0ubuntu2, 2.10.95-0ubuntu2.5), python3-cryptography:amd64 (1.2.3-1, 1.2.3-1ubuntu0.1), python3-distupgrade:amd64 (1:16.04.14, 1:16.04.18), libc-bin:amd64 (2.23-0ubuntu3, 2.23-0ubuntu4), python3-update-manager:amd64 (1:16.04.3, 1:16.04.4), ubuntu-release-upgrader-core:amd64 (1:16.04.14, 1:16.04.18), im-config:amd64 (0.29-1ubuntu12, 0.29-1ubuntu12.2), metacity-common:amd64 (1:3.18.5-0ubuntu0.1, 1:3.18.7-0ubuntu0.2), libfuse2:amd64 (2.9.4-1ubuntu3, 2.9.4-1ubuntu3.1), libcupsfilters1:amd64 (1.8.3-2ubuntu3, 1.8.3-2ubuntu3.1), systemd-sysv:amd64 (229-4ubuntu10, 229-4ubuntu12), xserver-xorg-video-intel:amd64 (2:2.99.917+git20160325-1ubuntu1, 2:2.99.917+git20160325-1ubuntu1.1), unity-services:amd64 (7.4.0+16.04.20160715-0ubuntu1, 7.4.0+16.04.20160906-0ubuntu1), libunity-core-6.0-9:amd64 (7.4.0+16.04.20160715-0ubuntu1, 7.4.0+16.04.20160906-0ubuntu1), libmetacity-private3a:amd64 (1:3.18.5-0ubuntu0.1, 1:3.18.7-0ubuntu0.2), oxideqt-codecs-extra:amd64 (1.17.9-0ubuntu0.16.04.1, 1.18.3-0ubuntu0.16.04.1), ubuntu-core-launcher:amd64 (1.0.27.1, 1.0.43-0ubuntu1~16.04.1), libpam-systemd:amd64 (229-4ubuntu10, 229-4ubuntu12), distro-info-data:amd64 (0.28ubuntu0.1, 0.28ubuntu0.2), libnma0:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.0-0ubuntu0.16.04.4), compiz-gnome:amd64 (1:0.9.12.2+16.04.20160714-0ubuntu1, 1:0.9.12.2+16.04.20160823-0ubuntu1), systemd:amd64 (229-4ubuntu10, 229-4ubuntu12), libnma-common:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.0-0ubuntu0.16.04.4), libqt5core5a:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), libfontembed1:amd64 (1.8.3-2ubuntu3, 1.8.3-2ubuntu3.1), ubuntu-mobile-icons:amd64 (14.04+16.04.20160621-0ubuntu1, 14.04+16.04.20161024-0ubuntu1), libcompizconfig0:amd64 (1:0.9.12.2+16.04.20160714-0ubuntu1, 1:0.9.12.2+16.04.20160823-0ubuntu1), apt-utils:amd64 (1.2.12~ubuntu16.04.1, 1.2.15), compiz:amd64 (1:0.9.12.2+16.04.20160714-0ubuntu1, 1:0.9.12.2+16.04.20160823-0ubuntu1), libfwupd1:amd64 (0.7.0-0ubuntu4.2, 0.7.0-0ubuntu4.3), shim-signed:amd64 (1.18~16.04.1+0.8-0ubuntu2, 1.19~16.04.1+0.8-0ubuntu2), gir1.2-dbusmenu-glib-0.4:amd64 (12.10.3+16.04.20160223.1-0ubuntu1, 16.04.1+16.04.20160927-0ubuntu1), gnome-session-bin:amd64 (3.18.1.2-1ubuntu1.16.04.1, 3.18.1.2-1ubuntu1.16.04.2), libnm-gtk0:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.0-0ubuntu0.16.04.4), light-themes:amd64 (14.04+16.04.20160621-0ubuntu1, 14.04+16.04.20161024-0ubuntu1), libdbusmenu-gtk3-4:amd64 (12.10.3+16.04.20160223.1-0ubuntu1, 16.04.1+16.04.20160927-0ubuntu1), cups-filters-core-drivers:amd64 (1.8.3-2ubuntu3, 1.8.3-2ubuntu3.1), libqt5opengl5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), ubuntu-artwork:amd64 (1:14.04+16.04.20160621-0ubuntu1, 1:14.04+16.04.20161024-0ubuntu1), ubuntu-release-upgrader-gtk:amd64 (1:16.04.14, 1:16.04.18), libc-dev-bin:amd64 (2.23-0ubuntu3, 2.23-0ubuntu4), libfcitx-utils0:amd64 (1:4.2.9.1-1ubuntu1, 1:4.2.9.1-1ubuntu1.16.04.1), fwupd:amd64 (0.7.0-0ubuntu4.2, 0.7.0-0ubuntu4.3), multiarch-support:amd64 (2.23-0ubuntu3, 2.23-0ubuntu4), unattended-upgrades:amd64 (0.90, 0.90ubuntu0.2), vim-tiny:amd64 (2:7.4.1689-3ubuntu1.1, 2:7.4.1689-3ubuntu1.2), apparmor:amd64 (2.10.95-0ubuntu2, 2.10.95-0ubuntu2.5), nautilus-data:amd64 (1:3.18.4.is.3.14.3-0ubuntu4, 1:3.18.4.is.3.14.3-0ubuntu5), apt-transport-https:amd64 (1.2.12~ubuntu16.04.1, 1.2.15), mtools:amd64 (4.0.18-2, 4.0.18-2ubuntu0.16.04), linux-firmware:amd64 (1.157.4, 1.157.5), accountsservice:amd64 (0.6.40-2ubuntu11.1, 0.6.40-2ubuntu11.3), language-selector-gnome:amd64 (0.165.3, 0.165.4), libqt5network5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), compiz-core:amd64 (1:0.9.12.2+16.04.20160714-0ubuntu1, 1:0.9.12.2+16.04.20160823-0ubuntu1), libpoppler-glib8:amd64 (0.41.0-0ubuntu1, 0.41.0-0ubuntu1.1), libpoppler58:amd64 (0.41.0-0ubuntu1, 0.41.0-0ubuntu1.1), isc-dhcp-client:amd64 (4.3.3-5ubuntu12.1, 4.3.3-5ubuntu12.4), klibc-utils:amd64 (2.0.4-8ubuntu1.16.04.1, 2.0.4-8ubuntu1.16.04.2), linux-generic:amd64 (4.4.0.47.50, 4.4.0.51.54), ubuntu-mono:amd64 (14.04+16.04.20160621-0ubuntu1, 14.04+16.04.20161024-0ubuntu1), lightdm:amd64 (1.18.2-0ubuntu1, 1.18.3-0ubuntu1), libgweather-common:amd64 (3.18.1-1ubuntu1, 3.18.2-0ubuntu0.1), initramfs-tools-core:amd64 (0.122ubuntu8.1, 0.122ubuntu8.5), initramfs-tools:amd64 (0.122ubuntu8.1, 0.122ubuntu8.5), less:amd64 (481-2.1, 481-2.1ubuntu0.1), libqt5sql5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), liblightdm-gobject-1-0:amd64 (1.18.2-0ubuntu1, 1.18.3-0ubuntu1), libaccountsservice0:amd64 (0.6.40-2ubuntu11.1, 0.6.40-2ubuntu11.3), cups-browsed:amd64 (1.8.3-2ubuntu3, 1.8.3-2ubuntu3.1), base-files:amd64 (9.4ubuntu4.2, 9.4ubuntu4.3), software-properties-common:amd64 (0.96.20.2, 0.96.20.4)
Error: Sub-process /usr/bin/dpkg exited unexpectedly
End-Date: 2016-11-30 12:25:34
这是我重新启动笔记本电脑后尝试更新时的日志
Start-Date: 2016-11-30 12:31:49
Commandline: aptdaemon role='role-commit-packages' sender=':1.112'
Install: libhybris:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7, automatic), linux-headers-4.4.0-51-generic:amd64 (4.4.0-51.72, automatic), libhybris-common1:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7, automatic), libmedia1:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7, automatic), libhardware2:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7, automatic), linux-headers-4.4.0-51:amd64 (4.4.0-51.72, automatic), linux-signed-image-4.4.0-51-generic:amd64 (4.4.0-51.72, automatic), linux-image-4.4.0-51-generic:amd64 (4.4.0-51.72, automatic), linux-image-extra-4.4.0-51-generic:amd64 (4.4.0-51.72, automatic)
Upgrade: libframe6:amd64 (2.5.0daily13.06.05-0ubuntu1, 2.5.0daily13.06.05+16.04.20160809-0ubuntu1), libnm-glib4:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.2-0ubuntu0.16.04.3), liboxideqt-qmlplugin:amd64 (1.17.9-0ubuntu0.16.04.1, 1.18.3-0ubuntu0.16.04.1), suru-icon-theme:amd64 (14.04+16.04.20160621-0ubuntu1, 14.04+16.04.20161024-0ubuntu1), gnome-calendar:amd64 (3.20.2-0ubuntu0.1, 3.20.4-0ubuntu0.1), unity-schemas:amd64 (7.4.0+16.04.20160715-0ubuntu1, 7.4.0+16.04.20160906-0ubuntu1), liboxideqtquick0:amd64 (1.17.9-0ubuntu0.16.04.1, 1.18.3-0ubuntu0.16.04.1), linux-headers-generic:amd64 (4.4.0.47.50, 4.4.0.51.54), libqt5test5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), gnome-session-common:amd64 (3.18.1.2-1ubuntu1.16.04.1, 3.18.1.2-1ubuntu1.16.04.2), liboxideqtcore0:amd64 (1.17.9-0ubuntu0.16.04.1, 1.18.3-0ubuntu0.16.04.1), python3-software-properties:amd64 (0.96.20.2, 0.96.20.4), gnome-system-monitor:amd64 (3.18.2-1, 3.18.2-1ubuntu1), vino:amd64 (3.8.1-0ubuntu9, 3.8.1-0ubuntu9.1), gnome-sudoku:amd64 (1:3.18.2-1, 1:3.18.4-0ubuntu2), libgweather-3-6:amd64 (3.18.1-1ubuntu1, 3.18.2-0ubuntu0.1), linux-image-generic:amd64 (4.4.0.47.50, 4.4.0.51.54), libfcitx-gclient0:amd64 (1:4.2.9.1-1ubuntu1, 1:4.2.9.1-1ubuntu1.16.04.1), gstreamer1.0-plugins-good:amd64 (1.8.2-1ubuntu0.2, 1.8.2-1ubuntu0.3), snapd:amd64 (2.0.10, 2.16ubuntu3), linux-signed-image-generic:amd64 (4.4.0.47.50, 4.4.0.51.54), p11-kit:amd64 (0.23.2-3, 0.23.2-5~ubuntu16.04.1), libnm-gtk-common:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.0-0ubuntu0.16.04.4), libqt5dbus5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), libqt5sql5-sqlite:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), ubuntu-session:amd64 (3.18.1.2-1ubuntu1.16.04.1, 3.18.1.2-1ubuntu1.16.04.2), libxatracker2:amd64 (11.2.0-1ubuntu2, 11.2.0-1ubuntu2.2), libqt5widgets5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), libnm-glib-vpn1:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.2-0ubuntu0.16.04.3), xdiagnose:amd64 (3.8.4, 3.8.4.1), libnm0:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.2-0ubuntu0.16.04.3), unity:amd64 (7.4.0+16.04.20160715-0ubuntu1, 7.4.0+16.04.20160906-0ubuntu1), network-manager-gnome:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.0-0ubuntu0.16.04.4), network-manager:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.2-0ubuntu0.16.04.3), libdbusmenu-gtk4:amd64 (12.10.3+16.04.20160223.1-0ubuntu1, 16.04.1+16.04.20160927-0ubuntu1), software-properties-gtk:amd64 (0.96.20.2, 0.96.20.4), libdfu1:amd64 (0.7.0-0ubuntu4.2, 0.7.0-0ubuntu4.3), linux-signed-generic:amd64 (4.4.0.47.50, 4.4.0.51.54), libgstreamer-plugins-good1.0-0:amd64 (1.8.2-1ubuntu0.2, 1.8.2-1ubuntu0.3), libqt5xml5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), gtk2-engines-murrine:amd64 (0.98.2-0ubuntu2.1, 0.98.2-0ubuntu2.2), gstreamer1.0-pulseaudio:amd64 (1.8.2-1ubuntu0.2, 1.8.2-1ubuntu0.3), libqt5printsupport5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), libfcitx-config4:amd64 (1:4.2.9.1-1ubuntu1, 1:4.2.9.1-1ubuntu1.16.04.1), libnm-util2:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.2-0ubuntu0.16.04.3), gnome-font-viewer:amd64 (3.16.2-1build1, 3.16.2-1ubuntu1), gnome-calculator:amd64 (1:3.18.3-0ubuntu1, 1:3.18.3-0ubuntu1.16.04.1), libqt5gui5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), nautilus:amd64 (1:3.18.4.is.3.14.3-0ubuntu4, 1:3.18.4.is.3.14.3-0ubuntu5), libnautilus-extension1a:amd64 (1:3.18.4.is.3.14.3-0ubuntu4, 1:3.18.4.is.3.14.3-0ubuntu5), python3-cryptography:amd64 (1.2.3-1, 1.2.3-1ubuntu0.1), xserver-xorg-video-intel:amd64 (2:2.99.917+git20160325-1ubuntu1, 2:2.99.917+git20160325-1ubuntu1.1), unity-services:amd64 (7.4.0+16.04.20160715-0ubuntu1, 7.4.0+16.04.20160906-0ubuntu1), libunity-core-6.0-9:amd64 (7.4.0+16.04.20160715-0ubuntu1, 7.4.0+16.04.20160906-0ubuntu1), oxideqt-codecs-extra:amd64 (1.17.9-0ubuntu0.16.04.1, 1.18.3-0ubuntu0.16.04.1), libnma0:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.0-0ubuntu0.16.04.4), libnma-common:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.0-0ubuntu0.16.04.4), libqt5core5a:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), ubuntu-mobile-icons:amd64 (14.04+16.04.20160621-0ubuntu1, 14.04+16.04.20161024-0ubuntu1), libfwupd1:amd64 (0.7.0-0ubuntu4.2, 0.7.0-0ubuntu4.3), shim-signed:amd64 (1.18~16.04.1+0.8-0ubuntu2, 1.19~16.04.1+0.8-0ubuntu2), gnome-session-bin:amd64 (3.18.1.2-1ubuntu1.16.04.1, 3.18.1.2-1ubuntu1.16.04.2), libnm-gtk0:amd64 (1.2.0-0ubuntu0.16.04.3, 1.2.0-0ubuntu0.16.04.4), light-themes:amd64 (14.04+16.04.20160621-0ubuntu1, 14.04+16.04.20161024-0ubuntu1), libqt5opengl5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), ubuntu-artwork:amd64 (1:14.04+16.04.20160621-0ubuntu1, 1:14.04+16.04.20161024-0ubuntu1), libfcitx-utils0:amd64 (1:4.2.9.1-1ubuntu1, 1:4.2.9.1-1ubuntu1.16.04.1), fwupd:amd64 (0.7.0-0ubuntu4.2, 0.7.0-0ubuntu4.3), unattended-upgrades:amd64 (0.90, 0.90ubuntu0.2), nautilus-data:amd64 (1:3.18.4.is.3.14.3-0ubuntu4, 1:3.18.4.is.3.14.3-0ubuntu5), mtools:amd64 (4.0.18-2, 4.0.18-2ubuntu0.16.04), linux-firmware:amd64 (1.157.4, 1.157.5), libqt5network5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), libpoppler-glib8:amd64 (0.41.0-0ubuntu1, 0.41.0-0ubuntu1.1), linux-generic:amd64 (4.4.0.47.50, 4.4.0.51.54), ubuntu-mono:amd64 (14.04+16.04.20160621-0ubuntu1, 14.04+16.04.20161024-0ubuntu1), libgweather-common:amd64 (3.18.1-1ubuntu1, 3.18.2-0ubuntu0.1), libqt5sql5:amd64 (5.5.1+dfsg-16ubuntu7.1, 5.5.1+dfsg-16ubuntu7.2), liblightdm-gobject-1-0:amd64 (1.18.2-0ubuntu1, 1.18.3-0ubuntu1), software-properties-common:amd64 (0.96.20.2, 0.96.20.4)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2016-11-30 12:36:37
这是我运行命令行后收到的错误消息sudo apt-get update && sudo apt-get upgrade
(从建议到另一个查询)
dpkg: error processing package ubuntu-software (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu4) ...
Errors were encountered while processing:
libappstream-glib8:amd64
fwupd
unity
gnome-software
ubuntu-software
E: Sub-process /usr/bin/dpkg returned an error code (1)
答案1
E: Sub-process /usr/bin/dpkg returned an error code (1)
这个错误意味着 dpkg 失败了。它没有告诉我们原因。为此,我们必须查看上面的几行:
dpkg: error processing package ubuntu-software (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu4) ...
Errors were encountered while processing:
libappstream-glib8:amd64
fwupd
unity
gnome-software
让我们尝试清理一下这个烂摊子。发出以下命令:
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -f