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]: Updating / Uninstalling clash-verge-rev requires admin rights even if the service is not installed. #13397

Open
3 tasks done
trantuan-20048607 opened this issue Jun 4, 2024 · 0 comments · May be fixed by #13429
Open
3 tasks done
Labels

Comments

@trantuan-20048607
Copy link

trantuan-20048607 commented Jun 4, 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

clash-verge-rev

Expected/Current Behaviour

I can install and use clash-verge-rev as a standard user (no admin rights), but I cannot update or uninstall it for scoop's trying to remove the clash-meta service even if it is not installed. manifest.json must be changed to update or uninstall this app. This is weird and difficult to use.

Steps to Reproduce

$ scoop uninstall clash-verge-rev
Uninstalling 'clash-verge-rev' (1.6.5).
Running pre_uninstall script...
ERROR clash-verge-rev requires admin rights to uninstall

Possible Solution

Check if the clash-verge-rev service is actually installed. Then try to get the admin rights.

Scoop and Buckets Version

$ scoop --version
Current Scoop version:
d337bb1f (HEAD -> master, tag: v0.4.2, origin/master, origin/HEAD) chore(release): Bump to version 0.4.2 (#5964)

'main' bucket:
d15310756 (HEAD -> master, origin/master, origin/HEAD) vals: Update to version 0.37.2

'extras' bucket:
5557d9798 (HEAD -> master, origin/master, origin/HEAD) tutanota: Update to version 230.240603.0

'nerd-fonts' bucket:
31020abc (HEAD -> master, origin/master, origin/HEAD) LXGWNeoXiHei: Update to version 1.123.1

Scoop Config

$ scoop config

last_update       scoop_repo                              scoop_branch proxy
-----------       ----------                              ------------ -----
2024/6/4 20:46:42 https://github.com/ScoopInstaller/Scoop master       localhost:7897

PowerShell Version

$ $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.2
PSEdition                      Core
GitCommitId                    7.4.2
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response

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

Successfully merging a pull request may close this issue.

1 participant