Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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.
Comment 2RHEL Program Management
2011-04-04 01:57:35 UTC
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.