You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
After installing Powershell on Oracle Linux 7.6, I am unable to find and install any modules from PSGallery. When I attempt to run the command Install-Module -Name VMware.PowerCLI, I receive the error "No match was found for the specified search criteria and module name 'VMware.PowerCLI'. Try Get-PSRepository to see all available registered module repositories."
When I run Get-PSRepository, I get the following:
"WARNING: Unable to find module repositories."
After searching, I found that this is fixed by running Register-PSRepository -Default -Verbose upon which I receive the message "VERBOSE: Performing the operation "Register Module Repository." on target "Module Repository 'PSGallery' () in provider 'PowerShellGet'."."
However when I run Get-PSRepository again, I still receive the message "WARNING: Unable to find module repositories.".
I am not using a proxy or have any special way of getting to the internet. I feel as if this is an issue where it is not downloading the information (maybe due to a certificate problem) or it cannot write the data to an appropriate spot on the system (either permissions or such) but I have no way of verifying or testing. Any help would be appreciated!
PS /root> ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=7.31 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=7.28 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=117 time=7.39 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=117 time=7.16 ms
The text was updated successfully, but these errors were encountered:
After installing Powershell on Oracle Linux 7.6, I am unable to find and install any modules from PSGallery. When I attempt to run the command
Install-Module -Name VMware.PowerCLI
, I receive the error "No match was found for the specified search criteria and module name 'VMware.PowerCLI'. Try Get-PSRepository to see all available registered module repositories."When I run
Get-PSRepository
, I get the following:"WARNING: Unable to find module repositories."
After searching, I found that this is fixed by running
Register-PSRepository -Default -Verbose
upon which I receive the message "VERBOSE: Performing the operation "Register Module Repository." on target "Module Repository 'PSGallery' () in provider 'PowerShellGet'."."However when I run
Get-PSRepository
again, I still receive the message "WARNING: Unable to find module repositories.".I am not using a proxy or have any special way of getting to the internet. I feel as if this is an issue where it is not downloading the information (maybe due to a certificate problem) or it cannot write the data to an appropriate spot on the system (either permissions or such) but I have no way of verifying or testing. Any help would be appreciated!
Below is my system information:
PS /root> Get-Host
PS /root> Get-PackageProvider
Name Version DynamicOptions
[root@ops-center-analyzer ~]# cat /etc/os-release
PS /root> ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=7.31 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=7.28 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=117 time=7.39 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=117 time=7.16 ms
The text was updated successfully, but these errors were encountered: