chocolatey / chocolatey/choco

Handle upgrade order of Chocolatey products when running upgrade all

Open
#3,834 2 comments 1 reaction 0 assignees View on GitHub
Enhancement
Dominant language
C#
Stars
11.5k
Forks
960
PR merge metrics
No merged PRs in 30d

Description

### Checklist

- [x] I have verified this is the correct repository for opening this issue.
- [x] I have verified no other issues exist related to my request.

### Is Your Feature Request Related To A Problem? Please describe.

When running choco upgrade all the Chocolatey packages in the lib directory are upgraded in alphanumeric order. Chocolatey packages require a specific upgrade order that is not currently handled by this command.

### Describe The Solution. Why is it needed?

Upgrading Chocolatey component packages outside the required upgrade order can break a Chocolatey installation.

### Additional Context

_No response_

### Related Issues

[Original issue](https://gitlab.com/chocolatey/solutions/support-issues/-/issues/149)

Contributor guide

Open the contributing guide

Research direction

Start with the `choco upgrade all` command and the Chocolatey packages in the `lib` directory. Review the required component order from the linked original issue, then determine how the command should apply that order and verify that upgrades no longer break the installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.