package update-notifier-common 0.154.1ubuntu3 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 127
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
,
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: update-
ProcVersionSign
Uname: Linux 4.4.0-137-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.29
Architecture: amd64
Date: Wed Nov 14 20:09:47 2018
DuplicateSignature: package:
ErrorMessage: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 127
InstallationDate: Installed on 2015-12-21 (1070 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
PackageArchitec
RelatedPackageV
dpkg 1.17.5ubuntu5.8
apt 1.0.1ubuntu2.18
SourcePackage: update-notifier
Title: package update-
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
APT::Periodic:
APT::Periodic:
APT::Periodic:
APT::Periodic:
mtime.conffile.
tags: | removed: need-duplicate-check |
Thank you for reporting this bug and helping to improve Ubuntu.
The error in your log is:
Processing triggers for update- notifier- common (0.154.1ubuntu3) ... dpkg/info/ update- notifier- common. postinst: 16: /var/lib/ dpkg/info/ update- notifier- common. postinst: /usr/lib/ update- notifier/ package- data-downloader : not found notifier- common (--purge):
/var/lib/
dpkg: error processing package update-
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 127
[...]
This is unusual; if the package is being purged, then there is no reason that the trigger for the package should be called. This looks to me like it may be some sort of bug in dpkg in terms of handling the state of a package in the process of being removed. Reassigning this bug to dpkg.
However, I also notice from your logs that the reason that this package is being purged is that you are trying to run 'apt purge python2.7-minimal' on an Ubuntu 14.04 system. As the logs show, this tries to remove a large number of packages which as of Ubuntu 14.04 still required python2. It removes the ubuntu-desktop metapackage, which means future upgrades of your system cannot be handled as expected.
If you want to remove python2.7 from your system, I would recommend you first upgrade to the current supported LTS release (Ubuntu 18.04 LTS), which no longer pulls python2.7 into the Ubuntu Desktop.