[debhelper-devel] Bug#806276: debhelper: package removal fails with: update-rc.d: error: $initscript Default-Start contains no runlevels, aborting.

Andreas Beckmann anbe at debian.org
Thu Nov 26 03:04:00 UTC 2015


Package: debhelper
Version: 9.20151117
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts


Hi,

I think these are regressions after building the packages with the
latest debhelper:

https://piuparts.debian.org/sid/post_removal_script_error.html


  Removing unattended-upgrades (0.86.5) ...
  update-rc.d: error: unattended-upgrades Default-Start contains no runlevels, aborting.
  dpkg: error processing package unattended-upgrades (--remove):
   subprocess installed post-removal script returned error exit status 1


  Removing nordugrid-arc-ldap-infosys (5.0.4-1) ...
  Running in chroot, ignoring request.
  invoke-rc.d: policy-rc.d denied execution of stop.
  Running in chroot, ignoring request.
  invoke-rc.d: policy-rc.d denied execution of stop.
  Running in chroot, ignoring request.
  invoke-rc.d: policy-rc.d denied execution of stop.
  update-rc.d: error: nordugrid-arc-ldap-infosys Default-Start contains no runlevels, aborting.
  dpkg: error processing package nordugrid-arc-ldap-infosys (--remove):
   subprocess installed post-removal script returned error exit status 1


  Removing samba (2:4.1.21+dfsg-2+b1) ...
  Running in chroot, ignoring request.
  invoke-rc.d: policy-rc.d denied execution of stop.
  Running in chroot, ignoring request.
  invoke-rc.d: policy-rc.d denied execution of stop.
  Running in chroot, ignoring request.
  invoke-rc.d: policy-rc.d denied execution of stop.
  update-rc.d: error: cannot find a LSB script for reload-smbd
  dpkg: error processing package samba (--remove):
   subprocess installed post-removal script returned error exit status 1


This is from my local piuparts instance:

  Removing mdadm (3.3.4-1.1) ...
  Running in chroot, ignoring request.
  invoke-rc.d: policy-rc.d denied execution of stop.
  Running in chroot, ignoring request.
  invoke-rc.d: policy-rc.d denied execution of stop.
  insserv: warning: current start runlevel(s) (empty) of script `mdadm' overrides LSB defaults (2 3 4 5).
  insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `mdadm' overrides LSB defaults (0 1 6).
  update-rc.d: error: mdadm-waitidle Default-Start contains no runlevels, aborting.
  dpkg: error processing package mdadm (--remove):
   subprocess installed post-removal script returned error exit status 1



Andreas



More information about the debhelper-devel mailing list