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

Global uninstalls local version if both (local and global installs) exist #2608

Closed
ghost opened this issue Sep 20, 2018 · 7 comments
Closed
Labels

Comments

@ghost
Copy link

ghost commented Sep 20, 2018

calling

scoop uninstall <app> -g

uninstalls local app 1st. Should uninstall global.

@ghost ghost changed the title Global uninstall doesn't seem to work Global uninstalls local version if both (local and global installs) exist Sep 20, 2018
@Ash258
Copy link
Contributor

Ash258 commented Sep 20, 2018

Git??

@ghost
Copy link
Author

ghost commented Sep 20, 2018

:) sorry, updated.

@Ash258
Copy link
Contributor

Ash258 commented Sep 20, 2018

Could reproduce in PS 5.1.17134.228:

system32 $ scoop install aria2 -g
Installing 'aria2' (1.34.0-1) [64bit]
aria2-1.34.0-win-64bit-build1.zip (2.0 MB) [==================================================================] 100%
Checking hash of aria2-1.34.0-win-64bit-build1.zip ... ok.
Extracting aria2-1.34.0-win-64bit-build1.zip ... done.
Linking C:\Scoop\apps\aria2\current => C:\Scoop\apps\aria2\1.34.0-1
Creating shim for 'aria2c'.
'aria2' (1.34.0-1) was installed successfully!
system32 $ scoop list
Installed apps:

  7zip 18.05
  aria2 1.34.0-1 *global*
  aria2 1.34.0-1
  ...

system32 $ scoop uninstall aria2 -g
Uninstalling 'aria2' (1.34.0-1).
Removing shim for 'aria2c'.
Unlinking D:\SCOOP\apps\aria2\current
'aria2' was uninstalled.
system32 $ scoop list
Installed apps:

  7zip 18.05
  aria2 1.34.0-1 *global*
  ...

system32 $ scoop uninstall aria2 -g
Uninstalling 'aria2' (1.34.0-1).
Removing shim for 'aria2c'.
Unlinking C:\Scoop\apps\aria2\current
'aria2' was uninstalled.
system32 $ scoop list
Installed apps:

  7zip 18.05
  ...

@r15ch13 r15ch13 added the bug label Sep 21, 2018
@r15ch13
Copy link
Member

r15ch13 commented Sep 21, 2018

That's a bug, I'm the one responsible for it 84bd16b 😁

@JanPokorny
Copy link

Can confirm, reproducable on latest version.

obrazek

@Ash258
Copy link
Contributor

Ash258 commented Feb 28, 2019

@r15ch13 Could you look into it please? It's pretty annoying 😃

@rasa
Copy link
Member

rasa commented Oct 20, 2020

Fixed in e513430

@rasa rasa closed this as completed Oct 20, 2020
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