Install error : failure to unzip scoop.zip

Open
#95 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
git, powershell
Domain
cli

Research direction

Start with the PowerShell installation log, focusing on the failed Git checkout and the subsequent ZIP fallback. Reproduce the installation on Windows 10 and determine why the fallback archive is unavailable; done means Scoop installs successfully without the unzip error.

Written by the indexing model from the issue text.

Description

Description

Whenever I try installing scoop, it says "Unzip failed: can't find C:\Users\akcra\scoop\apps\scoop\current\scoop.zip to unzip"

####Installation Logs

PS C:\Users\akcra> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
PS C:\Users\akcra> Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
Initializing...
Downloading...
error: unable to stat just-written file test/fixtures/decompress/TestCases.zip: No such file or directory
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

WARNING: Cloning failed. Falling back to downloading zip files.
Extracting...
Unzip failed: can't find C:\Users\akcra\scoop\apps\scoop\current\scoop.zip to unzip.
Abort.
```

Additional Information

Windows 10,, only Windows security

Dominant language
PowerShell
Stars
1.3k
Forks
155
Avg merge
5h 24m
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ScoopInstaller/Install

All issues in ScoopInstaller/Install

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.