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

Bug #1805192 reported by Steeven demay
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
New
Undecided
Unassigned

Bug Description

,

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: update-notifier-common 0.154.1ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-137.163~14.04.1-generic 4.4.144
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:update-notifier-common:0.154.1ubuntu3:le sous-processus script post-installation installé a retourné une erreur de sortie d'état 127
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)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.8
 apt 1.0.1ubuntu2.18
SourcePackage: update-notifier
Title: 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
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.apt.apt.conf.d.10periodic:
 APT::Periodic::Update-Package-Lists "1";
 APT::Periodic::Download-Upgradeable-Packages "0";
 APT::Periodic::AutocleanInterval "0";
 APT::Periodic::Unattended-Upgrade "0";
mtime.conffile..etc.apt.apt.conf.d.10periodic: 2017-12-03T10:35:47.005068

Revision history for this message
Steeven demay (steevend) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Steve Langasek (vorlon) wrote :

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) ...
/var/lib/dpkg/info/update-notifier-common.postinst: 16: /var/lib/dpkg/info/update-notifier-common.postinst: /usr/lib/update-notifier/package-data-downloader: not found
dpkg: error processing package update-notifier-common (--purge):
 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.

affects: update-notifier (Ubuntu) → dpkg (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.