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

Chocolatey install with PackageManagement doesn't work properly. #1052

Closed
veleek opened this issue Nov 15, 2016 · 6 comments
Closed

Chocolatey install with PackageManagement doesn't work properly. #1052

veleek opened this issue Nov 15, 2016 · 6 comments

Comments

@veleek
Copy link

veleek commented Nov 15, 2016

What You Are Seeing?

When installing chocolatey using the Window Powershell OneGet module (e.g. PackageManagement), I get some really wierd behavior and chocolatey doesn't get installed where I expect nor does it seem to work properly.

Note that I'm installing chocolatey from the chocolatey package source. Yes I realize this is weird, but I wanted choco.exe on my path and installing it using Install-Package seemed like it should be the easiest option.

What is Expected?

Chocolatey should install correctly and I would expect it to install to the same location as when I run the regular chocolatey install script.

How Did You Get This To Happen? (Steps to Reproduce)

From an powershell prompt on a Windows 10 machine:

Install-PackageProvider chocolatey
$DebugPreference = "Continue"
Install-Package chocolatey -verbose

Output Log

https://gist.github.com/veleek/fbb7288f6daa258b3df4dfe6961f7a97

@ferventcoder
Copy link
Member

It's not only weird, the current provider is an unsupported prototype that was written by Microsoft that didn't even cover all the features available at the time (0.9.8.23, 3 yrs old now).

Not only would I expect issues currently, but I'd prolly be worried about security issues with the prototype. That said we have it on our roadmap to publish an official provider, until then either use ChocolateyGet provider or steer clear of the prototype. HTH.

@ferventcoder
Copy link
Member

ferventcoder commented Nov 15, 2016

There really isn't much we can do here, but we have https://github.com/chocolatey/chocolatey-oneget where you can watch the repo to know when we will be ready.

@ferventcoder
Copy link
Member

ferventcoder commented Nov 15, 2016

Since this is outside of this repo (choco.exe) to fix, and because we don't have official support for PackageManagement yet, I'm going to close this for now.

If you feel this is not the right response, let's start a discussion over in the chocolatey-oneget repo where that would be the appropriate place for issues like this in the future.

@veleek
Copy link
Author

veleek commented Nov 15, 2016

This is a reasonable response. Honestly, the biggest problem was trying to figure out if the package provider was up to date or supported.

@ferventcoder
Copy link
Member

@veleek right on. No worries.

@ferventcoder
Copy link
Member

Update here - still waiting on upgrade support for OneGet... OneGet/oneget#6

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

No branches or pull requests

2 participants