-
-
Notifications
You must be signed in to change notification settings - Fork 477
Description
1. General summary of the issue
Updating Pester by command described in the README document (Install-Module -Name Pester -Force), throw a PublishersMismatch exception:
A Microsoft-signed module named 'Pester' with version '3.4.0' that was previously installed conflicts with the new module 'Pester' from publisher 'CN=DigiCert Assured ID Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US' with version '4.4.4'. Installing the new module may result in system instability. If you still want to install or update, use -SkipPublisherCheck parameter.
2. Describe Your Environment
Pester version : 3.4.0 C:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0\Pester.psd1
PowerShell version : 5.1.17763.134
OS version : Microsoft Windows NT 10.0.17763.03. Expected Behavior
The command Install-Module -Name Pester -Force installs a new Pester version side-by-side with the already installed version.
4.Current Behavior
The command Install-Module -Name Pester -Force throw the exception with FullyQualifiedError Id PublishersMismatch,Validate-ModuleAuthenticodeSignature,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage.
5. Possible Solution
At this moment, enabling the SkipPublisherCheck switch solves the issue.