I'm trying to install corosync on a system that already has a user 'ais'  -
 a user that I can't overwrite or otherwise get rid of.

I'm running into the same problem as Thorsten Glaser ran into five years
ago, only I'm trying to install corosync 2.3.3-1ubuntu1, on ubuntu 14.04



$ sudo apt-get install corosync
...

Setting up corosync (2.3.3-1ubuntu1) ...
adduser: The user `ais' already exists. Exiting.
dpkg: error processing package corosync (--configure):

...


My current work-around is to go into  /var/lib/dpkg/info/corosync.postinst

and replacing all instances of ais with ais_corosync   -  then I re-run the
apt-get install;  it works and gives me a working system, but this seems
like the wrong way to do it, and I'm pretty sure I'm gonna experience
significant pain next time the corosync package is updated.

Reply via email to