Skip to content

Update goose CLI on Windows failed #5006

@Tian-Jionglu

Description

@Tian-Jionglu

Describe the bug
Update goose CLI 1.9.0 -> 1.9.1 in powershell.

  1. failed to update goose CLI use goose update;
  2. failed to update goose CLI with running powershell -ExecutionPolicy ByPass -File "download_cli.ps1"

To Reproduce
Steps to reproduce the behavior:

  1. goose CLI 1.9.0 installed;
  2. run goose update, expecting updating to 1.9.0;
  3. 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]

Metadata

Metadata

Assignees

Labels

p2Priority 2 - Medium

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions