O subprocesso / usr / bin / dpkg retornou um código de erro (1): instalação de mailutils

0

Estou instalando o mailutils no Ubuntu (16.04). Eu estou tendo o problema abaixo. Deixe-me saber a solução. Desde já, obrigado !

arquivo main.cf:

root@ubuntu:/etc/postfix# cat main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = ubuntu..name
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = $myhostname, ubuntu_azar, ubuntu, localhost.localdomain, localhost
relayhost = [smtp.gmail.com]:587 
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all

Erro de instalação:

root@ubuntu:/etc/postfix# sudo apt-get install mailutils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libgsasl7 libkyotocabinet16v5 libmailutils4 libmysqlclient20 libntlm0
  mailutils-common mysql-common
Suggested packages:
  mailutils-mh mailutils-doc
The following NEW packages will be installed:
  libgsasl7 libkyotocabinet16v5 libmailutils4 libmysqlclient20 libntlm0
  mailutils mailutils-common mysql-common
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 838 kB/2,123 kB of archives.
After this operation, 11.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 mysql-common all 5.7.11-0ubuntu6 [16.6 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 libmysqlclient20 amd64 5.7.11-0ubuntu6 [821 kB]
Fetched 838 kB in 1s (455 kB/s)           
Selecting previously unselected package libntlm0:amd64.
(Reading database ... 211968 files and directories currently installed.)
Preparing to unpack .../libntlm0_1.4-7_amd64.deb ...
Unpacking libntlm0:amd64 (1.4-7) ...
Selecting previously unselected package libgsasl7.
Preparing to unpack .../libgsasl7_1.8.0-8ubuntu2_amd64.deb ...
Unpacking libgsasl7 (1.8.0-8ubuntu2) ...
Selecting previously unselected package libkyotocabinet16v5:amd64.
Preparing to unpack .../libkyotocabinet16v5_1.2.76-4.1_amd64.deb ...
Unpacking libkyotocabinet16v5:amd64 (1.2.76-4.1) ...
Selecting previously unselected package mailutils-common.
Preparing to unpack .../mailutils-common_1%3a2.99.99-1ubuntu2_all.deb ...
Unpacking mailutils-common (1:2.99.99-1ubuntu2) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../mysql-common_5.7.11-0ubuntu6_all.deb ...
Unpacking mysql-common (5.7.11-0ubuntu6) ...
Selecting previously unselected package libmysqlclient20:amd64.
Preparing to unpack .../libmysqlclient20_5.7.11-0ubuntu6_amd64.deb ...
Unpacking libmysqlclient20:amd64 (5.7.11-0ubuntu6) ...
Selecting previously unselected package libmailutils4:amd64.
Preparing to unpack .../libmailutils4_1%3a2.99.99-1ubuntu2_amd64.deb ...
Unpacking libmailutils4:amd64 (1:2.99.99-1ubuntu2) ...
Selecting previously unselected package mailutils.
Preparing to unpack .../mailutils_1%3a2.99.99-1ubuntu2_amd64.deb ...
Unpacking mailutils (1:2.99.99-1ubuntu2) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up postfix (3.1.0-3ubuntu0.2) ...

Postfix configuration was not changed.  If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed.  To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
newaliases: warning: valid_hostname: misplaced delimiter: ubuntu..name
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: ubuntu..name
dpkg: error processing package postfix (--configure):
 subprocess installed post-installation script returned error exit status 75
Setting up libntlm0:amd64 (1.4-7) ...
Setting up libgsasl7 (1.8.0-8ubuntu2) ...
Setting up libkyotocabinet16v5:amd64 (1.2.76-4.1) ...
Setting up mailutils-common (1:2.99.99-1ubuntu2) ...
Setting up mysql-common (5.7.11-0ubuntu6) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up libmysqlclient20:amd64 (5.7.11-0ubuntu6) ...
Setting up libmailutils4:amd64 (1:2.99.99-1ubuntu2) ...
dpkg: dependency problems prevent configuration of mailutils:
 mailutils depends on default-mta | mail-transport-agent; however:
  Package default-mta is not installed.
  Package postfix which provides default-mta is not configured yet.
  Package mail-transport-agent is not installed.
  Package postfix which provides mail-transport-agent is not configured yet.

dpkg: error processing package mailutils (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu9) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 postfix
 mailutils
E: Sub-process /usr/bin/dpkg returned an error code (1)
    
por azardin 13.12.2017 / 15:20

0 respostas