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

Do not hint --skip-unavailable in case only one pkg_spec was used #1390

Open
m-blaha opened this issue Apr 8, 2024 · 0 comments
Open

Do not hint --skip-unavailable in case only one pkg_spec was used #1390

m-blaha opened this issue Apr 8, 2024 · 0 comments
Labels
Priority: LOW RFE Request For Enhancement (as opposed to a bug)

Comments

@m-blaha
Copy link
Member

m-blaha commented Apr 8, 2024

If only one pkg_spec was used with the transaction command and this spec was not found, do not suggest using --skip-unavailable, because if dnf5 skips this single specification, there would be nothing else left, resulting in an empty transaction.

Current output:

❯ dnf5 install ThisDoesNotExist
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
No match for argument: ThisDoesNotExist
You can try to add to command line:
  --skip-unavailable to skip unavailable packages

Expected output:

❯ dnf5 install ThisDoesNotExist
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
No match for argument: ThisDoesNotExist
@ppisar ppisar added the RFE Request For Enhancement (as opposed to a bug) label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: LOW RFE Request For Enhancement (as opposed to a bug)
Projects
Status: Backlog
Development

No branches or pull requests

2 participants