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]: scoop uninstall versions/steam failed #1905

Open
3 tasks done
zengjiapei3000 opened this issue Aug 18, 2024 · 6 comments · May be fixed by #1916
Open
3 tasks done

[Bug]: scoop uninstall versions/steam failed #1905

zengjiapei3000 opened this issue Aug 18, 2024 · 6 comments · May be fixed by #1916
Labels

Comments

@zengjiapei3000
Copy link

zengjiapei3000 commented Aug 18, 2024

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

steam

Expected/Current Behaviour

scoop uninstall versions/steam

the failed message is this:


Running uninstaller ... error.
ERROR Exception calling "Start" with "0" argument(s): "The requested operation requires elevation"
Uninstallation aborted.

image

Steps to Reproduce

PS> scoop install versions/steam
......
# then start steam.

# pop a window:
## the steam registry path is currently not writable which can cause issues with some Steam features and running games. 
## Steam needs to repair this problem and then restart.

# Click 'ignore'.

# then login account. when login success, close steam process in "Task Manager".

# Start uninstall steam
steam uninstall versions/steam

Possible Solution

I am not possible solution.

Scoop and Buckets Version

PS> scoop --version
Current Scoop version:
55054500 (HEAD -> master, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
3d1c31876 (HEAD -> master, origin/master, origin/HEAD) stgit: Update to version 2.4.10

'extras' bucket:
3745be314 (HEAD -> master, origin/master, origin/HEAD) gpg: Signature made Sun Aug 18 14:00:08 2024
gpg:                using RSA key B5690EEEBB952194
gpg: Can't check signature: No public key
vencord-installer: Add version 1.4.0 (#13748)

'versions' bucket:
6e03446f5 (HEAD -> master, origin/master, origin/HEAD) ipfilter-nightly@1723871253: Fix hash (Closes #1904)

'sysinternals' bucket:
e669cc0 (HEAD -> main, origin/main, origin/HEAD) gpg: Signature made Wed Feb 21 18:02:04 2024
gpg:                using RSA key 77E38735E1ABE77D98056DD2598D4D737FFDB5B6
gpg: Can't check signature: No public key
chore(ci): switch to `pull_request_target` trigger

'nerd-fonts' bucket:
7e4bea7c (HEAD -> master, origin/master, origin/HEAD) LXGWNeoXiHei: Update to version 1.200

'nonportable' bucket:
20e94245 (HEAD -> master, origin/master, origin/HEAD) 10x-np: Update to version 1.0.202

'java' bucket:
84b7bb31 (HEAD -> master, origin/master, origin/HEAD) temurin11-nightly-jre: Update to version 11.0.25-3.0.ea

'games' bucket:
fda756385 (HEAD -> master, origin/master, origin/HEAD) eve-iph: Update to version 5.0.8995.7689

'blacktop' bucket:
004d273 (HEAD -> main) Scoop update for ipsw version v3.1.533

'dorado' bucket:
ba036ab7 (HEAD -> master, origin/master, origin/HEAD) microsoftedge: Update to version 127.0.2651.105

'emulators' bucket:
8f3fcd58e (HEAD -> master, origin/master, origin/HEAD) dolphin-dev: Update to version 2407-228

'frostming' bucket:
f7ed02f (HEAD -> master, origin/master, origin/HEAD) pdm: Update to version 2.18.1

'jetbrains' bucket:
cc4d1d15 (HEAD -> main, origin/main, origin/HEAD) Fleet-RC: Update to version 1.38.89

'lemon' bucket:
9160da71c (HEAD -> master, origin/master, origin/HEAD) peerguard: Update to version 0.7.6

'mochi' bucket:
36b5993 (HEAD -> master, origin/master, origin/HEAD) Sync

'python' bucket:
54eaa16 (HEAD -> master, origin/master, origin/HEAD) ytmdl-py: Update to version 2024.08.15.1

'retools' bucket:
ca118be (HEAD -> master, origin/master, origin/HEAD) axmlprinter: Update to version 1.0.0

'v2raya' bucket:
4952794 (HEAD -> main, origin/main, origin/HEAD) v2ray-rules-dat: Update to version 202408172210

'wsl' bucket:
9689ba6 (HEAD -> master, origin/master, origin/HEAD) resolves issue #4

Scoop Config

PS> scoop config

last_update                       scoop_repo                              scoop_branch alias
-----------                       ----------                              ------------ -----
2024-08-18T15:19:42.9808775+08:00 https://gitee.com/scoop-installer/scoop master       @{i=scoop-i; s=scoop-s}

PowerShell Version

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.19041.4648
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.4648
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

No response

@Ra2-IFV
Copy link

Ra2-IFV commented Aug 20, 2024

same problem here, but error is different
Fatal Error - Failed to Load steamui.dll

@Ra2-IFV
Copy link

Ra2-IFV commented Aug 20, 2024

Ah I'm blind... I thought it's scoop install, so not related at all.
The prompt asked you to run scoop with privileges, did you try that?

@zengjiapei3000
Copy link
Author

zengjiapei3000 commented Aug 20, 2024

Ah I'm blind... I thought it's scoop install, so not related at all.

Ok, that is it. I think to reproduce the problem, so firstly install, then uninstall it, will take this error message.

Is you problem happenning on you install?
Or I should install steam as root like sudo scoop install versions/steam?

@Ra2-IFV
Copy link

Ra2-IFV commented Aug 21, 2024

Or I should install steam as root like sudo scoop install versions/steam?

try sudo scoop uninstall steam first

@zengjiapei3000
Copy link
Author

zengjiapei3000 commented Aug 21, 2024

Or I should install steam as root like sudo scoop install versions/steam?

try sudo scoop uninstall steam first

it works! Thank you for this😄.
And I think the pre_install and uninstaller should check shell is run as root better🤔.

@zengjiapei3000
Copy link
Author

zengjiapei3000 commented Aug 21, 2024

I'm working on this issue.

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