4

Since the migration to Ubuntu 15.04 both journald and rsyslog are installed and running. I'm wondering if this is by design or if rsyslog might not have been uninstalled by accident?

Can I uninstall rsyslog without problems or should I take precautions?

Mausy5043
  • 760

1 Answers1

6

UPDATE AS OF 18.04:

As of 18.04, there doesn't seem to be any real dependencies. Aside from other rsyslog specific packages, most of the dependencies listed by apt-cache rdepends rsyslog appear to be "recommends" and not actual dependencies.

Therefore, it might be safe but proceed with caution.

To assess the situation, you can do a "dry run" removal to show which packages would be removed:

sudo apt remove --dry-run rsyslog

This will not remove any packages but it will show which packages would be removed.


If you remove rsyslog, apt may install another package to replace it. This is the case when there is an "either/or" dependency for rsyslog or a similar package.

Example:

Depends: rsyslog | inetutils-syslogd

Here, either package will satisfy the dependency so if you uninstall one, the other will install automatically to satisfy the dependency.


ORIGINAL ANSWER (15.04):

journalctl is part of systemd.

Many packages depend on rsyslog and it is not recommended to uninstall it.

see:

apt-cache rdepends rsyslog
mchid
  • 44,904
  • 8
  • 102
  • 162