Scoop icon indicating copy to clipboard operation
Scoop copied to clipboard

[Bug] running scoop update hangs and eventually prints "Attempting to perform the InitializeDefaultDrives operation on the 'FileSystem' provider failed."

Open maximunited opened this issue 2 years ago • 5 comments

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"
}

maximunited avatar Jun 16 '23 12:06 maximunited

Can this be reproduced after reboot?

HUMORCE avatar Jun 16 '23 12:06 HUMORCE

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

maximunited avatar Jun 16 '23 12:06 maximunited

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

They may not be connected after suspending/hibernation.

r15ch13 avatar Jun 16 '23 12:06 r15ch13

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.

maximunited avatar Jun 17 '23 05:06 maximunited

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

rashil2000 avatar Oct 06 '23 16:10 rashil2000