ScoopInstaller / Install

📥 Next-generation Scoop (un)installer

Home Page:https://get.scoop.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error installing git

niansa opened this issue · comments

Description

Installation Logs

scoop install git
    Installing '7zip' (23.01) [64bit] from main bucket
7z2301-x64.msi (1.8 MB) [=========================================================================================================================================================================================================] 100%
Checking hash of 7z2301-x64.msi ... ok.
Extracting 7z2301-x64.msi ... ERROR Exit code was 1626!
git: C:\<redacted>\scoop\apps\scoop\current\lib\buckets.ps1:172
Line |
 172 |          $remote = git -C "$bucket_path" config --get remote.origin.ur .
     |                    ~~~
     | The term 'git' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was inc
luded, verify that the path is correct and try again.
Failed to extract files from C:\<redacted>\scoop\apps\7zip\23.01\7z2301-x64.msi.
Log file:
  ~\scoop\apps\7zip\23.01\msi.log

Please try again or create a new issue by using the following link and paste your console output:
https:////
git        -Service
git: The term 'git' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

(I've removed my user path for privacy reasons)

cat ~\scoop\apps\7zip\23.01\msi.log
1: 0 2: 1033 3: 0
=== Logging started: 8/18/2023  2:33:48 ===
Message type: 0, Argument: 1033, 0
Message type: 1, Argument: 7-Zip 23.01 (x64 edition)
Action 2:33:48: ADMIN.
Action start 2:33:48: ADMIN.
Action ended 2:33:48: ADMIN. Return value 0
PowerShell Context
Name                           Value
----                           -----
PSVersion                      7.3.4
PSEdition                      Core
GitCommitId                    7.3.4
OS                             Microsoft Windows 10.0.22000
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0.}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Check the error code on this page: https://learn.microsoft.com/en-us/windows/win32/msi/error-codes

  1. Restart PC then retry install the manifest
  2. Use alternative MSI extractor by toggle config item scoop config use_lessmsi true|false (default: false)

Closing this as it's not related to the installer.