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

Scoop reinstalls packages from manifest if installing multiple packages together #4018

Open
NotWearingPants opened this issue Jun 10, 2020 · 0 comments

Comments

@NotWearingPants
Copy link

If I try to install an app from a specific manifest which is already installed, scoop refuses saying it is already installed.
But if I specify more than one parameter to the scoop install command, then apps from buckets wont get reinstalled, but apps from specific manifests will.

Repro:

C:\temp> echo {"version":"1.0.0","url":"http://example.com"} > local-app.json

C:\temp> scoop install .\local-app.json

Installing 'local-app' (1.0.0) [64bit]
C:\ (1.2 KB) [===============================================================================================================] 100%    
WARN  Warning: No hash in manifest. SHA256 for 'example.com' is:
    ea8fac7c65fb589b0d53560f5251f74f9e9b243478dcb6b3ea79b5e36449c8d9
Linking ~\scoop\apps\local-app\current => ~\scoop\apps\local-app\1.0.0
'local-app' (1.0.0) was installed successfully!

C:\temp> scoop install .\local-app.json

WARN  'local-app' (1.0.0) is already installed.
Use 'scoop update local-app' to install a new version.

C:\temp> scoop install .\local-app.json git

WARN  'git' (2.26.2.windows.1) is already installed. Skipping.
Installing 'local-app' (1.0.0) [64bit]
Loading C:\ from cache
WARN  Warning: No hash in manifest. SHA256 for 'example.com' is:
    ea8fac7c65fb589b0d53560f5251f74f9e9b243478dcb6b3ea79b5e36449c8d9
Linking ~\scoop\apps\local-app\current => ~\scoop\apps\local-app\1.0.0
'local-app' (1.0.0) was installed successfully!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant