-
Notifications
You must be signed in to change notification settings - Fork 403
Closed
Description
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.InstallPackageWindows 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 ?
rkeithhill
Metadata
Metadata
Assignees
Labels
No labels