package update-notifier-common 3.168.8 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Sorry if the formatting isn't up to bar, this is one of my first tickets here. Please advise as to how to help you help me resolve this issue.
This is the result of `sudo apt upgrade`:
Setting up update-
Traceback (most recent call last):
File "/usr/lib/
import debian.deb822
File "/usr/lib/
import chardet
ImportError: No module named 'chardet'
dpkg: error processing package update-
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of flashplugin-
flashplugin-
Package update-
dpkg: error processing package flashplugin-
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
update-notifier depends on update-
Package update-
dpkg: error processing package update-notifier (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up dpkg-dev (1.18.4ubuntu1.4) ...
Errors were encountered while processing:
update-
flashplugin-
update-notifier
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: update-
ProcVersionSign
Uname: Linux 4.13.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Thu Mar 15 08:15:40 2018
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-11-27 (107 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
PackageArchitec
RelatedPackageV
dpkg 1.18.4ubuntu1.3
apt 1.2.25
SourcePackage: update-notifier
Title: package update-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
python3-chardet is a dependency of python3-debian, and should never be absent from your system. Have you done something to modify your python installation? Is the python3-chardet package installed? Is /usr/lib/ python3/ dist-packages/ chardet/ __init_ _.py present on the filesystem?