This problem in Windows and in Linux. The error and the warning are the same. Install-ModuleUpdate-ModuleSave-Module
Could this problem relates to internet provider?
Steps to reproduce
# ConsoleGuiTools is an example. Any other package reproduces the same warning and error
Install-Module ConsoleGuiTools -Scope CurrentUser -Force # And without Force switch
# # # Freezed Progress bar for 4 minutes
WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/Microsoft.PowerShell.ConsoleGuiTools/0.6.2' is not valid.
Install-Package: Package 'Microsoft.PowerShell.ConsoleGuiTools' failed to download.
Expected behavior
installed module
Actual behavior
Not valid uri
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 7.2.1
PSEdition Core
GitCommitId 7.2.1
OS Linux 5.16.3-arch1-1 #1 SMP PREEMPT Thu, 27 Jan 2022 14:18:25 +0000
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
This problem in Windows and in Linux. The error and the warning are the same.
Install-Module
Update-Module
Save-Module
Could this problem relates to internet provider?Steps to reproduce
Expected behavior
installed module
Actual behavior
Not valid uri
Environment data