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

Cannot use any builtin source like windowsfeatures #311

Closed
matteo-mosca opened this issue Jun 5, 2015 · 8 comments
Closed

Cannot use any builtin source like windowsfeatures #311

matteo-mosca opened this issue Jun 5, 2015 · 8 comments

Comments

@matteo-mosca
Copy link

I have the latest version 0.9.9.6 installed.
When trying to list packages like this:

choco list --source windowsfeatures

It says 0 packages found. If I try to install a package from there (like the example in the wiki) it always says the package is not found. The verbose option does not add any extra information.

Same goes for other builtin sources like webpi or ruby.

Listing and installing from default feed works properly.

Is this a bug or I am missing something? I could not find any help or prerequisites on your wiki.

Thanks.

@ferventcoder
Copy link
Member

They are called alternate sources and they don't work in 0.9.9 series - see #14.
I just finished the last one yesterday #40

@ferventcoder
Copy link
Member

It's also mentioned in the wiki they don't work right now.

@matteo-mosca
Copy link
Author

Thank you for your reply. If it's mentioned maybe it's not clear enough though, otherwise I wouldn't have come here to post this.

What should I do then? Install an older version?

@gep13
Copy link
Member

gep13 commented Jun 5, 2015

What should I do then? Install an older version?

Yes. If you need this feature right now, then falling back to the latest PowerShell client would be your only route, unless you are happy to wait for this feature to arrive in the C# client.

To install the latest PowerShell client you can use:

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/Install-LastPoshClient.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

Rather than:

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

@ferventcoder
Copy link
Member

Probably an issue in naming of the source types.

@dhilgarth
Copy link

As you already implemented all these missing alternate sources can you name a release date for a version that includes them?

@ferventcoder
Copy link
Member

0.9.10 has the alternate sources in it - there is an alpha version out now to play with. Barring any security issues, there is only one release before this release.

@dhilgarth
Copy link

Working great as far as I can tell. Thanks!

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

4 participants