8000 [Bug]: `git-filter-repo` cannot be installed due to `Expand-Archive` not supporting `.zip_` · Issue #6564 · ScoopInstaller/Main · GitHub
[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: git-filter-repo cannot be installed due to Expand-Archive not supporting .zip_ #6564

Open
3 tasks done
egeerardyn opened this issue Feb 21, 2025 · 0 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@egeerardyn
Copy link

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

git-filter-repo

Expected/Current Behaviour

I am trying to install git-filter-repo but getting errors about Expand-Archive

Steps to Reproduce

scoop install git-filter-repo
WARN  Purging previous failed installation of git-filter-repo.
ERROR 'git-filter-repo' isn't installed correctly.
Removing older version (2.47.0).
'git-filter-repo' was uninstalled.
Installing 'git-filter-repo' (2.47.0) [64bit] from 'main' bucket
Loading v2.47.0.zip from cache
Checking hash of v2.47.0.zip ... ok.
Running installer script...Microsoft.PowerShell.Archive\Expand-Archive : .zip_ is not a supported archive file format. .zip is the only
supported archive file format.
At C:\Users\ege\scoop\apps\scoop\current\lib\decompress.ps1:289 char:5
+     Microsoft.PowerShell.Archive\Expand-Archive -Path $Path -Destinat ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (.zip_:String) [Expand-Archive], IOException
    + FullyQualifiedErrorId : NotSupportedArchiveFileExtension,Expand-Archive

done.
Linking ~\scoop\apps\git-filter-repo\current => ~\scoop\apps\git-filter-repo\2.47.0
Creating shim for 'git-filter-repo'.
Get-Command : The term 'git-filter-repo' 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 C:\Users\ege\scoop\apps\scoop\current\lib\install.ps1:757 char:21
+             $bin = (Get-Command $target).Source
+                     ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (git-filter-repo:String) [Get-Command], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand

Can't shim 'git-filter-repo': File doesn't exist.

Possible Solution

.

Scoop and Buckets Version

Current Scoop version:
859d1db5 (HEAD -> master, tag: v0.5.2, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
6f10f4d59 (HEAD -> master, origin/master, origin/HEAD) weasyprint: Update to version 64.1

'nerd-fonts' bucket:
175a9442 (HEAD -> master, origin/master, origin/HEAD) Dream-Han-Serif(,-CN,-HK,-JP,-KR,-TW): Add version 3.02 (#308)

Scoop Config

last_update                       scoop_repo                              scoop_branch
-----------                       ----------                              ------------
2025-02-21T14:41:21.8083970+01:00 https://github.com/ScoopInstaller/Scoop master

PowerShell Version

Name                           Value
----                           -----
PSVersion                      5.1.26100.2161
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.26100.2161
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

No response

@egeerardyn egeerardyn added the bug Something isn't working label Feb 21, 2025
@egeerardyn egeerardyn changed the title [Bug]: [Bug]: git-filter-repo cannot be installed due to Expand-Archive not supporting .zip_ Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant
0