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 1041572 - 'yum clean all' breaks subsequent 'yum remove'
Summary: 'yum clean all' breaks subsequent 'yum remove'
Keywords:
Status: CLOSED DUPLICATE of bug 1021400
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rh-amazon-rhui-client
Version: 6.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: dgao
QA Contact: Ina Panova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 17:45 UTC by John Matthews
Modified: 2013-12-12 18:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-12 18:00:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description John Matthews 2013-12-12 17:45:45 UTC
Description of problem:
This was seen testing RHS 2.1 AMI, yet we believe it may be generic to all AMIs.

The problem is that performing a yum clean all is impacting something with the rhui-lb yum plugin.  

"yum remove" is broken, until we perform a yum operation that fetches metadata, "yum repolist" is sufficient to restore functionality.


Additional info:
[root@ip-10-144-15-250 ~]# yum clean all
Loaded plugins: amazon-id, rhui-lb, security
Cleaning repos: rhui-REGION-client-config-server-6 rhui-REGION-rhel-server-releases rhui-REGION-rhel-server-releases-optional
Cleaning up Everything
[root@ip-10-144-15-250 ~]# yum remove rh-amazon-rhui-client
Loaded plugins: amazon-id, rhui-lb, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package rh-amazon-rhui-client.noarch 0:2.2.86-1.el6_4 will be erased
--> Finished Dependency Resolution
Could not retrieve mirrorlist https://rhui2-cds01.REGION.aws.ce.redhat.com/pulp/mirror/rhui-client-config/rhel/server/6/x86_64/os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'rhui2-cds01.REGION.aws.ce.redhat.com'"
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-REGION-client-config-server-6. Please verify its path and try again
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@ip-10-144-15-250 ~]# yum repolist
Loaded plugins: amazon-id, rhui-lb, security
rhui-REGION-client-config-server-6                                                                                                                                                   | 2.6 kB     00:00     
rhui-REGION-client-config-server-6/primary_db                                                                                                                                        | 5.2 kB     00:00     
rhui-REGION-rhel-server-releases                                                                                                                                                     | 3.7 kB     00:00     
rhui-REGION-rhel-server-releases/primary_db                                                                                                                                          |  24 MB     00:00     
rhui-REGION-rhel-server-releases-optional                                                                                                                                            | 3.5 kB     00:00     
rhui-REGION-rhel-server-releases-optional/primary_db                                                                                                                                 | 2.6 MB     00:00     
repo id                                                                                 repo name                                                                                                     status
rhui-REGION-client-config-server-6                                                      Red Hat Update Infrastructure 2.0 Client Configuration Server 6                                                    5
rhui-REGION-rhel-server-releases                                                        Red Hat Enterprise Linux Server 6 (RPMs)                                                                      11,989
rhui-REGION-rhel-server-releases-optional                                               Red Hat Enterprise Linux Server 6 Optional (RPMs)                                                              6,843
repolist: 18,837
[root@ip-10-144-15-250 ~]# yum remove rh-amazon-rhui-client
Loaded plugins: amazon-id, rhui-lb, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package rh-amazon-rhui-client.noarch 0:2.2.86-1.el6_4 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================
 Package                                              Arch                                  Version                                       Repository                                                   Size
============================================================================================================================================================================================================
Removing:
 rh-amazon-rhui-client                                noarch                                2.2.86-1.el6_4                                @koji-override-1/$releasever                                 46 k

Transaction Summary
============================================================================================================================================================================================================
Remove        1 Package(s)

Installed size: 46 k
Is this ok [y/N]: n
Exiting on user Command

Comment 1 John Matthews 2013-12-12 18:00:01 UTC

*** This bug has been marked as a duplicate of bug 1021400 ***


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