[Bug 1456670] Re: debootstrap failure: insserv: Service mountdevsubfs has to be enabled to start service hwclock

Audun Gangsto audun at gangsto.cz
Fri May 26 12:20:03 UTC 2017


I also encountered this on a xenial machine where the upgrade somehow
was broken, and 'apt install' would give the following errors:

Preconfiguring packages ...
Setting up util-linux (2.27.1-6ubuntu3.2) ...
insserv: Service mountdevsubfs has to be enabled to start service hwclock
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package util-linux (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)

The solution for us was to run

'dpkg-reconfigure initscripts'

and

'apt install'

to configure the large amount of unconfigured remaining packages.

Not sure why it happened, but i am guessing something was upgraded and
configured in the wrong order.

It works fine again after our solution.

-- 
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/1456670

Title:
  debootstrap failure: insserv: Service mountdevsubfs has to be enabled
  to start service hwclock

Status in sysvinit package in Ubuntu:
  Fix Released
Status in sysvinit source package in Wily:
  Fix Released

Bug description:
  Since today, debootstrap'ing wily is broken:

  W: Failure while configuring required packages.
  W: See /tmp/wily/debootstrap/debootstrap.log for details (possibly the package util-linux is at fault)

  Setting up util-linux (2.26.2-3ubuntu1) ...
  update-alternatives: using /bin/more to provide /usr/bin/pager (pager) in auto mode
  insserv: Service mountdevsubfs has to be enabled to start service hwclock
  insserv: exiting now!
  update-rc.d: error: insserv rejected the script header
  dpkg: error processing package util-linux (--configure):
   subprocess installed post-installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1456670/+subscriptions



More information about the foundations-bugs mailing list