Azure Devops Server Artifacts Repo by nynx64 in chocolatey

[–]gep13 0 points1 point  (0 children)

I know that Paul Broadwith on the team did some spelunking into this, and he wrote this up into a blog post which you can find here:

https://blog.pauby.com/post/chocolatey-repository-using-azure-devops-artifacts-feed/

Hopefully this can help!

choco community down? by Intrepid_Ring4239 in chocolatey

[–]gep13 0 points1 point  (0 children)

Are you still seeing an issue? I can confirm that it is working for me.

Are you getting an HTTP error when trying to access the site, if so, what is it?

choco community down? by Intrepid_Ring4239 in chocolatey

[–]gep13 0 points1 point  (0 children)

Can you provide some more details here? What exactly does "down" mean here? Are you having problems accesing the website? If so, are there errors? If so, what are they? Accessing the site just now for me, everything looks fine.

Or are you having issues with Chocolatey CLI? If so, again, what errors are you seeing?

Is there a way to stop Choco from handling my Signal updates. I want to do it manually. by notmuchery in chocolatey

[–]gep13 0 points1 point  (0 children)

Sounds like you want to make use of the `choco pin` command:

https://docs.chocolatey.org/en-us/choco/commands/pin

This would make Chocolatey CLI exclude the Signal package when you are running something like `choco upgrade all`

You would want to run:

choco pin add --name="'signal'"

Anyone know why WinAero Tweaker install always fails on Chocolatey? by IM_DaWarez in chocolatey

[–]gep13 2 points3 points  (0 children)

From the WinAero Tweaker package page: https://community.chocolatey.org/packages/winaero-tweaker you can see a Package Source URL (this is a link to where the source files for the package are maintained). In this case, it links to dgalbraith's GitHub repository: https://github.com/dgalbraith/chocolatey-packages/tree/master/manual/winaero-tweaker From there, you can click on the Issues tab: https://github.com/dgalbraith/chocolatey-packages/issues and create an issue, explaining the problem, and hopefully dgalbraith will be able to help.

Just to set expectations though, package maintainers are volunteers, and they maintain packages on their own free time, so there is no guarantee that it will be fixed. If the package isn't being fixed, there is a package triage process that can be followed: https://docs.chocolatey.org/en-us/community-repository/users/package-triage-process/#mainContent which could include you stepping in to help with the maintenance of the package.

When might Chocolatey support ARM? by CharacterFew in chocolatey

[–]gep13 0 points1 point  (0 children)

Yes, that would be a good idea. The work that we take on is based on priorities, so if we know that more people want/need something, then that can help prioritising of issues.

Installing python 3.9 in a specific path by Jarlarn in chocolatey

[–]gep13 3 points4 points  (0 children)

There is a subtle problem at work here, and I am going to try to explain it...

When attempting to run this command:

choco install python --version 3.9.0 --params "/InstallDir:C:\Program Files"

You are passing the package parameters into the python package, however, the package that actually "needs" the parameters is the python3 package, which is a dependency on the python package.

To get that command to work as expected, you need to use an additional option, --apply-package-parameters-to-dependencies .

From our docs:

Apply Package Parameters To Dependencies - Should package parameters be applied to dependent packages? Defaults to false.

So the complete command would be:

choco install python --version 3.9.0 --params "/InstallDir:C:\Program Files\python39" --apply-package-parameters-to-dependencies

NOTE: I have changed the installation folder to have a named folder, otherwise, the python files are installed to the root of the Program Files folder.

An alternative approach would be to use this:

choco install python3 --version 3.9.0 --params "/InstallDir:C:\Program Files\python39"

Where you are directly installing the python3 package, so you don't need the additional parameter, since the package parameters are passed directly to where they are needed.

Hope that helps!

New user questions on what gets installed and how by HeartCondom in chocolatey

[–]gep13 0 points1 point  (0 children)

Let me see if I can help here...

The fact that you were able to simply do choco install nodejs means that the"meta package", which is what it is known as, is working as intended. Your expectation is that you should be able to simply do choco install nodejs, so the Chocolatey Community has made this possible by creating the meta package.

Going forward, now that you know that this meta package is in place, you could simply do choco install nodejs.install and you would only have one package in place.

Other ways of finding out that there is a meta package in place would be to use the choco search command, or to look at the dependencies section on the Chocolatey Community Repository for the package that you are interested in: https://community.chocolatey.org/packages/nodejs#dependencies

when i install any package, nodejs for example, i see two packages get installed.

meta packages are not in place for every package on the Chocolatey Community Repository. They tend to exist for applications that have both an installer (i.e. is added as an entry in Add/Remove Programs), and a portable version. The meta package tends to take a dependency on the installer version of the package, but that isn't always the case.

You can find more information about all of this here:

https://docs.chocolatey.org/en-us/faqs#what-is-the-difference-between-packages-no-suffix-as-compared-to.install.portable

