package update-notifier-common 3.168.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I tried to upgrade my system on Ubuntu 16.04.2 with `aptitude full-apgrade`, but it returned error exit status:
§ sudo aptitude full-upgrade
[sudo] password for alexey:
The following packages will be upgraded:
chromium-
libmysqlc
python3-
update-
11 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 70,5 MB of archives. After unpacking 22,2 MB will be used.
Do you want to continue? [Y/n/?]
Get: 1 http://
Get: 2 http://
Get: 3 http://
Get: 4 http://
Get: 5 http://
Get: 6 http://
Get: 7 http://
Get: 8 http://
Get: 9 http://
Get: 10 http://
Get: 11 http://
Fetched 70,5 MB in 37s (1 903 kB/s)
(Reading database ... 340004 files and directories currently installed.)
Preparing to unpack .../chromium-
Unpacking chromium-
Preparing to unpack .../chromium-
Unpacking chromium-browser (57.0.2987.
Preparing to unpack .../chromium-
Unpacking chromium-
Preparing to unpack .../update-
Unpacking update-notifier (3.168.4) over (3.168.3) ...
Preparing to unpack .../update-
Unpacking update-manager (1:16.04.6) over (1:16.04.5) ...
Preparing to unpack .../update-
Unpacking update-manager-core (1:16.04.6) over (1:16.04.5) ...
Preparing to unpack .../python3-
Unpacking python3-
Preparing to unpack .../update-
Unpacking update-
Preparing to unpack .../mysql-
Unpacking mysql-common (5.7.17-
Preparing to unpack .../libmysqlcli
De-configuring libmysqlclient2
Unpacking libmysqlclient2
Preparing to unpack .../libmysqlcli
Unpacking libmysqlclient2
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for libglib2.0-0:i386 (2.48.2-0ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.48.2-0ubuntu1) ...
Processing triggers for gconf2 (3.2.6-3ubuntu6) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Setting up chromium-
Setting up chromium-browser (57.0.2987.
Setting up chromium-
Setting up python3-
Setting up update-manager-core (1:16.04.6) ...
Setting up update-
Traceback (most recent call last):
File "/usr/lib/
import debian.deb822
File "/usr/lib/
import six
ImportError: No module named 'six'
dpkg: error processing package update-
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of update-notifier:
update-
Package update-
dpkg: error processing package update-notifier (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of update-manager:
update-manager depends on update-notifier; however:
Package update-notifier is not configured yet.
dpkg: error processing package update-manager (--configure):
dependency problems - leaving unconfigured
Setting up mysql-common (5.7.17-
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up libmysqlclient2
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Errors were encountered while processing:
update-
update-
update-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Setting up update-
Traceback (most recent call last):
File "/usr/lib/
import debian.deb822
File "/usr/lib/
import six
ImportError: No module named 'six'
dpkg: error processing package update-
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of update-notifier:
update-
Package update-
dpkg: error processing package update-notifier (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of update-manager:
update-manager depends on update-notifier; however:
Package update-notifier is not configured yet.
dpkg: error processing package update-manager (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
update-
update-
update-manager
Current status: 0 (-11) upgradable.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: update-
ProcVersionSign
Uname: Linux 4.8.0-46-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Thu Apr 6 10:31:01 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-02-17 (47 days ago)
InstallationMedia: Ubuntu-GNOME 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160720)
PackageArchitec
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.19
SourcePackage: update-notifier
Title: package update-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
The problem seems resolved after i manually installed Python 3 `six` package with
sudo -H pip3 install six
I find it strange that i had to do it manually.