-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Update goose CLI on Windows failed #5006
Copy link
Copy link
Closed
Labels
p2Priority 2 - MediumPriority 2 - Medium
Description
Describe the bug
Update goose CLI 1.9.0 -> 1.9.1 in powershell.
- failed to update goose CLI use
goose update; - failed to update goose CLI with running
powershell -ExecutionPolicy ByPass -File "download_cli.ps1"
To Reproduce
Steps to reproduce the behavior:
- goose CLI 1.9.0 installed;
- run
goose update, expecting updating to 1.9.0; - run
powershell -ExecutionPolicy ByPass -File "download_cli.ps1"when step 2 failed
Expected behavior
Updated goose CLI to 1.9.1 sucessfully.
** Result**
$ goose update
Error: Unsupported OS ''. Goose currently supports Linux, macOS, and Windows
$ powershell -ExecutionPolicy ByPass -File "download_cli.ps1"
Failed to extract goose-x86_64-pc-windows-gnu.zip. Error: Exception calling ".ctor" with "3"
argument(s): "Operation did not complete successfully because the file contains a virus or potentially unwanted software.
"
At download_cli.ps1:96 char:52
+ ... Write-Error "Failed to extract $FILE. Error: $($_.Exception.Message)"
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,download_cli.ps1
Please provide following information:
- OS & Arch: [Windows 11]
- Interface: [CLI]
- Version: [1.9.1]
- ** Terminal:** [Powershell 7]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
p2Priority 2 - MediumPriority 2 - Medium