-
Notifications
You must be signed in to change notification settings - Fork 446
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
dotnet-host-7.0 : Conflicts: dotnet-host #17811
Comments
Same issue, Ubuntu 22.04 in WSL. |
Same issue here, Ubuntu 22.04 in WSL2. I had some problems when installing .NET 8 preview earlier this year, with .NET 7 installed. I had to remove .NET 7 to install .NET 8 preview. Not sure if that is supposed to be the case with preview versions. |
Same behavior here under Ubuntu 23.04. The
Output
Note: if I don't use the |
The
|
Are you all installing 8.0 from the packages.microsoft.com feeds, or from the distro feeds? If from PMC, have you followed the steps in the doc for removing any .NET packages from the distro feeds and de-prioritizing the distro feeds for future installs of .NET packages? I tend to see these kinds of errors when folks have mixed package feeds set up, that's why I ask. |
Ok, it might be the issue. I checked my current packages and some of them are probably from distro feeds.
Where i can find the docs about removing .NET packages from distro feeds? |
The full docs are here - but pay special attention to the section on cleaning up an existing mixed installation. |
@baronfel you saved me. Very helpful doc, i dont know why i didnt found it before. Now it works. Thank you so much. Issue can be closed. |
https://bobbyhadz.com/blog/fatal-error-ocurred-the-folder-usr-share-dotnet-host-fx-does-not-exist this method solved my problem |
sudo apt remove dotnet-sdk* dotnet-host* dotnet* aspnetcore* netstandard*
|
Hi,
i try to install dotnet-sdk 8.0 on my Ubuntu 22.04 machine.
I already have sdk-7.0 installed.
I follow instruction on this site: https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu-2004
But when i run
sudo apt-get install dotnet-sdk-8.0
i end up in error:Is there something i'm doing wrong?
The text was updated successfully, but these errors were encountered: