This happened when I installed the following packages together after
ClamAV with the following command from terminal:

"sudo apt-get install amavisd-new clamav-milter  mimedefang" (without
quotes)


And this was the bug:

sudo apt-get install amavisd-new clamav-milter  mimedefangLeyendo lista de 
paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
Se instalarán los siguientes paquetes adicionales:
  libberkeleydb-perl libconvert-binhex-perl libconvert-tnef-perl
  libconvert-uulib-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl
  liberror-perl libio-multiplex-perl libio-stringy-perl libmail-dkim-perl
  libmilter1.0.1 libmime-tools-perl libnet-cidr-perl libnet-server-perl
  libunix-syslog-perl pax
Paquetes sugeridos:
  apt-listchanges arj dspam lhasa libdbi-perl libnet-ldap-perl libsnmp-perl
  libzeromq-perl lzop nomarch p7zip rpm spamassassin altermime ripole
  clamav-docs daemon liblog-log4perl-perl libmail-spamassassin-perl sanitizer
  wv graphdefang sendmail | postfix
Paquetes recomendados:
  libnet-patricial-perl
Se instalarán los siguientes paquetes NUEVOS:
  amavisd-new clamav-milter libberkeleydb-perl libconvert-binhex-perl
  libconvert-tnef-perl libconvert-uulib-perl libcrypt-openssl-bignum-perl
  libcrypt-openssl-rsa-perl liberror-perl libio-multiplex-perl
  libio-stringy-perl libmail-dkim-perl libmilter1.0.1 libmime-tools-perl
  libnet-cidr-perl libnet-server-perl libunix-syslog-perl mimedefang pax
0 actualizados, 19 nuevos se instalarán, 0 para eliminar y 0 no actualizados.
Se necesita descargar 2.046 kB de archivos.
Se utilizarán 7.509 kB de espacio de disco adicional después de esta operación.
¿Desea continuar? [S/n] S
Des:1 http://cl.archive.ubuntu.com/ubuntu xenial/main amd64 libberkeleydb-perl 
amd64 0.55-1build1 [109 kB]
Des:2 http://cl.archive.ubuntu.com/ubuntu xenial/main amd64 
libconvert-binhex-perl all 1.125-1 [29,7 kB]
Des:3 http://cl.archive.ubuntu.com/ubuntu xenial/main amd64 libio-stringy-perl 
all 2.110-5 [93,5 kB]
Des:4 http://cl.archive.ubuntu.com/ubuntu xenial/main amd64 libmime-tools-perl 
all 5.507-1 [207 kB]
Des:5 http://cl.archive.ubuntu.com/ubuntu xenial/main amd64 
libconvert-tnef-perl all 0.18-1 [19,7 kB]
Des:6 http://cl.archive.ubuntu.com/ubuntu xenial/main amd64 
libconvert-uulib-perl amd64 1:1.4~dfsg-1build5 [88,9 kB]
Des:7 http://cl.archive.ubuntu.com/ubuntu xenial/main amd64 
libcrypt-openssl-bignum-perl amd64 0.06-1build1 [24,2 kB]
Des:8 http://cl.archive.ubuntu.com/ubuntu xenial/main amd64 
libcrypt-openssl-rsa-perl amd64 0.28-2build2 [20,8 kB]
Des:9 http://cl.archive.ubuntu.com/ubuntu xenial/main amd64 liberror-perl all 
0.17-1.2 [19,6 kB]
Des:10 http://cl.archive.ubuntu.com/ubuntu xenial/main amd64 
libio-multiplex-perl all 1.16-1 [20,5 kB]
Des:11 http://cl.archive.ubuntu.com/ubuntu xenial/main amd64 libmail-dkim-perl 
all 0.40-1 [117 kB]
Des:12 http://cl.archive.ubuntu.com/ubuntu xenial/main amd64 libnet-cidr-perl 
all 0.17-1 [14,8 kB]
Des:13 http://cl.archive.ubuntu.com/ubuntu xenial/main amd64 libnet-server-perl 
all 2.008-2 [180 kB]
Des:14 http://cl.archive.ubuntu.com/ubuntu xenial/main amd64 
libunix-syslog-perl amd64 1.1-2build7 [21,6 kB]
Des:15 http://cl.archive.ubuntu.com/ubuntu xenial/main amd64 pax amd64 
1:20151013-1 [78,8 kB]
Des:16 http://cl.archive.ubuntu.com/ubuntu xenial/main amd64 amavisd-new all 
1:2.10.1-2ubuntu1 [624 kB]
Des:17 http://cl.archive.ubuntu.com/ubuntu xenial/universe amd64 libmilter1.0.1 
amd64 8.15.2-3 [38,8 kB]
Des:18 http://cl.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 
clamav-milter amd64 0.99.2+dfsg-0ubuntu0.16.04.1 [143 kB]
Des:19 http://cl.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 
mimedefang amd64 2.78-1ubuntu1.1 [196 kB]
Descargados 2.046 kB en 2s (950 kB/s)
Preconfigurando paquetes ...
Seleccionando el paquete libberkeleydb-perl previamente no seleccionado.
(Leyendo la base de datos ... 227323 ficheros o directorios instalados 
actualmente.)
Preparando para desempaquetar .../libberkeleydb-perl_0.55-1build1_amd64.deb ...
Desempaquetando libberkeleydb-perl (0.55-1build1) ...
Seleccionando el paquete libconvert-binhex-perl previamente no seleccionado.
Preparando para desempaquetar .../libconvert-binhex-perl_1.125-1_all.deb ...
Desempaquetando libconvert-binhex-perl (1.125-1) ...
Seleccionando el paquete libio-stringy-perl previamente no seleccionado.
Preparando para desempaquetar .../libio-stringy-perl_2.110-5_all.deb ...
Desempaquetando libio-stringy-perl (2.110-5) ...
Seleccionando el paquete libmime-tools-perl previamente no seleccionado.
Preparando para desempaquetar .../libmime-tools-perl_5.507-1_all.deb ...
Desempaquetando libmime-tools-perl (5.507-1) ...
Seleccionando el paquete libconvert-tnef-perl previamente no seleccionado.
Preparando para desempaquetar .../libconvert-tnef-perl_0.18-1_all.deb ...
Desempaquetando libconvert-tnef-perl (0.18-1) ...
Seleccionando el paquete libconvert-uulib-perl previamente no seleccionado.
Preparando para desempaquetar 
.../libconvert-uulib-perl_1%3a1.4~dfsg-1build5_amd64.deb ...
Desempaquetando libconvert-uulib-perl (1:1.4~dfsg-1build5) ...
Seleccionando el paquete libcrypt-openssl-bignum-perl previamente no 
seleccionado.
Preparando para desempaquetar 
.../libcrypt-openssl-bignum-perl_0.06-1build1_amd64.deb ...
Desempaquetando libcrypt-openssl-bignum-perl (0.06-1build1) ...
Seleccionando el paquete libcrypt-openssl-rsa-perl previamente no seleccionado.
Preparando para desempaquetar 
.../libcrypt-openssl-rsa-perl_0.28-2build2_amd64.deb ...
Desempaquetando libcrypt-openssl-rsa-perl (0.28-2build2) ...
Seleccionando el paquete liberror-perl previamente no seleccionado.
Preparando para desempaquetar .../liberror-perl_0.17-1.2_all.deb ...
Desempaquetando liberror-perl (0.17-1.2) ...
Seleccionando el paquete libio-multiplex-perl previamente no seleccionado.
Preparando para desempaquetar .../libio-multiplex-perl_1.16-1_all.deb ...
Desempaquetando libio-multiplex-perl (1.16-1) ...
Seleccionando el paquete libmail-dkim-perl previamente no seleccionado.
Preparando para desempaquetar .../libmail-dkim-perl_0.40-1_all.deb ...
Desempaquetando libmail-dkim-perl (0.40-1) ...
Seleccionando el paquete libnet-cidr-perl previamente no seleccionado.
Preparando para desempaquetar .../libnet-cidr-perl_0.17-1_all.deb ...
Desempaquetando libnet-cidr-perl (0.17-1) ...
Seleccionando el paquete libnet-server-perl previamente no seleccionado.
Preparando para desempaquetar .../libnet-server-perl_2.008-2_all.deb ...
Desempaquetando libnet-server-perl (2.008-2) ...
Seleccionando el paquete libunix-syslog-perl previamente no seleccionado.
Preparando para desempaquetar .../libunix-syslog-perl_1.1-2build7_amd64.deb ...
Desempaquetando libunix-syslog-perl (1.1-2build7) ...
Seleccionando el paquete pax previamente no seleccionado.
Preparando para desempaquetar .../pax_1%3a20151013-1_amd64.deb ...
Desempaquetando pax (1:20151013-1) ...
Seleccionando el paquete amavisd-new previamente no seleccionado.
Preparando para desempaquetar .../amavisd-new_1%3a2.10.1-2ubuntu1_all.deb ...
Desempaquetando amavisd-new (1:2.10.1-2ubuntu1) ...
Seleccionando el paquete libmilter1.0.1:amd64 previamente no seleccionado.
Preparando para desempaquetar .../libmilter1.0.1_8.15.2-3_amd64.deb ...
Desempaquetando libmilter1.0.1:amd64 (8.15.2-3) ...
Seleccionando el paquete clamav-milter previamente no seleccionado.
Preparando para desempaquetar 
.../clamav-milter_0.99.2+dfsg-0ubuntu0.16.04.1_amd64.deb ...
Desempaquetando clamav-milter (0.99.2+dfsg-0ubuntu0.16.04.1) ...
Seleccionando el paquete mimedefang previamente no seleccionado.
Preparando para desempaquetar .../mimedefang_2.78-1ubuntu1.1_amd64.deb ...
Desempaquetando mimedefang (2.78-1ubuntu1.1) ...
Procesando disparadores para man-db (2.7.5-1) ...
Procesando disparadores para doc-base (0.10.7) ...
Procesando 1 archivo doc-base añadido...
Registrando documentos con scrollkeeper...
Procesando disparadores para systemd (229-4ubuntu17) ...
Procesando disparadores para ureadahead (0.100.0-19) ...
Procesando disparadores para libc-bin (2.23-0ubuntu7) ...
Configurando libberkeleydb-perl (0.55-1build1) ...
Configurando libconvert-binhex-perl (1.125-1) ...
Configurando libio-stringy-perl (2.110-5) ...
Configurando libmime-tools-perl (5.507-1) ...
Configurando libconvert-tnef-perl (0.18-1) ...
Configurando libconvert-uulib-perl (1:1.4~dfsg-1build5) ...
Configurando libcrypt-openssl-bignum-perl (0.06-1build1) ...
Configurando libcrypt-openssl-rsa-perl (0.28-2build2) ...
Configurando liberror-perl (0.17-1.2) ...
Configurando libio-multiplex-perl (1.16-1) ...
Configurando libmail-dkim-perl (0.40-1) ...
Configurando libnet-cidr-perl (0.17-1) ...
Configurando libnet-server-perl (2.008-2) ...
Configurando libunix-syslog-perl (1.1-2build7) ...
Configurando pax (1:20151013-1) ...
Configurando amavisd-new (1:2.10.1-2ubuntu1) ...
Creating/updating amavis user account...
Job for amavis.service failed because the control process exited with error 
code. See "systemctl status amavis.service" and "journalctl -xe" for details.
invoke-rc.d: initscript amavis, action "start" failed.
● amavis.service - LSB: Starts amavisd-new mailfilter
   Loaded: loaded (/etc/init.d/amavis; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since vie 2017-05-05 13:14:31 CLST; 3ms 
ago
     Docs: man:systemd-sysv-generator(8)
  Process: 8199 ExecStart=/etc/init.d/amavis start (code=exited, 
status=1/FAILURE)

may 05 13:14:31 pc1 amavis[8199]:   The value of variable $myhostname is "p...en
may 05 13:14:31 pc1 amavis[8199]:   a fully qualified domain name; perhaps ...h.
may 05 13:14:31 pc1 amavis[8199]:   You must explicitly assign a FQDN of th...me
may 05 13:14:31 pc1 amavis[8199]:   in /etc/amavis/conf.d/05-node_id, or fi...'s
may 05 13:14:31 pc1 amavis[8199]:   network name!
may 05 13:14:31 pc1 amavis[8199]: (failed).
may 05 13:14:31 pc1 systemd[1]: amavis.service: Control process exited, cod...=1
may 05 13:14:31 pc1 systemd[1]: Failed to start LSB: Starts amavisd-new mai...r.
may 05 13:14:31 pc1 systemd[1]: amavis.service: Unit entered failed state.
may 05 13:14:31 pc1 systemd[1]: amavis.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error al procesar el paquete amavisd-new (--configure):
 el subproceso instalado el script post-installation devolvió el código de 
salida de error 1
Configurando libmilter1.0.1:amd64 (8.15.2-3) ...
Configurando clamav-milter (0.99.2+dfsg-0ubuntu0.16.04.1) ...
Configurando mimedefang (2.78-1ubuntu1.1) ...
Procesando disparadores para systemd (229-4ubuntu17) ...
Procesando disparadores para ureadahead (0.100.0-19) ...
Procesando disparadores para libc-bin (2.23-0ubuntu7) ...
Se encontraron errores al procesar:
 amavisd-new
E: Sub-process /usr/bin/dpkg returned an error code (1)


Then I used the command "sudo dpkg --configure -a" (without quotes) and did not 
solve the problem immediately by giving the following bug:

Configurando amavisd-new (1:2.10.1-2ubuntu1) ...
Creating/updating amavis user account...
Job for amavis.service failed because the control process exited with error 
code. See "systemctl status amavis.service" and "journalctl -xe" for details.
invoke-rc.d: initscript amavis, action "start" failed.
● amavis.service - LSB: Starts amavisd-new mailfilter
   Loaded: loaded (/etc/init.d/amavis; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since vie 2017-05-05 13:17:53 CLST; 3ms 
ago
     Docs: man:systemd-sysv-generator(8)
  Process: 9323 ExecStart=/etc/init.d/amavis start (code=exited, 
status=1/FAILURE)

may 05 13:17:53 pc1 amavis[9323]:   The value of variable $myhostname is "p...en
may 05 13:17:53 pc1 amavis[9323]:   a fully qualified domain name; perhaps ...h.
may 05 13:17:53 pc1 amavis[9323]:   You must explicitly assign a FQDN of th...me
may 05 13:17:53 pc1 amavis[9323]:   in /etc/amavis/conf.d/05-node_id, or fi...'s
may 05 13:17:53 pc1 amavis[9323]:   network name!
may 05 13:17:53 pc1 amavis[9323]: (failed).
may 05 13:17:53 pc1 systemd[1]: amavis.service: Control process exited, cod...=1
may 05 13:17:53 pc1 systemd[1]: Failed to start LSB: Starts amavisd-new mai...r.
may 05 13:17:53 pc1 systemd[1]: amavis.service: Unit entered failed state.
may 05 13:17:53 pc1 systemd[1]: amavis.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error al procesar el paquete amavisd-new (--configure):
 el subproceso instalado el script post-installation devolvió el código de 
salida de error 1
Se encontraron errores al procesar:
 amavisd-new


And in the end it was solved when uninstalling these packages with the 
following commands:

"sudo apt-get remove amavisd-new clamav-milter mimedefang" (without
quotes) and "sudo apt autoremove"(without quotes), then it was necessary
to use "sudo dpkg --configure -a" (without quotes) again and solved.

Kind regards. :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613535

Title:
  postinst failures: amavis.service start failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1613535/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to