-
Notifications
You must be signed in to change notification settings - Fork 84
Installation on Alpine misses some prerequisites, so dotnet won't run #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
So in summary, for Alpine, dotnet-install should recommend
Also consider moving these warnings to install dependencies AFTER the download, at teh END of dotnet-install.sh. At least on Alpine, the download creates 100's and 100's of lines of progress messages. After that it untars and tries to run and fails as above. It's likely most people won't scroll way back and spot the warnings about dependencies. |
@danmosemsft This is not just an install script issue, but can also be seen if one downloads the archive from downloads page and extracts it, right? I don't see how we are communicating these requirements to the people visiting our downloads page. |
Agreed - I suggest you reach out to @leecow for his thoughts about that page when he returns next week. However, I don't think that should prevent us improving the script. We are never going to prevent every missed dependency scenario but if we can make some effort to help people be successful, within reason we should. Folks running the install script are obviously customers we care a great deal about (and worked hard to get to this point) and in many cases they aren't dedicated to the .NET platform yet -- if they run the script and doing quickly get to successfully running My other argument is that the script already attempts to remind folks of missing dependencies, we should at least not do it inaccurately such as suggesting they install something that does not exist on their distro and we should know does not exist. |
@danmosemsft, @bozturkMSFT and I thought a bit about how to resolve this problem. I see that we actually have a lot of problems checking for the prerequisites: it seems they are listed only for ubuntu, and even for ubuntu they are out of date. As you said, checking all prerequisites for each possible case is not actually desired. Moreover, I am not sure I like how we check that we do have a prerequisite: we try to check that there is a command word installed with the prerequisite (for example, So, what if we remove these checks and instead at the very end of the installation (right before "Installation finished successfully."), we always will say something like "Please check the dependencies: <link to docs, depending on OS>"? |
I got it wrong, nevermind the comment above. |
@danmosemsft this If there is any missing library, we print a warning with the |
I think it would be fine to no longer check for dependencies (since as you say it's always going to be incomplete/not easy) and just link to the docs with a reminder to check dependencies. That could be https://docs.microsoft.com/en-us/dotnet/core/install/linux or it could be the specific distro's doc. |
Fixed |
Alpine 3.11.3 on WSL2
Installing 5.0 with dotnet-install.sh leaves me with a broken
dotnet
:By running these commands, I fixed it:
BUG: It should warn me that
libstdc++
andlibgcc
are missing since apparently these are required for dotnet to run on Alpine.POSSIBLE OTHER ISSUE: When I try to install the prerequisites it does recommend, two don't install:
The text was updated successfully, but these errors were encountered: