Skip to content

Packaging conflict between powershell-7.3.0-1.rh.x86_64 and dotnet-apphost-pack-7.0-7.0.0-1.x86_64 on Fedora/RHEL #18498

@13xforever

Description

@13xforever

Prerequisites

Steps to reproduce

I am on Fedora 36 using official Microsoft repo.
I've installed dotnet-sdk-7.0 (which installes dotnet-apphost-pack as a dependency), but when I try to upgrade powershell (or install it for the first time), I get transaction check error

Error: Transaction test error:
  file /usr/lib/.build-id/3a/e57b4bedbff101146eb11e0260bd44b922bb46 from install of powershell-7.3.0-1.rh.x86_64 conflicts with file from package dotnet-apphost-pack-7.0-7.0.0-1.x86_64

Considering this belongs to dotnet runtime, I think this is powershell packaging issue specifically.

Expected behavior

You can install both dotnet-sdk-7.0 and powershell-7.3.0 at the same time

Actual behavior

Both packages try to install the same file, failing transaction test, so I can either install dotnet 7.0 or powershell 7.3.0

Error details

No response

Environment data

Name                           Value
----                           -----
PSVersion                      7.3.0
PSEdition                      Core
GitCommitId                    7.3.0
OS                             Linux 6.0.5-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 26 15:55:21 UTC 2022
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions