8000 Update-Module fails with ModuleAuthenticodeSignature error for modules with signed PSD1 · Issue #8 · PowerShell/PowerShellGetv2 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Update-Module fails with ModuleAuthenticodeSignature error for modules with signed PSD1 #8

@bmanikm

Description

@bmanikm

PowerShell/PSScriptAnalyzer#628

update-module PSScriptAnalyzer

PackageManagement\Install-Package : The version '1.8.0' of the module 'PSScriptAnalyzer' being installed is not
catalog signed. Ensure that the version '1.8.0' of the module 'PSScriptAnalyzer' has the catalog file
'PSScriptAnalyzer.cat' and signed with the same publisher 'CN=Microsoft Root Certificate Authority, DC=microsoft,
DC=com' as the previously-installed module '1.8.0' with version '1.7.0' under the directory 'C:\Program
Files\WindowsPowerShell\Modules\PSScriptAnalyzer\1.7.0'. If you still want to install or update, use
-SkipPublisherCheck parameter.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.1.0.0\PSModule.psm1:2080 char:20
+ ...           $sid = PackageManagement\Install-Package @PSBoundParameters
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package],
   Exception
    + FullyQualifiedErrorId : ModuleIsNotCatalogSigned,Validate-ModuleAuthenticodeSignature,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0