[Bug 1001460] Re: preinst fails in d-i
Robie Basak
1001460 at bugs.launchpad.net
Wed May 23 08:42:19 UTC 2012
It looks like makedev is being unpacked *before* sysv-rc. If sysv-rc is
providing /etc/init.d/.legacy-bootordering, it's too late for update-
rc.d to see it when run from makedev's preinst. But sysv-rc is not
marked Essential, so isn't it invalid for makedev to assume that update-
rc.d will work?
I think there a few options here:
1) It looks like makedev's preinst calls update-rc.d to manage an old
upgrade path that predates Lucid. So do we need to support it at all?
What if we ripped that part out?
1b) Alternatively does the preinst need to run update-rc.d if it is not
upgrading from an older version? If $2 is empty, can we skip the upgrade
path handling, since if makedev was previously purged then the conffiles
it's removing should have been deleted anyway? Or is this a fix for a
bug where an old version failed to remove the conffiles on purge? As
this would predate Lucid, do we care?
2) update-rc.d could be updated to test for insserv and assume legacy
bootordering if it is not available.
--
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 “sysvinit” package in Ubuntu:
Triaged
Status in “sysvinit” 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