Skip to content

Instantly share code, notes, and snippets.

@alq666
Created April 24, 2015 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alq666/17b4bf74c08e3f3e57c9 to your computer and use it in GitHub Desktop.
Save alq666/17b4bf74c08e3f3e57c9 to your computer and use it in GitHub Desktop.
Get out of dpkg errors when upstart is not running
# make dpkg think that upstart is always happy even when systemd is running the show
# credit: http://csgeek-random.blogspot.com/2015/04/ubuntu-1504-broken-upstart-working.html
sudo dpkg-divert --local --rename --add /sbin/initctl
sudo ln -s /bin/true /sbin/initctl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment