adds invoke-rc.d postinst code for upstart scripts

Bug #470326 reported by Martin Pitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debhelper (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

Binary package hint: apport

(Found while testing the proposed update in bug 465619):

When crash detection is disabled ("enable=0" in /etc/default/apport), the package upgrade fails:

$ sudo LANG= dpkg -i apport_1.9.3-0ubuntu4.1_all.deb
(Reading database ... 175926 files and directories currently installed.)
Preparing to replace apport 1.9.3-0ubuntu4 (using apport_1.9.3-0ubuntu4.1_all.deb) ...
stop: Unknown instance:
Disabling Apport again after upgrade to Ubuntu 9.10
Unpacking replacement apport ...
Setting up apport (1.9.3-0ubuntu4.1) ...
update-rc.d: warning: /etc/init.d/apport missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
start: Job failed to start
invoke-rc.d: initscript apport, action "start" failed.
dpkg: error processing apport (--install):
 subprocess installed post-installation script returned error exit status 1

Related branches

Revision history for this message
Martin Pitt (pitti) wrote :

Ah, this is apparently not an issue with karmic, just with the lucid debhelper, which adds an additional invoke-rc.d call.

Changed in apport (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → High
status: New → Triaged
Martin Pitt (pitti)
affects: apport (Ubuntu) → debhelper (Ubuntu)
summary: - Package fails to upgrade when crash detection is disabled
+ adds invoke-rc.d postinst code for upstart scripts
Martin Pitt (pitti)
Changed in debhelper (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Marco Rodrigues (gothicx) wrote :

The current Karmic Lintian v2.2.17ubuntu1 already warns about this for apport package.

Martin Pitt (pitti)
Changed in debhelper (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package debhelper - 7.4.3ubuntu2

---------------
debhelper (7.4.3ubuntu2) lucid; urgency=low

  * dh_installinit: Fix merge error which caused init.d-autoscripts to be
    run for upstartified packages. (LP: #470326)

 -- Martin Pitt <email address hidden> Mon, 02 Nov 2009 13:01:48 +0100

Changed in debhelper (Ubuntu):
status: Fix Committed → Fix Released
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.