--------------------------------------------------
From: "Jean Raby" <jr...@inverse.ca>
Sent: Tuesday, July 02, 2013 11:50 PM
To: <users@sogo.nu>
Subject: Re: [SOGo] dpkg error while processing sogo-package (2.0.6b)

On 13-07-02 11:06 AM, Davor Vusir wrote:
New install. No go. No ideas.
Regards
Davor
---
root@mail:~# apt-get install sogo sope4.9-gdl1-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
sope4.9-gdl1-mysql is already the newest version.
new install, yet sope4.9-gdl1-mysql is already installed?

Suggested packages:
   nginx
The following NEW packages will be installed:
   sogo
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3,954 kB of archives.
After this operation, 12.9 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 69845 files and directories currently installed.)
Unpacking sogo (from .../sogo_2.0.6b-1_amd64.deb) ...
install: invalid group `sogo'
somehow the sogo group wasn't created.  The code is pretty simple:

if [ "$1" == "install" ] || [ "$1" == "upgrade" ]; then

  if ! id sogo 1> /dev/null 2>&1; then
    groupadd -f -r sogo
useradd -d /var/lib/sogo -g sogo -c "SOGo daemon" -s /usr/sbin/nologin -r sogo
  fi

...

The sogo user exists and the sogo group doesn't. create it and it should just work. On new installs, it should work since the sogo user won't exist.



It turns out that compiling Samba4 and activating Winbind (using instructions from https://wiki.samba.org/index.php/Samba4/Winbind and http://iabsis.com/EN/article/35-2/Samba4-installation) before installing SOGo triggers the above error.


--
users@sogo.nu
https://inverse.ca/sogo/lists

--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to