Red Hat Bugzilla – Bug 484601
yum doesn't accept listfiles as action
Last modified: 2014-01-21 18:08:16 EST
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
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.
execute "yum listfiles ca-certificates" and see it FAILing.
Steps to Reproduce:
1. exec yum listfiles ca-certificates
Yum fails because it doesn't know about this command "listfiles"
I expected yum to display the files the package "ca-certificates" installed.
I'd also appreciate if "files", "showfiles" and the like were aliased to "listfiles"
Why do you think "yum listfiles" is costs less time to learn than "repoquery --list"?
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
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.