----- "Denys Vlasenko" dvlasenk@redhat.com wrote:
So, Richard, what is this pk-debuginfo-install thing, and how it can help us here? In what ways is it different from debuginfo-install?
The main difference is that it uses PackageKit, so it:
* can be used by a non-root user * doesn't take the yum lock * integrates with other software using PackageKit * error granularity, so you don't have to parse stdout to find out why the command failed
This is the output from --help:
[hughsie@hughsie-laptop ~]$ pk-debuginfo-install --help Usage: pk-debuginfo-install [OPTION...]
PackageKit Debuginfo Installer
Help Options: -h, --help Show help options
Application Options: -v, --verbose Show extra debugging information -s, --simulate Don't actually install any packages, only simulate what would be installed -n, --no-depends Do not install dependencies of the core packages -q, --quiet Do not display information or progress
And in the man page (man pk-debuginfo-install) more details are exposed:
RETURN VALUES 0 Success, at least one package was installed 1 Failed with miscellaneous internal error. 3 Failed to get software sources list. 4 Failed to enable software sources. 5 Failed as nothing to do. 6 Failed to find dependant packages. 7 Failed to install. 8 Failed to disable software sources.
But it's pretty much a drop in replacement for debuginfo-install from an end-user perspective.
Richard.