chocolatey / chocolatey/docs

Cannot create an empty package to deprecate it

Open
#520 4 comments 0 reactions 0 assignees View on GitHub
Enhancement
Dominant language
MDX
Stars
223
Forks
248
Avg merge
3d 2h
Merged PRs (30d)
8

Description

### What You Are Seeing?

While trying to deprecate a package like described at https://docs.chocolatey.org/en-us/community-repository/maintainers/deprecate-a-chocolatey-package#the-solution I found that we cannot package an "empty" package. `choco pack` refuses to create the package with the error:

```
Cannot create a package that has no dependencies nor content.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the deprecation-a-chocolatey-package documentation linked in the issue and reproduce the documented flow using `choco pack`. Determine whether the limitation requires a documentation change or an upstream fix; done means the documented deprecation path is clearly supported or its limitation is accurately explained.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.