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] running scoop update hangs and eventually prints "Attempting to perform the InitializeDefaultDrives operation on the 'FileSystem' provider failed." #5540

Open
maximunited opened this issue Jun 16, 2023 · 5 comments
Labels

Comments

@maximunited
Copy link

Bug Report

Current Behavior

I run scoop update, the operation hangs for almost 30 minutes, then prints "Attempting to perform the InitializeDefaultDrives operation on the 'FileSystem' provider failed." and continues to succeed.

Expected Behavior

Expectation to not hang. and not to print error

Additional context/output

> scoop update
Attempting to perform the InitializeDefaultDrives operation on the 'FileSystem' provider failed.
Updating Scoop...
Updating 'extras' bucket...
Updating 'main' bucket...
Updating 'nerd-fonts' bucket...
Scoop was updated successfully!

Possible Solution

idk

System details

Windows version: 10

OS architecture: 64bit

PowerShell version:

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      19041  2673

Additional software: git, clink

Scoop Configuration

{
    "last_update":  "2023-06-16T15:03:16.0123501+03:00",
    "use_external_7zip":  true,
    "aria2-warning-enabled":  false,
    "aria2-enabled":  false,
    "aria2-options":  "--check-certificate false",
    "proxy":  "5.5.5.5:8000",
    "scoop_branch":  "master",
    "scoop_repo":  "https://github.com/ScoopInstaller/Scoop"
}
@HUMORCE
Copy link
Member

HUMORCE commented Jun 16, 2023

Can this be reproduced after reboot?

@maximunited
Copy link
Author

Yes, I've seen it multiple times. It doesnt happen all the time. In most cases I've seen it after my PC wakes after a night's sleep. But not only

@r15ch13
Copy link
Member

r15ch13 commented Jun 16, 2023

Do you have any connected network drives?
https://community.spiceworks.com/topic/1098946-initializedefaultdrives-operation-failed

They may not be connected after suspending/hibernation.

@maximunited
Copy link
Author

No network drives. I have in my explorer OneDrive, Dropbox, and Tresorit Drive.
But since I don't use PowerShell usually, never saw this error when just opening a new terminal with it.
I use scoop with CMD.

@rashil2000
Copy link
Member

@maximunited can you test out PR #5550 and let us know?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants