-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fatal Error "The folder [/usr/share/dotnet/host/fxr] does not exist" when installing 3.1 on CentOS 8 with packages.microsoft.com repo enabled #5746
Comments
Having the same issue, hopefully someone can clarify :) OS Details |
This can happen if
If you do have
You should make sure it's getting all the packages from
Then it should work. For future reference: it's possible to reproduce the problem by setting up the packages.microsoft.com feed before installing:
We have an issue tracking documenting this at dotnet/docs#18347. (It is also possible to configure the repos so you can keep using both without this conflict, but normally you shouldn't need to do that: #5212 (comment)) |
I accidentally hit some unknown hotkey and posted that before I meant to, sorry--added some edits with a little more context. I also renamed the issue to make it more specific. I'm 99% sure this repo conflict is the cause of the problem (I expected these conflicts to start popping up), but feel free to rename the issue back to something different and let me know if that isn't it. |
I had a similar issue. I removed the Microsoft repos and all it's packages and got everything straight from Fedora repos. I run Fedora 33. |
This seems answered. Please reopen if not. |
annot stat '/mnt/nfs_share/edm_yocto/build-xwayland-edm-g-imx8mp/tmp/work/aarch64-poky-linux/dotnet/5.0.300-r0/dotnet-5.0.300/host/fxr/gnu': No such file or directory Is happening on a fresh install with no dotnet packages |
Hello guys |
I had dotnet installed from https://packages.microsoft.com/ubuntu/20.04/prod , and then also from the Ubuntu repository dotnet6 package. My dotnet-host had upgraded to version 7, but my other dotnet packages were version 6.0. I was getting the error: $ dotnet --version
A fatal error occurred. The folder [/usr/share/dotnet/host/fxr] does not exist It was fixed by removing my dotnet* packages, turning off the packages.microsoft.com/ package repo, and installing $ dotnet --version
6.0.111 (This is no doubt documented elsewhere, but in case anyone else is looking at this thread for a solution.) EhabBen10: You may need to use |
Just faced the same issue on an Ubuntu 22.04 machine. However, I didn't have any Microsoft packages installed, so I don't know how could this issue have appeared. Nevertheless, it got fixed by a simple |
Tried all the above - nothing worked |
I used these instructions and it works! |
Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: CentOS8
Try to run "dotnet --list-sdks" it returns:
A fatal error occurred. The folder [/usr/share/dotnet/host/fxr] does not exist**
I have finished to run "sudo dnf install dotnet-sdk-3.1" command.
Please help.
The text was updated successfully, but these errors were encountered: