Bug 421391 - rsyslog and syslog-ng prevent "yum updates"
Summary: rsyslog and syslog-ng prevent "yum updates"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rsyslog
Version: 8
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-12 13:32 UTC by Greg Morgan
Modified: 2015-07-21 13:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-12-18 10:26:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1244467 0 unspecified CLOSED dnf upgrade produces conflict messages relating to rsyslogd/syslog-ng 2021-02-22 00:41:40 UTC

Internal Links: 1244467

Description Greg Morgan 2007-12-12 13:32:25 UTC
Description of problem:
It is known that rsyslog will be the preferred logging tool in f8
http://lwn.net/Articles/242137/  When I performed a "yum update"
I receive "Error: rsyslog conflicts with syslog-ng"  The yum list rsyslog
syslog-ng shows that the syslog-ng package was installed somehow.  I am guessing
 that
1.) some package has a dependency on syslog-ng because I don't recall asking for it.
2.) Perhaps using the alternatives configuration tool would help make these two
packages co-exist.  Preference could co to the rsyslog package.

Version-Release number of selected component (if applicable):
yum list rsyslog syslog-ng
Installed Packages
rsyslog.i386                             1.19.10-1.fc8          installed       
syslog-ng.i386                           2.0.5-1.fc8            installed       
Available Packages
rsyslog.i386                             1.19.11-1.fc8          updates  


How reproducible:
There have been several reports http://fedoraforum.org/forum/showthread.php?t=174349
http://www.nabble.com/yum-dependencies:--rsyslog-versus-syslog-ng-td14262351.html


Steps to Reproduce:
1. Perform an update of the system around 12/10/2007
2. yum update
3.
  
Actual results:
No update performed.  Receive 
Error: rsyslog conflicts with syslog-ng

Expected results:
A clean update.

Additional info:

The work around is to use
yum update --exclude=rsyslog --exclude=syslog-ng
But if the updates are security updates, for either of these packages, then this
is not a good solution but it will update all the rest of the system.

After having more time to research the solution a better fix is to 
1.)  yum remove syslog-ng
...
Transaction Test Succeeded
Running Transaction
  Erasing   : syslog-ng                    ######################### [1/1] 

Removed: syslog-ng.i386 0:2.0.5-1.fc8
Complete!
...

2.)  yum update
...
Transaction Test Succeeded
Running Transaction
  Updating  : rsyslog                      ######################### [1/2] 
  Cleanup   : rsyslog                      ######################### [2/2] 

Updated: rsyslog.i386 0:1.19.11-1.fc8
Complete!

3.) yum list rsyslog syslog-ng
Installed Packages
rsyslog.i386                             1.19.11-1.fc8          installed       
Available Packages
syslog-ng.i386                           2.0.5-1.fc8            fedora

Comment 1 Peter Vrabec 2007-12-18 10:26:44 UTC
hi, 
we decided to use use conflicts directive in rsyslog/syslog-ng because it 
makes troubles when both packages were installed. User can choose which one he 
wants to use. Your workaround is actually the right way, how to do it.



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