Hide Forgot
Description of problem: $ pkcon get-requires bash More than one package matches: 1. bash-4.1.2-8.el6.x86_64 [installed] 2. bash-4.1.2-8.el6.i686 [rhel-latest-32b] Please choose the correct package: 1 Getting requires [=========================] Starting [=========================] Getting information [=========================] Resolving dependencies [=========================] The transaction failed: dep-resolution-failed, Trying to remove "yum", which is protected But $ pkcon get-requires gnome-panel More than one package matches: 1. gnome-panel-2.30.2-14.el6.x86_64 [installed] 2. gnome-panel-2.30.2-14.el6.i686 [rhel-latest-32b] Please choose the correct package: 1 Getting requires [=========================] Starting [=========================] Resolving dependencies [=========================] Installed gnome-applets-1:2.28.0-7.el6.x86_64 Small applications for the GNOME panel Version-Release number of selected component (if applicable): PackageKit-0.5.8-19.el6 I'm confused, is the firs output correct? How reproducible: 100% Steps to Reproduce: 1. "pkcon get-requires bash" and many other packages 2. 3. Actual results: Expected results: Additional info:
OK get this issue working (package have to be installed), but one question: Does PK query repository when getting requires. If yes there should be no such error if queried package is not installed, right? I would say we can close this as NOTABUG.
Since RHEL 6.1 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
(In reply to comment #1) > Does PK query repository when getting requires. If yes there should be no such > error if queried package is not installed, right? No. We used to, but yum exploded if we got the requires of a requires of a requires (* a few more) so we had to resort to "If I removed the package, what else would be removed" Obviously, we need to ignore the system packages when we do this simulation, or fix yum not to explode. Richard.
Thanks Richard, closing as NOTABUG.