vmware / vmware/photon

PowerCLI fails to install on Photon Arm

Open
#1,056 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

PowerCLI
Dominant language
C
Stars
3.2k
Forks
692
PR merge metrics
No merged PRs in 30d

Description

With ESXi-Arm Fling now available. I wanted to have PowerCLI running within Photon OS 3.0 AARCH64. The steps below is what I used to successfully install Powershell Arm, but when attempting to install the PowerCLI Module, it throws an error.

FYI - This works perfectly fine when using Ubuntu 20.04 AARCH64

tdnf -y update
tdnf -y install icu libunwind wget tar
wget https://github.com/PowerShell/PowerShell/releases/download/v7.0.3/powershell-7.0.3-linux-arm64.tar.gz
mkdir ~/powershell
tar -xvf ./powershell-7.0.3-linux-arm64.tar.gz -C ~/powershell
ln -s ~/powershell/pwsh /usr/bin/pwsh
pwsh
Install-Module VMware.PowerCLI

Install-Package: /root/powershell/Modules/PowerShellGet/PSModule.psm1:9709
Line |
9709 |  … talledPackages = PackageManagement\Install-Package @PSBoundParameters
     |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | No match was found for the specified search criteria and module name 'VMware.PowerCLI'. Try Get-PSRepository to see all available registered module repositories.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported Photon OS 3.0 AARCH64 setup using the listed tdnf, PowerShell, and Install-Module commands. Start with the PowerShellGet error and Get-PSRepository output, then compare the result with Ubuntu 20.04 AARCH64. Done means the VMware.PowerCLI module installs successfully on Photon ARM or the platform limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.