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.
Bug 848127 - get-requires glibc says something about removing yum..
Summary: get-requires glibc says something about removing yum..
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: PackageKit
Version: 7.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: beta
: 7.0
Assignee: Richard Hughes
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 848128
TreeView+ depends on / blocked
 
Reported: 2012-08-14 17:36 UTC by Vladimir Benes
Modified: 2014-06-13 09:17 UTC (History)
3 users (show)

Fixed In Version: PackageKit-0.8.9-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 848128 (view as bug list)
Environment:
Last Closed: 2014-06-13 09:17:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vladimir Benes 2012-08-14 17:36:54 UTC
Description of problem:
when I tried to get requires for glibc I got strange error that I am trying to remove yum. This is a bit weird as I did get-requires operation and not remove.. Is it checking requires via yum remove or so? this is a bit silly, isn't it? ;-)

pkcon get-requires glibc
More than one package matches:
1. glibc-2.15-47.el7.x86_64 [installed:alpha2]
2. glibc-2.15-47.el7.i686 [alpha2]
Please choose the correct package: 1
Getting requires              [=========================]         
Waiting in queue              [=========================]         
Starting                      [=========================]         
Getting information           [=========================]         
Resolving dependencies        [=                        ] (5%)  echo $?
                              [=========================]         
Fatal error: Trying to remove "yum", which is protected


Version-Release number of selected component (if applicable):
PackageKit-0.7.4-5.el7.x86_64

How reproducible:


Steps to Reproduce:
1.execute pkcon get-requires glibc

Actual results:
trying to remove yum which is rpotected error

Expected results:
no errror and correct requires shown

Additional info:

Comment 2 Richard Hughes 2013-05-07 19:43:58 UTC
commit 14a554cbdd1eb20766b84c5e83bdf26ab55e3c43
Author: Richard Hughes <richard>
Date:   Tue May 7 20:43:25 2013 +0100

    yum: Ignore errors when removing packages to work out the requires list
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=848127

Comment 3 smatula 2013-11-20 16:55:23 UTC
Fix Verified with Build RHEL-7.0-20131115.2 x86_64 PackageKit-0.8.9-8.el7
Testcase added to TCMS.

https://tcms.engineering.redhat.com/case/169626/?from_plan=6307

pkcon get-requires glibc does not error and produces correct results.
pkcon get requires for other packages working as expected.

Comment 4 Ludek Smid 2014-06-13 09:17:54 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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