Thursday, April 2, 2015

Ubuntu 15.04 Broken Upstart / Working Systemd

Ubuntu 15.04 I believe has switched over to upstart which in turn has broken more then a few 3rd party apps I had installed.

For example whenever I tried to install plex media server I would get the following error:

"initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused"


Here's the fix that worked for me:

sudo dpkg-divert --local --rename --add /sbin/initctl
ln -s /bin/true /sbin/initctl

Credit for this little tweak: https://www.nesono.com/?q=node/368


7 comments:

  1. This didn't work for me. My filesystem was forced into read-only mode and I couldn't boot.

    ReplyDelete
  2. Be careful with dpkg-divert, and swapping upstart and systemd. I couldn't boot either after that, and after a day and a half of problems at booting/identification, I had to reinstall ubuntu 16.04.

    ReplyDelete