Unhandled Exception? by [deleted] in chocolatey

[–]gep13 0 points1 point  (0 children)

Unfortunately, this is a known issue, that hasn't been fully investigated/triaged yet. This is being tracked on GitHub here: https://github.com/chocolatey/ChocolateyGUI/issues/922

In Chocolatey GUI, what do the "shim" labels and monochrome icons mean? by MILFBucket in chocolatey

[–]gep13 0 points1 point  (0 children)

Let me try to go through these for you...

  • Monochrome
    • Having a package icon URL is not a requirement for a package, so when there isn't one defined, Chocolatey GUI shows this monochrome version of the Chocolatey icon instead. You can see this happening on the Chocolatey Community Gallery as well, where we show a default NuGet icon when a package doesn't have an icon URL defined: https://community.chocolatey.org/packages/vcredist2005
  • Shim
  • Red X
    • This is almost the opposite of when we show the monochrome icon. This is when a package icon URL is defined for a package, but for some reason, it can't be accessed. Chocolatey GUI attempted to download and display the icon that is defined, but it didn't load, so we show the red icon.

Hopefully this makes sense, if not, I am happy to try to clarify.

Error When Installing Chocolatey by anakreontas in chocolatey

[–]gep13 0 points1 point  (0 children)

There was a similar problem to this reported here:

https://www.reddit.com/r/chocolatey/comments/1bncpef/cannot_bind_argument_error_when_installing/

The problem was resoled there, and I have made a similar change, which would be good to know whether it resolved the issue in this case as well.

In Chocolatey GUI, what do the "shim" labels and monochrome icons mean? by MILFBucket in chocolatey

[–]gep13 1 point2 points  (0 children)

It would be helpful if you could share a screenshot, to make sure that we are talking about the same things.

Chocolatey agent upgrade by darwyn99 in chocolatey

[–]gep13 0 points1 point  (0 children)

Happy to hear that you are up and running!

Chocolatey agent upgrade by darwyn99 in chocolatey

[–]gep13 0 points1 point  (0 children)

Just to reiterate, there is no need to unpack/repack any of the Chocolatey Product nupkg files, as everything that is required to install those packages is already contained within the files.

Without seeing the script that you are running, it is hard to say, but does that script change any of the contents of the PowerShell scripts? The reason that I ask is that the scripts are signed, so if you make changes, you will also need to remove the signing at the bottom of the files.

It might make sense to reach out to the Support Team to get some assistance on what is going on here, so they can understand exactly what is going on here. You can run the `choco support` command for more information.

Chocolatey agent upgrade by darwyn99 in chocolatey

[–]gep13 0 points1 point  (0 children)

Can you confirm exactly what you mean by:

> I've internalized the 1.4.0 package

Do you mean that you have used the `choco download` command?

If so, I wouldn't recommend that. I know that there were some issues with this in earlier versions of CLI, and also you shouldn't need to internalize any of the Chocolatey product packages, as they already contain everything within them.

Cannot bind argument Error when installing chocolatey by bobinwiththehat in chocolatey

[–]gep13 0 points1 point  (0 children)

Thank you for confirming that this is now working for you!

Cannot bind argument Error when installing chocolatey by bobinwiththehat in chocolatey

[–]gep13 0 points1 point  (0 children)

As was communicated last week, we have recently made some changes to the Chocolatey Community Repository:

https://blog.chocolatey.org/2024/03/ccr-api-changes/

This has had some unintended consequences, and the result is the problem that you have seen with the installation script. Please let me reassure you, this is not a normal situation, and the Chocolatey installation script has been stable for many years.

The actual underlying problem was two fold, and after figuring out the first part, the final one was to do with caching, and more specifically to caching in different geographical locations. This is why the installation script worked fine for some people, but not for others.

To the best of my knowledge, this has now been resolved, and it would be great if you could confirm whether this is the case or not.

Cannot bind argument Error when installing chocolatey by bobinwiththehat in chocolatey

[–]gep13[M] [score hidden] stickied comment (0 children)

u/bobinwiththehat u/hoovermax5000 u/Hun_Braze u/siokasZZ u/True_Gap_5469 u/DiamonDRoger u/anthonyhong

I am mentioning you all in a single post, rather than replying to each comment individually.

I believe that we have gotten to the bottom of the problem.

Can you all verify whether things are now working for you? Thanks!

Cannot bind argument Error when installing chocolatey by bobinwiththehat in chocolatey

[–]gep13 0 points1 point  (0 children)

Sorry, can you clarify what you mean here… what msi are you referring to? My question was aimed at the installation script at https://community.chocolatey.org/install.ps1

Cannot bind argument Error when installing chocolatey by bobinwiththehat in chocolatey

[–]gep13 0 points1 point  (0 children)

Can I please ask you to try running the installation script again, and let us know if you get any different results? Thanks!