22
13
I have been playing with the new linux subsystem on Windows and somehow i have broken it and now most of Ubuntu's internals (apt-get,dpkg, etc) don't work. Everything i try something i get the same message...
Setting up udev (204-5ubuntu20.19) ...
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: No such file or directory
runlevel:/var/run/utmp: No such file or directory
* udev requires devtmpfs support, not started
...fail!
invoke-rc.d: initscript udev, action "restart" failed.
dpkg: error processing package udev (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of systemd-services:
systemd-services depends on udev (>= 175-0ubuntu23); however:
Package udev is not configured yet.
dpkg: error processing package systemd-services (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpam-systemd:amd64:
No apport report written because the error message indicates its a followup error from a previous failure. libpam-systemd:amd64 depends on systemd-services (= 204-5ubuntu20.19); however:
Package systemd-services is not configured yet.
dpkg: error processing package libpam-systemd:amd64 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
udev
systemd-services
libpam-systemd:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any ideas how to fix this?
Is there a "reset" or uninstall/reinstall option? That's probably the easiest & fastest. Any idea what you did to have this happen? Erase root (
/
) or something? – Xen2050 – 2016-04-13T02:47:37.8571
Per AskUbuntu, try:
sudo apt-get install upstart-sysv
for a quick fix - that post has a link to the "recommended" fix as well. Not sure it's the same problem, but it looks like it might be related.
I was trying to get xserver to work after reading that someone got it working on windows... i think i might have installed to new of a version. But not entirely sure what caused it. Apt-get wont install anything with out giving me that error. I tried removing the feature from windows and re adding it but it just loads the same subsystem configuration as before; can't find a way to reload default anywhere. – Mike Pengelly – 2016-04-13T04:26:21.290
1
Possible duplicate of How to remove/reset to factory Ubuntu in Windows 10 Insider Preview 14316
– Ramhound – 2016-04-15T12:56:06.8431@ Ramhound I did not ask how to reinstall Bash on Ubuntu on Windows 10, i asked how to fix the problem. I have never had this problem in actually Ubuntu. If going Nuclear is fixing problems, then i don't want to be around when they fix global warming – Mike Pengelly – 2016-04-15T20:19:16.500
@MikePengelly - What order a question is asked, doesn't decide if it can or cannot be a duplicate of another question, its the order they were answered in even then its just a matter of saying the answer of an existing answer also answers this question. – Ramhound – 2016-04-15T20:21:35.733
1@Ramhound But i doesn't answer my question. That's like saying "reinstall windows every time you get an error message" or "buy a new car every time you hear a noise".... It solves to problem but its not a practical solution. – Mike Pengelly – 2016-04-15T20:26:11.770
You can blame Jonas for submitting an identical answer as another question, only reason I flagged it, to be honest. – Ramhound – 2016-04-15T20:28:34.507