retitle 546834 debootstrap because of conflicting package and init.d script 
dependencies
close 546834 -1
reassign -1 procps
thanks

I am able to reproduce it using

  debootstrap sid chroot-sid

so this problem is not related to lh_build and my question about that
can be ignored.

There are two problems blocking debootstrap from working:

  Setting up procps (1:3.2.8-1) ...
  update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in 
auto mode.
  insserv: Service mountkernfs has to be enabled to start service procps
  insserv: exiting now!
  dpkg: error processing procps (--configure):
   subprocess installed post-installation script returned error exit status 1

and

  Setting up util-linux (2.16-3) ...
  install-info: warning: maintainer scripts should not call install-info 
anymore,
  install-info: warning: this is handled now by a dpkg trigger provided by the
  install-info: warning: install-info package; package util-linux should be 
updated.
  update-alternatives: using /bin/more to provide /usr/bin/pager (pager) in 
auto mode.
  insserv: Service checkroot has to be enabled to start service hwclock
  insserv: exiting now!
  dpkg: error processing util-linux (--configure):
   subprocess installed post-installation script returned error exit status 1

Both are due to the init.d scripts in the packages have hard
dependencies on scripts in the initscripts package, while the package
themselves do not depend on initscripts.

There are two solutions to this, either the hard init.d script
dependency can be made soft (ie move the dependency from
required-start to should-start), or add initscripts as a dependency
for procps and util-linux.

I'm not sure which solution make most sense, but suspect the latter is
the proper solution if the scripts really need each other.  Adding
initscripts as a package dependency will change the order packages are
installed by debootstrap and perhaps expose other bugs in package
dependencies, though.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to