Skip to content

dotnet_root detection broke in ubuntu 22.04 #30

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

Closed
sensokame opened this issue Sep 2, 2022 · 1 comment · Fixed by #31
Closed

dotnet_root detection broke in ubuntu 22.04 #30

sensokame opened this issue Sep 2, 2022 · 1 comment · Fixed by #31

Comments

@sensokame
Copy link

sensokame commented Sep 2, 2022

basically dotnet_root detection is returning /etc/alternatives as root, because this is the folder where /usr/bin/dotnet is linking to
but the actual dotnet_root folder is /usr/lib/dotnet/dotnet6-6.0.108
so I believe the detection function should be updated to account for this.

Note: Setting DOTNET_ROOT environment variable to /usr/lib/dotnet/dotnet6-6.0.108 is a valid workaround, so this is not an urgent issue.

@filmor
Copy link
Member

filmor commented Sep 10, 2022

The issue is simply that os.readlink behaves slightly different than /bin/readlink in that it doesn't recursively discovers links. I'm currently refactoring some things, this will be included in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants