[Bug 1001460] Re: preinst fails in d-i

Steve Langasek steve.langasek at canonical.com
Wed May 23 20:48:42 UTC 2012


the issue is that the preinst scripts for the base system are run in
lexical order, with makedev coming before sysv-rc - so while /usr/sbin
/update-rc.d has been unpacked on the system, the preinst has not been
run and therefore makedev's invocation fails with this error.

The update-rc.d invocation was failing before anyway, it's just that now
in precise, the makedev preinst script is set -e where before it was
not, so the update-rc.d failure is being caught.

So we should fix makedev to not call update-rc.d - certainly not in this
case, where it can't possibly be relevant.

** Package changed: sysvinit (Ubuntu Quantal) => makedev (Ubuntu
Quantal)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/1001460

Title:
  preinst fails in d-i

Status in The Eilt project:
  Triaged
Status in “makedev” package in Ubuntu:
  Triaged
Status in “makedev” source package in Quantal:
  Triaged

Bug description:
  A Quantal netinst failed with "Failure while unpacking required
  packages.  This will be attempted up to five times.". As (I presume)
  this is priority critical, it breaks my automated installation.

  Note: I'm using a custom ARM machine, and I hacked d-i to get this
  far. But Steve thought this could be a general Ubuntu bug so asked me
  to report it :)

  May 18 20:44:57 debootstrap: Selecting previously unselected package makedev.
  May 18 20:44:57 debootstrap: Unpacking makedev (from .../makedev_2.3.1-91ubuntu1_all.deb) ...
  May 18 20:44:57 debootstrap: update-rc.d: using dependency based boot sequencing
  May 18 20:44:57 debootstrap: Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 402.
  May 18 20:44:57 debootstrap: update-rc.d: error: insserv rejected the script header
  May 18 20:44:57 debootstrap: dpkg: error processing /var/cache/apt/archives/makedev_2.3.1-91ubuntu1_all.deb (--unpack):
  May 18 20:44:57 debootstrap:  subprocess new pre-installation script returned error exit status 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/eilt/+bug/1001460/+subscriptions




More information about the foundations-bugs mailing list