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 1293713 - yum fails to update yum and yum-cron when yum and yum-cron are installed
Summary: yum fails to update yum and yum-cron when yum and yum-cron are installed
Keywords:
Status: CLOSED DUPLICATE of bug 1293513
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: yum
Version: 7.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Valentina Mukhamedzhanova
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
: 1301862 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-22 19:24 UTC by Martin Chlumsky
Modified: 2019-12-16 05:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-19 16:24:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Martin Chlumsky 2015-12-22 19:24:42 UTC
Description of problem:

While updating yum or yum-cron individually with yum and yum-cron packages installed, yum fails. (Happens for specific versions, details below).

Version-Release number of selected component (if applicable):
yum-3.4.3-125.el7.centos.noarch
yum-cron-3.4.3-125.el7.centos.noarch

How reproducible:
Fails every time.

Steps to Reproduce:
1. Ensure you have a EL 7.x system with yum-3.4.3-125.el7.centos.noarch and yum-cron-3.4.3-125.el7.centos.noarch installed. 
2. Run: "yum update yum" or "yum update yum-cron"

Actual results:

[username@server ~]$ sudo yum update yum
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
4 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package yum.noarch 0:3.4.3-125.el7.centos will be updated
---> Package yum.noarch 0:3.4.3-132.el7.centos.0.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
 Package              Arch                    Version                                    Repository             Size
=====================================================================================================================
Updating:
 yum                  noarch                  3.4.3-132.el7.centos.0.1                   base                  1.2 M

Transaction Summary
=====================================================================================================================
Upgrade  1 Package

Total size: 1.2 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test


Transaction check error:
  file /etc/yum/yum-cron-hourly.conf from install of yum-3.4.3-132.el7.centos.0.1.noarch conflicts with file from package yum-cron-3.4.3-125.el7.centos.noarch
  file /etc/yum/yum-cron.conf from install of yum-3.4.3-132.el7.centos.0.1.noarch conflicts with file from package yum-cron-3.4.3-125.el7.centos.noarch

Error Summary
-------------


Expected results:
Yum updates yum/yum-cron succesfully.

Additional info:

While I am fully aware that this on a CentOS 7.x system, I am quite confident this problem exists in RHEL 7.x as well.

The problem can be worked around by "yum update yum yum-cron".
I think the problem could be partially fixed by replacing the requires of yum-cron (only fixes "yum update yum-cron"):
yum >= 3.4.3-84
by
yum >= 3.4.3-132

Comment 2 Valentina Mukhamedzhanova 2016-02-18 16:46:55 UTC
*** Bug 1301862 has been marked as a duplicate of this bug. ***

Comment 3 Valentina Mukhamedzhanova 2016-02-19 16:24:09 UTC
These yum-cron config files shouldn't be owned by yum, we will fix this in bug 1293513.

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


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