Hide Forgot
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
*** Bug 1301862 has been marked as a duplicate of this bug. ***
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 ***