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

[Windows] CPack command alias is not part of Choco anymore #5278

Merged
merged 1 commit into from
Mar 24, 2022
Merged

[Windows] CPack command alias is not part of Choco anymore #5278

merged 1 commit into from
Mar 24, 2022

Conversation

HofmeisterAn
Copy link
Contributor

Description

Choco does not ship CPack anymore. Remove-Item fails with the latest Choco release:

Remove-Item : Cannot find path 'C:\ProgramData\chocolatey\bin\cpack.exe' because it does not exist.

Related issue:

Check list

  • Related issue / work item is attached
  • Tests are written (if applicable)
  • Documentation is updated (if applicable)
  • Changes are tested and related VM images are successfully generated

@miketimofeev
Copy link
Contributor

/azp run windows2019, windows2022

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@gep13
Copy link

gep13 commented Mar 24, 2022

@HofmeisterAn thanks for catching this!

Yes, in v1.0.0 of Chocolatey CLI we no longer ship the cpack alias, and are recommending that folks use choco pack instead. Going forward, all the Chocolatey shims, i.e. chocolatey, cinst, clist, cpush, cuninst have also been marked as deprecated, and they will be removed in version v2.0.0 of Chocolatey CLI - chocolatey/choco#2642

@miketimofeev
Copy link
Contributor

@HofmeisterAn thank you for your contribution!

@miketimofeev miketimofeev merged commit 1131275 into actions:main Mar 24, 2022
@HofmeisterAn HofmeisterAn deleted the patch-1 branch March 24, 2022 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants