Skip to content

Release 1.8: Update-Module fail #628

@LaurentDardenne

Description

@LaurentDardenne

Update-Module fail with the 1.8 :

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

Windows Seven 64, PS version 5.0

I need PackageManagement 1.1.0.0,
I must remove the 'C:\Program Files\WindowsPowerShell\Modules\PSScriptAnalyzer',
and I must use :

install-module PSScriptAnalyzer -SkipPublisherCheck 

Perhaps document this point ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions