8000 Installing from packages.config doesn't support installing from other sources (e.g. windowsfeatures, python, etc) · Issue #877 · chocolatey/choco · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Installing from packages.config doesn't support installing from other sources (e.g. windowsfeatures, python, etc) #877
Closed
@chrispellett

Description

@chrispellett

(I did some digging for an issue or mention of this behaviour and could not find anything; my apologies if something does exist. Many thanks for your help)

What You Are Seeing?

I have a packages.config with the following entry:
<package id="IIS-WebServerRole" source="windowsfeatures" />
and it fails to install with the error: "The package was not found with the source(s) listed"

What is Expected?

Anything that can be installed via "choco install" (which the above can) should be supported in the packages.config. E.g. choco install IIS-WebServerRole -s windowsfeatures succeeds on the same machine.

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

  • Create a packages.config with the above entry (I also had a "notepadplusplus" entry but I don't think that changes the result).
  • Run choco install packages.config

Output Log

https://gist.github.com/chrispellett/af88b0b4eb1969e783e9a87c300d6b9e

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0