Troubleshooting Package Management#
PowerShell package management cmdlet errors#
The Register-PSRepository cmdlet#
PackageManagement\Register-PackageSource : SourceLocation 'https://URI/nuget/HealOps' and ScriptSourceLocation 'https://URI/nuget/HealOps' should not be same for URI based repositories.
Fix: Ensure that the source locations are unique. By e.g. adding a trailing slash (/) onto one of them. It is a rather obscure error. I haven't digged into why it happens and I can't see why it is an issue.