3

I'd like to install the package available at chocolatey, but listed as hidden\unlisted:

This package is unlisted and hidden from package listings.

Example of such package:

https://chocolatey.org/packages/napiprojekt

Chocolatey command line cinst napiprojekt yields an error:

Failures - napiprojekt - napiprojekt not installed. The package was not found with the source(s) listed. If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not. Version: "" Source(s): "https://chocolatey.org/api/v2/"

How can I force Chocolatey to install hidden and unlisted package?

  • Based on the error, you have not provided Chocolatey, a valid source for the package. – Ramhound Oct 27 '16 at 19:08
  • @Ramhound: I want to install it from the official Chocolatey repo. – Dariusz Woźniak Oct 27 '16 at 19:12
  • It does not appear to be in that repoistory based on the error that is being generated. – Ramhound Oct 27 '16 at 20:30
5

To install an unlisted package, you need to know the version you are attempting to install and pass --version ### with choco install pkgname.

However if you read the comments, this package was unlisted because of the VirusTotal scan results - https://www.virustotal.com/en/file/d1baa923cf2a8ed8c93393b74df3a29907da85ccb2eb82795d431f6493f87fca/analysis/1454729257/

It's probably better to understand why something is unlisted first before attempting to install it. Normally packages that are safe or known to be good are not going to be unlisted.

  • Another example: maintainers set package as unlisted, when downloads URL stopped working. – agabrys Oct 28 '16 at 16:21
  • That is an anti-pattern - with pro licensees the package may still work for them due to the CDN. – ferventcoder Oct 28 '16 at 16:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.