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 1021400 - 'yum remove' before 'yum repolist' fails
Summary: 'yum remove' before 'yum repolist' fails
Keywords:
Status: CLOSED CURRENTRELEASE
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:
: 1041572 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-21 08:58 UTC by Vitaly Kuznetsov
Modified: 2016-08-23 20:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-23 20:09:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vitaly Kuznetsov 2013-10-21 08:58:24 UTC
Description of problem:
If you run 'yum remove <package>' before doing 'yum repolist' on freshly booted instance the following error will occur:
# yum remove perl-devel
Loaded plugins: amazon-id, rhui-lb, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package perl-devel.x86_64 4:5.10.1-136.el6 will be erased
--> Processing Dependency: perl-devel for package: 1:perl-ExtUtils-CBuilder-0.27-136.el6.x86_64
--> Processing Dependency: perl-devel for package: perl-ExtUtils-Embed-1.28-136.el6.x86_64
--> Processing Dependency: perl-devel = 4:5.10.1-136.el6 for package: perl-core-5.10.1-136.el6.x86_64
--> Processing Dependency: perl-devel for package: perl-ExtUtils-MakeMaker-6.55-136.el6.x86_64
--> Processing Dependency: perl-devel for package: 1:perl-ExtUtils-ParseXS-2.2003.0-136.el6.x86_64
--> Processing Dependency: perl-devel for package: perl-Test-Harness-3.17-136.el6.x86_64
--> Processing Dependency: perl-devel for package: perl-Test-Simple-0.92-136.el6.x86_64
--> Running transaction check
---> Package perl-ExtUtils-CBuilder.x86_64 1:0.27-136.el6 will be erased
--> Processing Dependency: perl(ExtUtils::CBuilder) >= 0.15 for package: 1:perl-Module-Build-0.3500-136.el6.x86_64
---> Package perl-ExtUtils-Embed.x86_64 0:1.28-136.el6 will be erased
---> Package perl-ExtUtils-MakeMaker.x86_64 0:6.55-136.el6 will be erased
--> Processing Dependency: perl(ExtUtils::MakeMaker) for package: perl-CPAN-1.9402-136.el6.x86_64
--> Processing Dependency: perl(ExtUtils::MakeMaker) for package: 1:perl-IPC-Cmd-0.56-136.el6.x86_64
--> Processing Dependency: perl-ExtUtils-MakeMaker for package: redhat-lsb-core-4.0-7.el6.x86_64
---> Package perl-ExtUtils-ParseXS.x86_64 1:2.2003.0-136.el6 will be erased
---> Package perl-Test-Harness.x86_64 0:3.17-136.el6 will be erased
---> Package perl-Test-Simple.x86_64 0:0.92-136.el6 will be erased
---> Package perl-core.x86_64 0:5.10.1-136.el6 will be erased
--> Running transaction check
---> Package perl-CPAN.x86_64 0:1.9402-136.el6 will be erased
---> Package perl-IPC-Cmd.x86_64 1:0.56-136.el6 will be erased
--> Processing Dependency: perl(IPC::Cmd) for package: perl-File-Fetch-0.26-136.el6.x86_64
--> Processing Dependency: perl(IPC::Cmd) >= 0.36 for package: perl-File-Fetch-0.26-136.el6.x86_64
--> Processing Dependency: perl(IPC::Cmd) for package: perl-CPANPLUS-0.88-136.el6.x86_64
--> Processing Dependency: perl(IPC::Cmd) for package: 1:perl-Archive-Extract-0.38-136.el6.x86_64
---> Package perl-Module-Build.x86_64 1:0.3500-136.el6 will be erased
---> Package redhat-lsb-core.x86_64 0:4.0-7.el6 will be erased
--> Processing Dependency: redhat-lsb-core for package: libcgroup-0.40.rc1-2.el6.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.0 for package: redhat-lsb-printing-4.0-7.el6.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.0-7.el6 for package: redhat-lsb-4.0-7.el6.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.0 for package: redhat-lsb-graphics-4.0-7.el6.x86_64
--> Running transaction check
---> Package libcgroup.x86_64 0:0.40.rc1-2.el6 will be erased
--> Processing Dependency: libcgroup for package: numad-0.5-9.20130814git.el6.x86_64
--> Processing Dependency: libcgroup for package: policycoreutils-python-2.0.83-19.37.el6.x86_64
---> Package perl-Archive-Extract.x86_64 1:0.38-136.el6 will be erased
---> Package perl-CPANPLUS.x86_64 0:0.88-136.el6 will be erased
---> Package perl-File-Fetch.x86_64 0:0.26-136.el6 will be erased
---> Package redhat-lsb.x86_64 0:4.0-7.el6 will be erased
--> Processing Dependency: redhat-lsb(x86-64) = 4.0-7.el6 for package: redhat-lsb-compat-4.0-7.el6.x86_64
---> Package redhat-lsb-graphics.x86_64 0:4.0-7.el6 will be erased
---> Package redhat-lsb-printing.x86_64 0:4.0-7.el6 will be erased
--> Running transaction check
---> Package numad.x86_64 0:0.5-9.20130814git.el6 will be erased
---> Package policycoreutils-python.x86_64 0:2.0.83-19.37.el6 will be erased
--> Processing Dependency: policycoreutils-python for package: cloud-init-0.7.1-2.el6.noarch
---> Package redhat-lsb-compat.x86_64 0:4.0-7.el6 will be erased
--> Running transaction check
---> Package cloud-init.noarch 0:0.7.1-2.el6 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

Version-Release number of selected component (if applicable):
rh-amazon-rhui-client-2.2.92-1.el6_4.noarch

How reproducible:
always

Steps to Reproduce:
1. Start new instance
2. Do 'yum remove package'

Actual results:
Error message

Expected results:
Package is removed

Additional info:

Comment 2 John Matthews 2013-12-12 18:00:01 UTC
*** Bug 1041572 has been marked as a duplicate of this bug. ***


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