apt-get hang at Rsyslog

Run ps afx|grep rsyslog in a different console, then:

  1. If there are traces of rsyslogd running, probably in <defunct> state, this is a bug in the upstart scripts incompatibility which has been fixed. Simply stop rsyslog, upgrade to the recent version (dpkg -r --ignore-depends rsyslog rsyslog && aptitude update && aptitude upgrade rsyslog).

  2. If there are no traces of rsyslogd running, and the only related process that hangs is start rsyslog, you need to reboot (and then perhaps continue with step 1).