Red Hat Bugzilla – Bug 848127
get-requires glibc says something about removing yum..
Last modified: 2014-06-13 05:17:54 EDT
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 [=========================]
Getting information [=========================]
Resolving dependencies [= ] (5%) echo $?
Fatal error: Trying to remove "yum", which is protected
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.execute pkcon get-requires glibc
trying to remove yum which is rpotected error
no errror and correct requires shown
Author: Richard Hughes <email@example.com>
Date: Tue May 7 20:43:25 2013 +0100
yum: Ignore errors when removing packages to work out the requires list
Fix Verified with Build RHEL-7.0-20131115.2 x86_64 PackageKit-0.8.9-8.el7
Testcase added to TCMS.
pkcon get-requires glibc does not error and produces correct results.
pkcon get requires for other packages working as expected.
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.