-1

I am using Windows Subsystem for Linux and it is impossible to install linux-libc-dev but all of the functionality is actually there. In practice its dependency is met. I need to convince DPKG of this so that I can install things, because I don't feel like running dpkg --no-deps or whatever for every package from now on. I have seen this question "How to tell apt that dependencies are resolved manually?", however all of the answers say "this is a bad idea". I am interested in trying the bad idea anyway and would like to know if anyone knows how to do it. If it blows up my WSL install I'll just redo it; I don't care.

Thanks!

Peter
  • 235
  • 1
  • 3
  • 11
  • 1
    Not sure if I understand correctly what you want, but does `dpkg --force-depends ...` help? It will turn dependency errors into warnings, so you can install whatever you like ... – dirkt Sep 25 '17 at 16:30
  • That might do it, is there any way to get apt to do this as well? – Peter Sep 25 '17 at 16:54
  • This, combined with apt-get download, worked for me. If you put it in an answer below I can accept it :) – Peter Sep 25 '17 at 17:01

1 Answers1

1

Download the package with apt-get download (or even directly from the package server, that also works), then use

dpkg --force-depends ...

That will turn dependency errors into warnings, so you can install whatever you like ...

dirkt
  • 16,421
  • 3
  • 31
  • 37