Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
shaikazure opened this issue Sep 15, 2022 · 1 comment

Comments

@shaikazure
Copy link

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • 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

@anamnavi
Copy link
Member

@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.

@alerickson alerickson transferred this issue from PowerShell/PSResourceGet Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants