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:


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.