PowerCLI fails to install on Photon Arm
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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