Description of problem: The syslog-ng (from EPEL) and rsyslog (from CentOS 6) packages both install /etc/logrotate.d/syslog. I'm filing this here since it's a packaging file conflict, or at least some kind of conflict. If there's no conflicts/replaces so the packages can be installed on the same host (as they can), they at least should install separate files. Error Summary ------------- This causes problems for puppet 2.6.2, for one: debug: Package[syslog-ng](provider=yum): Ensuring => present debug: Puppet::Type::Package::ProviderYum: Executing '/usr/bin/yum -d 0 -e 0 -y install syslog-ng' err: /Stage[main]/Syslogng::Hera/Syslogng::Ng[ng]/Package[syslog-ng]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install syslog-ng' returned 1: Transaction Check Error: file /etc/logrotate.d/syslog from install of syslog-ng-3.2.5-2.el6.i686 conflicts with file from package rsyslog-4.6.2-2.el6.i686 But when I 'yum install syslog-ng' from the console, I get: # yum install syslog-ng Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package syslog-ng.i686 0:3.2.5-2.el6 set to be updated --> Processing Dependency: libevtlog.so.0 for package: syslog-ng-3.2.5-2.el6.i686 --> Processing Dependency: libnet.so.1 for package: syslog-ng-3.2.5-2.el6.i686 --> Running transaction check ---> Package eventlog.i686 0:0.2.12-1.el6 set to be updated ---> Package libnet.i686 0:1.1.5-1.el6 set to be updated --> Finished Dependency Resolution Dependencies Resolved ==================================================================================================================================================================================================================================================================================== Package Arch Version Repository Size ==================================================================================================================================================================================================================================================================================== Installing: syslog-ng i686 3.2.5-2.el6 epel 441 k Installing for dependencies: eventlog i686 0.2.12-1.el6 epel 17 k libnet i686 1.1.5-1.el6 epel 55 k Transaction Summary ==================================================================================================================================================================================================================================================================================== Install 3 Package(s) Upgrade 0 Package(s) Total size: 513 k Installed size: 1.6 M Is this ok [y/N]: Version-Release number of selected component (if applicable): syslog-ng-3.2.5-2.el6.i686 rsyslog-4.6.2-2.el6.i686 How reproducible: Every time. Steps to Reproduce: 1. On a fresh CentOS 6 installation, install this EPEL repo in /etc/yum.repos.d: [epel] name=Extra Packages for Enterprise Linux $releasever - $basearch baseurl=http://repos.pvt.primus.ca/epel/$releasever/$basearch enabled=1 gpgcheck=0 2. install puppet (from epel) 3) copy this manifest into somewhere useful, like /tmp/x.pp: #---------- package { 'syslog-ng': } #---------- 3. run puppet: puppet /tmp/x.pp Actual results: Can't install due to the file conflict. Expected results: One of two scenarios: a) installing syslog-ng works fine because there is no file conflict b) installing syslog-ng works fine because it replaces rsyslog on the system Additional info:
*** This bug has been marked as a duplicate of bug 767761 ***