Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Proget: Strange version number on powershell modules
-
Hello,
We are using from past few months Proget as proxy for our servers to powershellgallery.
And we observe since few days a strange behavior when Proget pull the first time a module (from the gallery) with a version number finishing by 0.0. Proget create a duplicate entry with just one zero at the end, which leads to error when we want to install the module.
For example, when we want to get SQLServerDSCWARNING: 'SqlServerDsc' matched module 'SqlServerDsc/13.2.0' from provider: 'PowerShellGet', repository 'Test'. WARNING: 'SqlServerDsc' matched module 'SqlServerDsc/13.2.0.0' from provider: 'PowerShellGet', repository 'Test'.
Do you have any idea of that happen ? It's not an issue on Powershell Gallery because before a first request to the module, the listed versions by Proget are ok (no duplicate entries).
We are using version 5.2.12 and 5.2.11 with the same behavior.
Thanks for your help !
Nicolas
-
This is, unfortunately, a known versioning bug; see the "PowerShell Module Package Version Quirks" section in our PowerShell Feeds documentation.
I recommend you to escalate it and ask the folks at Microsoft to fix it; if enough people ask, I'm sure it will eventually be addressed.
-
@apxltd Thanks for the info ! I missed this one in the documentation :/ I've disabled the caching and it works fine now