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

nuget packages run choco list and could have issues with similar version/named packages #97

Open
erikng opened this issue Mar 30, 2020 · 0 comments

Comments

@erikng
Copy link

erikng commented Mar 30, 2020

I have two packages located in

pkgs\adoptopenjdk\jre\8\

One called AdoptOpenJDK_8_JRE_32.8.242.08.nupkg and one called AdoptOpenJDK_8_JRE_64.8.242.08.nupkg

when running gorilla this is what happens, with only the 32-bit manifest scoped to a machine (previously had 64-bit downloaded so it's in the cache)

command: C:\ProgramData\chocolatey\bin\choco.exe [list --version=8.242.08 --id-only -r -s C:\ProgramData\gorilla\cache\pkgs\adoptopenjdk\jre\8]
Command Output:
--------------------
AdoptOpenJDK_8_JRE_32
AdoptOpenJDK_8_JRE_64
--------------------
Installing nupkg for Adopt Open JDK 8 (JRE) 32-Bit
command: C:\ProgramData\chocolatey\bin\choco.exe [install AdoptOpenJDK_8_JRE_64 -s C:\ProgramData\gorilla\cache\pkgs\adoptopenjdk\jre\8 --version=8.242.08 -f -y -r]

so it thinks it's installing 32-bit, but it looks like maybe it's returning the last input from choco list.

As a workaround, I've now made

pkgs\adoptopenjdk\jre\8\32
pkgs\adoptopenjdk\jre\8\64

and now I can have multiple apps working correctly.

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