-
Notifications
You must be signed in to change notification settings - Fork 24
Issues configuring PSGallery package Source #27
Comments
I forgot to say that's not a blocker because I can still install package/PSModule via setting the |
@gaelcolas Thanks for reporting this issue. I will look into this. |
@gaelcolas May I know the build number of the Windows you are running this on. The example at https://github.com/PowerShell/PackageManagementProviderResource/blob/master/Examples/Sample_Install_Package.ps1 is working fine on my machine. |
@KrishnaV-MSFT I was using an updated version of win 2012 r2 Eval. Will give you build number and details to reproduce in the next couple of days. Thanks. |
Hi @KrishnaV-MSFT, PS C:\Users\Administrator> $PSVersionTable
Name Value
---- -----
PSVersion 5.0.10586.117
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.10586.117
CLRVersion 4.0.30319.34209
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
PS C:\Users\Administrator> gwmi win32_operatingsystem
SystemDirectory : C:\Windows\system32
Organization :
BuildNumber : 9600
RegisteredUser : Windows User
SerialNumber : 00252-90000-00000-AA632
Version : 6.3.9600 Here's the output I get:
I've put my test together here: https://github.com/gaelcolas/PMPR_issue27 Let me know if any question. Gael |
Hi @gaelcolas, we cannot register or unregister the PSGallery package source on WMF 5.0 RTM. |
@gaelcolas, I made a change to MSFT_PackageManagementSource.psm1. Can you please try it and let me know if it works for you. If so I will update this module in PowerShellGallery.com. Thanks. |
Sorry for the delay in testing this, this is now working. |
Hi,
I've tried v1.0.3 and thanks for the improvements.
I have the following issue when trying to configure PSGallery Repo to trusted:
I get the following:
![image](https://cloud.githubusercontent.com/assets/8962101/16546889/40f7a052-4151-11e6-9684-797a4cb11d35.png)
However configuring, say, Chocolatey works:
The text was updated successfully, but these errors were encountered: