-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
After updating Fedora 33 to 34 and dotnet 5.0.5 to 5.0.6 I get error regarding libhostfxr.so #17570
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
I tried
When I
|
The original issue looks to me like an instance of dotnet/docs#18347 / dotnet/runtime#47500: ending up with mixed packages from the Fedora distro and packages.microsoft.com. They install to different locations, so components can't find each other. Version numbering differences can make this pop up suddenly after an upgrade. For the second issue, it looks like the dotnet-runtime-deps-5.0 package on packages.microsoft.com doesn't support Fedora 34. |
I plan to introduce a new deps package to be used for Fedora 34+. We will end up producing two Fedora.* deps packages going forward. @dagood this seems like an obvious fix - do you see any issues with the approach? |
That sounds right to me. Unfortunately though, I believe the IMO docs need to catch up and show how to properly use the Microsoft feed without the conflicts. (And how to uninstall the Microsoft feed to simply use the distro packages, which is generally preferable.) |
Completely agree on these points. Investing in documentation is imperative short-term until we can enable easier SxS installs from multiple feeds. |
Hey @AlirezaHaghshenas, did you find a workaround for this? Do you need help? |
I tried downloading dotnet from fedora updates repo but I can only install the last version (5.0.5) of it and not the recent version |
For anyone having the same issue my problem solved after:
Now my problem is fixed. At this time it installs By the way, as we have people from .net platform here, the repo name: |
This kind of thing can be an issue (although AFAIK not for Teams or Skype in particular). It looks like the Fedora 34 packages.microsoft.com repo doesn't have anything other than .NET at the moment, but for example, the CentOS 8 https://packages.microsoft.com/centos/8/prod/ repo has PowerShell Core, MSSQL, some AAD packages, and other things I don't recognize. Uninstalling the repo would break auto-updates for those. The doc @omajid is working on at dotnet/docs#24206 has instructions on how to keep the repo installed and just filter out just the .NET packages, to make this situation work. 🎉 |
Yeah, Fedora will be a few days or week behind releases, pretty much always. Fedora likes to keep packages in testing for around 7 days unless a number of users test the update and give it Feedback. This policy applies to all security sensitive packages too, such as Firefox and OpenSSL. Is this a particular problem for your use case?
Yeah, I was worried disabling it would break VSCode! |
Old bug triage, closing as this references 5.0. Ping if it's still an issue in later .NET versions |
When running
dotnet ef migrations add MigrationName
I get:Unfortunately, I don't know if the error occurred after updating Fedora to 34 or only after upgrading dotnet to 5.0.6.
The text was updated successfully, but these errors were encountered: