rsyslog not fully installed

Asked by Michael Hipp on 2013-04-04

When doing a routine apt-get update && apt-get upgrade I get this:

root@esther:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up rsyslog (5.8.6-1ubuntu8.1) ...
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
ERROR: User name does not exist.
********* simple selection ********* ********* selection by list *********
-A all processes -C by command name
-N negate selection -G by real group ID (supports names)
-a all w/ tty except session leaders -U by real user ID (supports names)
-d all except session leaders -g by session OR by effective group name
-e all processes -p by process ID
T all processes on this terminal -s processes in the sessions given
a all w/ tty, including other users -t by tty
g OBSOLETE -- DO NOT USE -u by effective user ID (supports names)
r only running processes U processes for specified users
x processes w/o controlling ttys t by tty
*********** output format ********** *********** long options ***********
-o,o user-defined -f full --Group --User --pid --cols --ppid
-j,j job control s signal --group --user --sid --rows --info
-O,O preloaded -o v virtual memory --cumulative --format --deselect
-l,l long u user-oriented --sort --tty --forest --version
-F extra full X registers --heading --no-heading --context
                    ********* misc options *********
-V,V show version L list format codes f ASCII art forest
-m,m,-L,-T,H threads S children in sum -y change -l format
-M,Z security data c true command name -c scheduling class
-w,w wide output n numeric WCHAN,UID -H process hierarchy
ERROR: User name does not exist.
********* simple selection ********* ********* selection by list *********
-A all processes -C by command name
-N negate selection -G by real group ID (supports names)
-a all w/ tty except session leaders -U by real user ID (supports names)
-d all except session leaders -g by session OR by effective group name
-e all processes -p by process ID
T all processes on this terminal -s processes in the sessions given
a all w/ tty, including other users -t by tty
g OBSOLETE -- DO NOT USE -u by effective user ID (supports names)
r only running processes U processes for specified users
x processes w/o controlling ttys t by tty
*********** output format ********** *********** long options ***********
-o,o user-defined -f full --Group --User --pid --cols --ppid
-j,j job control s signal --group --user --sid --rows --info
-O,O preloaded -o v virtual memory --cumulative --format --deselect
-l,l long u user-oriented --sort --tty --forest --version
-F extra full X registers --heading --no-heading --context
                    ********* misc options *********
-V,V show version L list format codes f ASCII art forest
-m,m,-L,-T,H threads S children in sum -y change -l format
-M,Z security data c true command name -c scheduling class
-w,w wide output n numeric WCHAN,UID -H process hierarchy
Kill:
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
invoke-rc.d: initscript rsyslog, action "restart" failed.
dpkg: error processing rsyslog (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 rsyslog
E: Sub-process /usr/bin/dpkg returned an error code (1)

Tried a number of "repair" commands such as:
  dpkg --configure -a
  dpkg --purge rsyslog
  apt-get --reinstall install rsyslog
  apt-get clean
with no change.

I looked at
https://answers.launchpad.net/ubuntu/+source/rsyslog/+question/95653
https://answers.launchpad.net/ubuntu/+source/rsyslog/+question/213957
but these did not seem to be the same nor was there a solution presented.

I thought to remove and reinstall rsyslog, but it wants to also remove ubuntu-minimal which sounds dangerous.

Anyone know how to get rsyslog properly installed?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu rsyslog Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2013-04-04
Last query:
2013-04-04
Last reply:
2013-04-04
Michael Hipp (michael-hipp) said : #1

Forgot to mention this is ubuntu-server 12.04.2 LTS (GNU/Linux 3.2.0-39-generic-pae i686)

Try running it as your user and use sudo, you'll probably find it works ok

Michael Hipp (michael-hipp) said : #3

Thanks actionparsnip, that solved my question.