I am having trouble while installing rsyslog. I am using ubuntu 16.04 LTS server.
$ sudo apt install rsyslog This is how it ends, Setting up rsyslog (8.27.0-0adiscon4xenial1) ... Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd A dependency job for rsyslog.service failed. See 'journalctl -xe' for details. invoke-rc.d: initscript rsyslog, action "start" failed. ● rsyslog.service - System Logging Service Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled) Active: inactive (dead) since Thu 2017-07-06 13:00:49 IST; 6min ago Docs: man:rsyslogd(8) http://www.rsyslog.com/doc/ Main PID: 14098 (code=exited, status=0/SUCCESS) Jul 06 12:59:45 server16.04 systemd[1]: Starting System Logging Service... Jul 06 12:59:45 server16.04 systemd[1]: Dependency failed for System Logging Service. Jul 06 12:59:45 server16.04 systemd[1]: rsyslog.service: Job rsyslog.service/start failed with result 'dependency'. Jul 06 13:00:49 server16.04 systemd[1]: Stopping System Logging Service... Jul 06 13:00:49 server16.04 systemd[1]: Stopped System Logging Service. Jul 06 13:07:17 server16.04 systemd[1]: Dependency failed for System Logging Service. Jul 06 13:07:17 server16.04 systemd[1]: rsyslog.service: Job rsyslog.service/start failed with result 'dependency'. dpkg: error processing package rsyslog (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: rsyslog E: Sub-process /usr/bin/dpkg returned an error code (1) I tried solving this by these questions, https://askubuntu.com/questions/489195/package-rsyslog-is-not-configured-yet https://serverfault.com/questions/751494/rsyslog-upgrade-fails-sub-process-usr-bin-dpkg-returned-an-error-code-1 But none of them solved my problem. What is the issure here ? and the solution also. -- View this message in context: http://rsyslog-users.1305293.n2.nabble.com/Trouble-having-installing-rsyslog-tp7592533.html Sent from the rsyslog-users mailing list archive at Nabble.com. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.