Bug 484601 - yum doesn't accept listfiles as action
Summary: yum doesn't accept listfiles as action
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-08 21:46 UTC by Tobias Mueller
Modified: 2014-01-21 23:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-09 06:38:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tobias Mueller 2009-02-08 21:46:45 UTC
Description of problem:
I want to know which files a package installed. I don't want to know about other tools besides yum, because it costs my precious time to learn about many tools.

Version-Release number of selected component (if applicable):
$ yum info yum
Loaded plugins: priorities, refresh-packagekit
96 packages excluded due to repository priority protections
Installed Packages
Name       : yum
Arch       : noarch
Version    : 3.2.21
Release    : 2.fc10
Size       : 3.1 M
Repo       : installed
Summary    : RPM installer/updater
URL        : http://yum.baseurl.org/
License    : GPLv2+
Description: Yum is a utility that can check for and automatically download and
           : install updated RPM packages. Dependencies are obtained and
           : downloaded automatically prompting the user as necessary.



How reproducible:
execute "yum listfiles ca-certificates" and see it FAILing.

Steps to Reproduce:
1. exec yum listfiles ca-certificates
2.
3.
  
Actual results:
Yum fails because it doesn't know about this command "listfiles"

Expected results:
I expected yum to display the files the package "ca-certificates" installed.

Additional info:
I'd also appreciate if "files", "showfiles" and the like were aliased to "listfiles"

Comment 1 James Antill 2009-02-09 06:38:07 UTC
Why do you think "yum listfiles" is costs less time to learn than "repoquery --list"?

Comment 2 seth vidal 2009-02-09 16:43:11 UTC
if you want to know about what files are currently installed you can also run:

rpm -ql pkgname

if you want to know what package an installed file comes from you can run:

rpm -qf /path/to/file

Comment 3 Tobias Mueller 2009-02-12 21:09:07 UTC
Hi James,

thanks for you quick response.

I think it's rather obvious why "yum listfiles" costs less time: Because yum is the only interface to the package management for me. When I want to do anything with packages, I look at yum first. I really think this is pretty reasonable, since it already does the most important stuff. I also think/know that many other Fedora users see it the same way.

So this is an usability issue as well. The higher the hurdle to take is, the more annoying or cumbersome is it to fulfil a task. And the need to use different tools then *the* package-manager is of course a higher hurdle which takes thus more time (to learn, to use, to remember, ...). 

Getting from "yum" to "repoquery" is rather hard, because repoquery is only referenced as "See Also" in the manpage (among 10 other references). I'd love to see at least a hint like "Please use ,,repoquery'' in order to do this operation" if I do a "yum listfiles".

I am thus reopening this issue.^U
I can't reopen this issue, so please do it for me.


Note You need to log in before you can comment on or make changes to this bug.