package kdump-tools 1.5.5-2ubuntu1.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1512022 reported by tamboura
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
makedumpfile (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Trusty by Thadeu Lima de Souza Cascardo

Bug Description

dpkg: error processing package kdump-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-crashdump:
 linux-crashdump depends on kdump-tools; however:
  Package kdump-tools is not configured yet.

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: kdump-tools 1.5.5-2ubuntu1.4
ProcVersionSignature: Ubuntu 3.13.0-53.89-generic 3.13.11-ckt19
Uname: Linux 3.13.0-53-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.16
Architecture: amd64
Date: Sun Nov 1 07:33:17 2015
DuplicateSignature: package:kdump-tools:1.5.5-2ubuntu1.4:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2014-09-05 (421 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.4
 apt 1.0.1ubuntu2.10
SourcePackage: makedumpfile
Title: package kdump-tools 1.5.5-2ubuntu1.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.default.kdump.tools: 2015-07-28T12:54:50.464735

Revision history for this message
tamboura (tamboura-st) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in makedumpfile (Ubuntu):
status: New → Confirmed
Revision history for this message
Kindjal (kindjal) wrote :

kdump-tools.postinst has

    # Automatically added by dh_installinit
    if [ -x "/etc/init.d/kdump-tools" ] || [ -e "/etc/init/kdump-tools.conf" ]; then
     if [ ! -e "/etc/init/kdump-tools.conf" ]; then
      update-rc.d kdump-tools start 11 2 3 4 5 . >/dev/null
     fi
     invoke-rc.d kdump-tools start || exit $?
    fi

The init.d script /etc/init.d/kdump-tools.dist does a check for upstart and exits 1 if upstart is present:

    if init_is_upstart; then
        exit 1
    fi

There is an upstart config, /etc/init/kdump-tools.conf, that is a "task" that should be run on panic.

Perhaps kdump-tools should not be trying to start a service at install time?

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.