Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2795

File policy-rc.d in WSL1 not found

$
0
0

I am trying to resolve the udev issue in my WSL, and I am following the "Apt-get upgrade errors" troubleshooting steps in the WSL docs.

To fix issues related to udev, follow the following steps:

  1. Write the following to /usr/sbin/policy-rc.d and save your changes: #!/bin/sh and exit 101

  2. Add execute permissions to /usr/sbin/policy-rc.d: chmod +x /usr/sbin/policy-rc.d

  3. Run the following commands: dpkg-divert --local --rename --add /sbin/initctl and then ln -s /bin/true /sbin/initctl

However it seems that the file policy-rc.d does not exist yet?

Is it missing or do I need to create it? As this is not complete clear for me from the documentation? I use Ubunut 20.04.


Viewing all articles
Browse latest Browse all 2795

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>