Opened 12 months ago
Last modified 11 months ago
#1782 closed defect
Windows drivedb update script returns "gpg.exe gpg.exe is not recognized..." — at Initial Version
Reported by: | Adam Piggott | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Release 7.5 |
Component: | all | Version: | 7.4 |
Keywords: | windows | Cc: |
Description
When I try to execute the update-smart-drivedb.ps1 script in a Powershell or Command Prompt CLI (running as Administrator or not) I receive the error:
& : The term 'gpg.exe gpg.exe' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At update-smart-drivedb.ps1:500 char:16
+ $($input | & $cmdobj @args 2>&1) | %{ $_.ToString() }
+ ~
+ CategoryInfo : ObjectNotFound: (gpg.exe gpg.exe:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
update-smart-drivedb.ps1 version 5515 2023-07-24 12:58:25Z from smartmontools 7.4, on Windows 10 22H2 64-bit, Powershell 10.0.19041.3636. gpg.exe is in $PATH and works.