Skip to content

The application to execute does not exist: '/usr/bin/pwsh.dll'. PS v7.4.13 (lts) binary archive on ubuntu #26756

@danmacode

Description

@danmacode

Prerequisites

Steps to reproduce

Using a container:

# Enter container
docker run -it --rm ubuntu:24.04
# Download pwsh v7.4.13 LTS
root@95b208ef82ec:/#
apt-get update && apt-get install -y --no-install-recommends wget libicu74 
root@95b208ef82ec:/#
wget -q https://github.com/PowerShell/PowerShell/releases/download/v7.4.13/powershell-7.4.13-linux-x64.tar.gz -O powershell-7.4.13-linux-x64.tar.gz && \
    mkdir -p /opt/microsoft/powershell/7 && \
    tar -xzf powershell-7.4.13-linux-x64.tar.gz -C /opt/microsoft/powershell/7 && \
    chmod +x /opt/microsoft/powershell/7/pwsh && \
    ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
root@95b208ef82ec:/#
pwsh

The application to execute does not exist: '/usr/bin/pwsh.dll'.

Expected behavior

# pwsh
PS>

Actual behavior

# pwsh
The application to execute does not exist: '/usr/bin/pwsh.dll'.

Error details

Environment data

Name                           Value
----                           -----
PSVersion                      7.4.13
PSEdition                      Core
GitCommitId                    7.4.13
OS                             Ubuntu 24.04.3 LTS
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

    Labels

    Needs-TriageThe issue is new and needs to be triaged by a work group.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions