-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Update deletes Main Bucket and fails #3629
Comments
Install scoop normally, then run |
Ok. I just did a fresh install of scoop and installed git
Just ran the update and again
I then renamed the folder for the existing Git in my system and did a fresh install of scoop and git with scoop. Same error
|
I suspect some network / proxy problem. What is result of |
Also I just want to mention that now after that failure, if I try and install anything else or try the update again I get this:
|
@Ash258 When I do a git clone I get this.
And when I look in the directory
|
Hm, try running |
@r15ch13 Ok, the rm looks like it works, or at least didn't throw an error. But the add does the same error as earlier:
|
Here is the full error message. I didn't include it earlier because I didn't know if it would be anything.
The |
Does anyone else have a stab at this? I appreciate the help and want to get this working again. |
I'm facing the same error. Installed scoop several days ago and installed git, 7zip and neovim without problem. Then today when I tried to install nodejs-lts, I got this error. Now I can do nothing to scoop. I can't udpate, delete bucket or even uninstall scoop. I get all the same errors no matter what I do with scoop. |
|
@greg-hutchinson I still have not gotten this to work. Best I have gotten was to just remember all the things I wanted scoop to install, and do a fresh install and leave it be. I am thinking of getting away from scoop and just installing things the old fashioned way, like git and node/npm. I would love to have a fix for this though. |
@kevmul - A quick fix to try for now. If you find where scoop has installed
to (On my machine C:\Users\Greg\scoop\apps\scoop\current) and go into the
lib directory you should find a git.ps1 file.
Change the line in the function git_proxy_cmd (currently line 7)
from
& "$env:COMSPEC" /c $cmd
to this
& "$env:COMSPEC" /d /c $cmd
Note the /d switch. Save it and see if this solves the problem for you.
This switch just invokes the git command without an extra autostart
features. My guess is that you might have something also starting that is
causing an error.
Another good way to know if this might work is if you just start a command
window by itself do you also get a message at the top of the window.
In any case, this switch can't hurt, if you think it causes other problems
you can always take it out. Good luck - I would be curious to know if this
fixes things for you. It did for me.
... Greg ...
…On Mon, 4 May 2020 at 13:45, kevmul ***@***.***> wrote:
@greg-hutchinson <https://github.com/greg-hutchinson> I still have not
gotten this to work. Best I have gotten was to just remember all the things
I wanted scoop to install, and do a fresh install and leave it be. I am
thinking of getting away from scoop and just installing things the old
fashioned way, like git and node/npm.
I would love to have a fix for this though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3629 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADDG3JX3ZSGTXSLD2WWPE5TRP4LOJANCNFSM4IT76P4Q>
.
--
|
@greg-hutchinson I just did the change and IT WORKED! The main bucket was able to be added successfully and I was able to do the Thank you so much for this! I will mark this as completed and solved. |
Your Welcome @kevmul. Glad you can now keep using scoop 'cause it is a
great product.
I have submitted the fix already to the maintainers.
…On Wed, 27 May 2020 at 06:14, kevmul ***@***.***> wrote:
@greg-hutchinson <https://github.com/greg-hutchinson> I just did the
change and *IT WORKED!* The main bucket was able to be added successfully
and I was able to do the scoop update! I was even able to install a new
program with scoop!
Thank you so much for this! I will mark this as completed and solved.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3629 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADDG3JQQAMHXQGFQCHCCHUTRTT74FANCNFSM4IT76P4Q>
.
--
|
When I download scoop, it seems to work fine (
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
). I can install anything I want and they all work. However, once I try to update scoopscoop update
It fails with the error:And the Main bucket is no longer in my scoop bucket folder.
I looked through other issues about this and tried a few.
The first I tried was deleting the
.git
file from~/scoop/shims/apps/scoop/current
but there is no.git
file there.I have also just deleted the whole scoop directory with git bash window
rm -rf /scoop
then reinstalling it several times.Any help is very appreciated. And if this has been covered already my apologies, I must have missed it.
The text was updated successfully, but these errors were encountered: