Estou tentando instalar o exim4 e aqui está a saída do comando sudo apt-get install exim4
Reading package lists... Done
Building dependency tree
Reading state information... Done
exim4 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 60 not upgraded.
5 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 exim4-config (4.84.2-2+deb8u4) ...
Adding system-user for exim (v4)
groupadd: 'Debian-exim' is not a valid group name
adduser: '/usr/sbin/groupadd -g 115 Debian-exim' returned error code 3. Exiting.
dpkg: error processing package exim4-config (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of exim4-base:
exim4-base depends on exim4-config (>= 4.82) | exim4-config-2; however:
Package exim4-config is not configured yet.
Package exim4-config-2 is not installed.
Package exim4-config which provides exim4-config-2 is not configured yet.
dpkg: error processing package exim4-base (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of exim4-daemon-light:
exim4-daemon-light depends on exim4-base (>= 4.84.2); however:
Package exim4-base is not configured yet.
dpkg: error processing package exim4-daemon-light (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of exim4:
exim4 depends on exim4-base (>= 4.84.2-2+deb8u4); however:
Package exim4-base is not configured yet.
exim4 depends on exim4-base (<< 4.84.2-2+deb8u4.1); however:
Package exim4-base is not configured yet.
exim4 depends on exim4-daemon-light | exim4-daemon-heavy | exim4-daemon-custom; however:
Package exim4-daemon-light is not configured yet.
Package exim4-daemon-heavy is not installed.
Package exim4-daemon-custom is not installed.
dpkg: error processing package exim4 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mailutils:
mailutils depends on default-mta | mail-transport-agent; however:
Package default-mta is not installed.
Package exim4-daemon-light which provides default-mta is not configured yet.
Package mail-transport-agent is not installed.
Package exim4-daemon-light which provides mail-transport-agent is not configured yet.
dpkg: error processing package mailutils (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
exim4-config
exim4-base
exim4-daemon-light
exim4
mailutils
E: Sub-process /usr/bin/dpkg returned an error code (1)
A primeira falha é 'Debian-exim' is not a valid group name
No script /var/lib/dpkg/info/exim4-config.postinst
, encontrei o comando que gera erro:
adduser --system --group --quiet --home /var/spool/exim4 --no-create-home --disabled-login --force-badname Debian-exim
A saída deste comando é
groupadd: 'Debian-exim' is not a valid group name
adduser: '/usr/sbin/groupadd -g 115 Debian-exim' returned error code 3. Exiting.
Antes disso, eu pude instalar o Exim4 em três máquinas. Neste momento eu acho que estou fazendo tudo mesmo.
Não tenho ideia do motivo pelo qual o grupo com caractere maiúsculo não deseja ser criado com a opção --force-badname
.
Como resolver este problema e criar este grupo de sistemas?
Debian GNU/Linux 8.8 (jessie)
Atualizar
Suponho que o comando adduser --group
esteja funcionando acima de groupadd
, que não suporta a opção --force-badname
. Mas ainda não sei o que fazer com isso.