PowerShellGetv2 icon indicating copy to clipboard operation
PowerShellGetv2 copied to clipboard

The version '1.0.2' of the module 'Az.MarketplaceOrdering' being installed is not catalog signed

Open shaikazure opened this issue 3 years ago • 1 comments

Prerequisites

  • [X] Write a descriptive title.
  • [X] Make sure you are able to repro it on the latest released version
  • [X] Search the existing issues.

Steps to reproduce

I am trying to install the below AZ modules in one of my pipeline tasks.

"Install-Module -Name Az -RequiredVersion '8.0.0' -AllowClobber -Scope CurrentUser -Repository PSGallery -Force"

It use to work fine till few days back. Now suddenly getting the below error message.

PackageManagement\Install-Package : The version '1.0.2' of the module 'Az.MarketplaceOrdering' being installed is not catalog signed. Ensure that the version '1.0.2' of the module 'Az.MarketplaceOrdering' has the catalog file 'Az.MarketplaceOrdering.cat' and signed with the same publisher 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' as the previously-installed module 'Az.MarketplaceOrdering' with version '1.0.3' under the directory 'C:\Program Files\WindowsPowerShell\Modules\Az.MarketplaceOrdering\1.0.3'. If you still want to install or update, use -SkipPublisherCheck parameter.

Expected behavior

OK

Actual behavior

OK

Error details

PackageManagement\Install-Package : The version '1.0.2' of the module 'Az.MarketplaceOrdering' being installed is not 
catalog signed. Ensure that the version '1.0.2' of the module 'Az.MarketplaceOrdering' has the catalog file 
'Az.MarketplaceOrdering.cat' and signed with the same publisher 'CN=Microsoft Corporation, O=Microsoft Corporation, 
L=Redmond, S=Washington, C=US' as the previously-installed module 'Az.MarketplaceOrdering' with version '1.0.3' under 
the directory 'C:\Program Files\WindowsPowerShell\Modules\Az.MarketplaceOrdering\1.0.3'. If you still want to install 
or update, use -SkipPublisherCheck parameter.

Environment data

"Install-Module -Name Az -RequiredVersion '8.0.0' -AllowClobber -Scope CurrentUser -Repository PSGallery -Force"

Visuals

No response

shaikazure avatar Sep 15 '22 12:09 shaikazure

@shaikazure thanks for reaching out. It seems that the Az.MarketplaceOrdering module version is not catalog signed and that's why it's reporting this issue. Which version were you using before that was not giving this error? If that version was catalog signed and this later version is not then it would report this error to let you know it's no longer catalog signed. However, if that older version was not catalog signed anyways it should not be reporting this error. We're not working on issues for PowerShellGetV2 any more, but if you could try PowerShellGetV3 and let us know if this still persists we can see there: https://www.powershellgallery.com/packages/PowerShellGet/3.0.17-beta17

If you wish to still install this package with PowerShellGetV2 you can still do so by adding the -SkipPublisherCheck parameter switch.

anamnavi avatar Sep 15 '22 18:09 anamnavi