Unknown user in statoverride file
Posted: June 16, 2009 | By: TJ | In Technology | No comments yet
When trying to install a new package dependency (flex) for Monit 5, I ran into this error:
dpkg: unknown group 'munin' in statoverride file E: Sub-process /usr/bin/dpkg returned an error code (2)
I recognized the munin user from a previous munin install. Since I had already purged the Munin package, I simply removed all references of the munin user from the statoverride file in /var/lib/dpkg/statoverride. I also checked other munin references by using grep:
$ grep -ril 'munin' /var/lib/*
Once all Munin references were removed, I was able to install flex successfully.






There is a sync request for Monit here:
https://bugs.edge.launchpad.net/ubuntu/+source/monit/+bug/426402
If you can help completing it according to the process linked, it woud increase chances monit install is easier in Ubuntu 10.04.