Почему не устанавливается Postfix?

Здравствуйте! После удаления пакета postfix удалил папку /etc/postfix, начал опять устанавливать postfix - увидел ошибку:
root@vm-69283c2b:~# sudo apt install postfix
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin
  libsasl2-modules postfix-cdb mail-reader ufw postfix-doc
....
Setting up postfix (3.1.0-3) ...

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
 * Stopping Postfix Mail Transport Agent postfix                         [ OK ] 
 * Starting Postfix Mail Transport Agent postfix                                postfix: Postfix is running with backwards-compatible default settings
postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details
postfix: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
/usr/lib/postfix/sbin/post-install: Error: /etc/postfix/postfix-files is not a file.
postfix/postfix-script: warning: unable to create missing queue directories
postfix/postfix-script: fatal: Postfix integrity check failed!
                                                                         [fail]
invoke-rc.d: initscript postfix, action "restart" failed.
dpkg: error processing package postfix (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
 postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)

В чем может быть проблема?
  • Вопрос задан
  • 1345 просмотров
Решения вопроса 1
verdex
@verdex Автор вопроса
Проблема решена
sudo dpkg --remove postfix
 sudo dpkg --purge postfix

https://bugs.launchpad.net/ubuntu/+source/postfix/...
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы
27 апр. 2024, в 17:31
150000 руб./за проект
27 апр. 2024, в 16:39
1000 руб./в час
27 апр. 2024, в 16:38
30000 руб./за проект