Skip to content

Microsoft and source-built Linux packages don't mix well #47500

Open
@NikolaMilosavljevic

Description

@NikolaMilosavljevic

Source-built .NET is in Fedora and CentOS. There are numerous reports of people hitting issues when some packages on their machines come from the Microsoft repos and others from the distro archive. These packages don't work well together, i.e. they don't mix well. They have different dotnet roots, /usr/share/dotnet vs. /usr/lib64/dotnet. Here's one recent report: dotnet/sdk#15476

Additionally, packages from different distro repositories, i.e. Fedora and RHEL could cause similar issues. Packages are never meant to be mixed, only a single repository should ever be used.

We need to find a way to help customers avoid this issue. Better documentation could help, but is not the preferred or only solution. Other packages and application vendors could have found themselves in the same situation. We need to find ways to leverage distro and community knowledge to come up with a proper mitigation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions