Giter Club home page Giter Club logo

Comments (4)

MikeGitb avatar MikeGitb commented on May 29, 2024

The launcher is a windows program, so I don't know why you expect it to be anything than a windows.exe.

But I very much like the Idea of having a GUI to manage the different distributions.

from wsl-distrolauncher.

benhillis avatar benhillis commented on May 29, 2024

@oiaohm - Fair points, and we appreciate the feedback. I agree that a design where distributions do not need to write any Windows code would be ideal. It's something we've talked about internally but would need support from other Windows components (primarily the Microsoft Store).

from wsl-distrolauncher.

oiaohm avatar oiaohm commented on May 29, 2024

https://docs.microsoft.com/en-us/windows/wsl/wsl-config

DarthSpock there is a issue here. wsl.exe only allows you to execute on currently set default distribution when you are installing you don't want to change a users default distribution.

maybe add to wsl.exe . wsl.exe -d [distribution] so that you can execute a command on distribution that is not default.

https://msdn.microsoft.com/en-us/library/windows/desktop/mt826875(v=vs.85).aspx

I was looking here. So there is a method by wslconfig.exe to get list of currently installed distributions just you have not providing a function in the Wslapi.dll that would be kind of useful so install can know if there is going to be a straight up conflict or on a case person needs to install more than 1 copy. Same way with containers where we might have multi containers of the same distribution with conflicting package sets.

I do believe that's the purpose of apt, rpm, yum, etc. are for. While it would be nice for some way to just update packages for all installed distros at once, the amount of work needed to get that working just isn't worth it. You want updates automatically? Create a background task in Task Scheduler, availability of which will be in 1803.

Something to be aware be it apt, rpm, yum... The auto background update on Linux does not always update everything on Linux. Items like needrestart on Linux check containers to make sure their up-to date and report back if a container is not updated and is in need of manual assistance. You get package conflicts under Linux that you have to address manually at times.\

So the problem here even registering on Task Scheduler you are going to have distributions running on windows that windows users don't know are out of date.

KDE distributions flat out refusing wsl at this time makes absolute sense you cannot start up a linux graphical environment cleanly yet.

Side loading having to make a binary makes side loading way harder than it should be.

I know Microsoft Store wants customers. But if you want Linux distributions demanding they deal with Microsoft Store is going stop most of them. So we are going to see a lot of one off .exe files made by random parties side loading on windows. Say hell to security nightmare. All the Microsoft Store so called security is going to be avoided. How long before we have Linux distribution installers for side load with integrated malware. Lets try to cut this thousands of random developers making their own custom versions exes as solo developer with no support with no auditing before they do it.

from wsl-distrolauncher.

oiaohm avatar oiaohm commented on May 29, 2024

Any package conflicts are usually the result of a user adding a ppa.

There are two common causes of conflicts in debian/ubuntu/deb based distributions. 1 is third party repositories like PPA at times the other is mainline deprecated package.

I run Linux distributions without third party repositories a lot.
You see the following message on deb based distributions
The following packages have been kept back:
This message appears with or without PPA/third part repostories installed. Its normally that there is some no longer maintained program/library installed that has been superseded. So you get a growing collection of applications under message that are not being updated. The fact that is is the nature of Linux Distributions to-do this you cannot depend on auto back ground service to always update everything.

Snap as I'm sure you know, is distro agnostic for packages installed using it.

Flatpak boarder supported by Linux distribution than Snap.

Kali not getting along with anti-virus software is nothing new. Running Linux anti-viruses over Kali and it has packages those hate as well. Some places hosting on Linux with docker images do run A/V with heuristic scanning on the file systems yes people attempting to put Kali on those servers runs into trouble as well.

For development more than 1 version of a Linux distribution is not just nice to have its required. With debian you have combinations of packages that conflit with each other. same with Ubuntu. As you said third party repositories and if you are wishing to test against more than 1 of these combinations you need more than 1 copy.

https://en.wikipedia.org/wiki/Linux_distribution#/media/File:Linux_Distribution_Timeline.svg

Notice the huge tree under debian there. Then go look at docker and you will notice another huge tree. What happens when parties customise they minor fork. So the nature of Linux is forking.

from wsl-distrolauncher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.