Skip to content

Instantly share code, notes, and snippets.

@sixtyfive
Last active July 16, 2017 18:40
Show Gist options
  • Save sixtyfive/5cda2ba67ebb9c2377ac9f177f959a2f to your computer and use it in GitHub Desktop.
Save sixtyfive/5cda2ba67ebb9c2377ac9f177f959a2f to your computer and use it in GitHub Desktop.
Debian refusing to upgrade because of udev...

If you recently tried to update a Debian-based box and during the upgrade got these two messages, among others:

insserv: Service mountkernfs has to be enabled to start service udev
update-rc.d: error: insserv rejected the script header

Then this is what will help you get the upgrade done:

  1. Edit /etc/init.d/udev and remove mountkernfs from the line starting with Required-Start:, keep the rest of the line though
  2. Do your apt upgrade
  3. Put the mountkernfs back where it was.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment