Issue started after installing Anaconda3, trying to use GIT gave error: The system cannot find the file specified".
Uninstalled scoop with scoop uninstall scoop with some errors, force deleted Scoop folder before fresh installation.
After a fresh installation git is still not found "The system cannot find the path specified"
also can't update scoop
EDIT:
Also get ERROR when trying to add a bucket:
PS D:\Users\Ak> scoop bucket add extras
Checking repo... ERROR 'https://github.com/ScoopInstaller/Extras' doesn't look like a valid git repository
Error given:
The system cannot find the path specified.
Expected Behavior
Additional context/output
PS D:\Users\Ak> scoop status
WARN Scoop out of date. Run 'scoop update' to get the latest changes.
PS D:\Users\Ak> scoop update
Updating Scoop...
The system cannot find the path specified.
Remove-Item : Cannot find path 'D:\Users\Ak\scoop\apps\scoop\new' because it does not exist.
At D:\Users\Ak\scoop\apps\scoop\current\libexec\scoop-update.ps1:79 char:13
+ Remove-Item $newdir -Force -Recurse
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (D:\Users\Ak\scoop\apps\scoop\new:String) [Remove-Item], ItemNotFoundExc
eption
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
Scoop download failed. If this appears several times, try removing SCOOP_REPO by 'scoop config rm SCOOP_REPO'
PS D:\Users\Ak> scoop config rm SCOOP_REPO
'SCOOP_REPO' has been removed
PS D:\Users\Ak> scoop update
Updating Scoop...
The system cannot find the path specified.
Remove-Item : Cannot find path 'D:\Users\Ak\scoop\apps\scoop\new' because it does not exist.
At D:\Users\Ak\scoop\apps\scoop\current\libexec\scoop-update.ps1:79 char:13
+ Remove-Item $newdir -Force -Recurse
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (D:\Users\Ak\scoop\apps\scoop\new:String) [Remove-Item], ItemNotFoundExc
eption
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
Scoop download failed. If this appears several times, try removing SCOOP_REPO by 'scoop config rm SCOOP_REPO'
PS D:\Users\Ak> git
The system cannot find the path specified.
Possible Solution
System details
Windows version: [e.g. 7, 8, 10, 11]
W11
OS architecture: [e.g. 32bit, 64bit, arm64]
64bit
PowerShell version: [output of "$($PSVersionTable.PSVersion)"]
Major 5
Minor 1
Build 22621
Revision 963
Additional software: [(optional) e.g. ConEmu, Git]
Bug Report
Current Behavior
Issue started after installing Anaconda3, trying to use GIT gave error: The system cannot find the file specified".
Uninstalled scoop with scoop uninstall scoop with some errors, force deleted Scoop folder before fresh installation.
After a fresh installation git is still not found "The system cannot find the path specified" also can't update scoop
EDIT: Also get ERROR when trying to add a bucket:
Expected Behavior
Additional context/output
Possible Solution
System details
Windows version: [e.g. 7, 8, 10, 11]
W11
OS architecture: [e.g. 32bit, 64bit, arm64]
64bit
PowerShell version: [output of
"$($PSVersionTable.PSVersion)"
]Major 5 Minor 1 Build 22621 Revision 963
Additional software: [(optional) e.g. ConEmu, Git]
Scoop Configuration