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

Chocolatey CLI does not function at all when "Not a valid nupkg" error is shown #3550

Open
6 tasks done
pauby opened this issue Nov 5, 2024 · 0 comments
Open
6 tasks done

Comments

@pauby
Copy link
Member

pauby commented Nov 5, 2024

Checklist

  • I confirm there are no unresolved issues reported on the Chocolatey Status page.
  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have verified this is not an issue for a specific package.
  • I have verified this issue is not security related.
  • I confirm I am using official, and not unofficial, or modified, Chocolatey products.

What You Are Seeing?

When a package exists in the lib folder, but does not have any corresponding entries in the .chocolatey folder, the error 'Not a valid nupkg file' is shown. This stops Chocolatey CLI from doing anything else until the problem is resolved.

Image

What is Expected?

If there is a problem with a particular package, Chocolatey CLI should warn the user, but should still function. If possible, it should let the user know what they should do and what the error is (i.e., no equivalent package ID in .chocolatey folder for example).

How Did You Get This To Happen?

See the Zendesk ticket for more information. Note that there is also a script that was created to resolve the problem in that ticket.

System Details

N/A

Installed Packages

N/A

Output Log

See the Zendesk ticket for more information.

Additional Context

This is related to a Zendesk ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant