On Fri, 2024-11-08 at 21:53 -0800, Samuel Sieb wrote:
> On 11/8/24 8:46 PM, home user via users wrote:
> > I thought that in the case of a file that IS owned by a package, rpm -qf 
> > was displaying the name of the owned file.  So I was expecting a file 
> > name to appear once, not 2000+ times!
> > 
> > It's now occurring to me that in the case of a file that is owned by a 
> > package, it's listing the name of the owning package, not the name of 
> > the owned file.  Am I correct?
> 
> That is correct.
> 
> And now I see why you're confused.  It doesn't show the filename, only 
> the package name, so you'll see an endless list of the package name, 
> with possibly only a few filenames mixed in.
> 
The OP probably wants to see files that don't belong to an installed
package, so an additional filter would be appropriate, e.g.

...|grep "not owned by any package"

poc
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to