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

[Bug] "dnf list FILENAME*" doesn't list packages with the matching files #1720

Open
onlyreportingissues opened this issue Sep 20, 2024 · 1 comment
Labels
Priority: MEDIUM Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take

Comments

@onlyreportingissues
Copy link

E.g. when running sudo dnf list installed cosmic* only one file is shown, although I have other files installed that start with cosmic.

@ppisar
Copy link
Contributor

ppisar commented Sep 23, 2024

Did you mean dnf list --installed 'cosmic*'?

It's true that dnf5-list(8) refers to dnf5-specs(7) manual which reads:

   Many  commands  take  a  <package-spec> parameter that selects a package for the operation. The
   <package-spec> argument is matched against package NEVRAs, provides and file provides.

It's true that DNF4 matches against file names.

I confirm that DNF5 does not do that. It seems that DNF5 lists only by package names and ignores package provides and files.

@ppisar ppisar added Priority: MEDIUM Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take and removed Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take labels Sep 23, 2024
@ppisar ppisar changed the title [Bug] sudo dnf list installed [FILENAME]* doesn't list all installed files with a similar name [Bug] "dnf list FILENAME*" doesn't list packages with the matching files Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: MEDIUM Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Projects
Status: Backlog
Development

No branches or pull requests

2 participants