Corrupt PostFix Installv

2

Eu acidentalmente removi alguns arquivos que o postfix precisa e agora ele não será instalado nem desinstalado tentei:

sudo apt-get purge postfix
sudo apt-get remove postfix
sudo apt-get upgrade
sudo apt-get install postfix
sudo apt-get autoremove postfix
sudo apt-get remore --auto-remove postfix

não importa o que eu faça, sempre recebo o seguinte erro:

root@GitLab:/# sudo apt-get remove postfix
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  postfix
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 3,361 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 99428 files and directories currently installed.)
Removing postfix (2.11.0-1) ...
invoke-rc.d: unknown initscript, /etc/init.d/postfix not found.
dpkg: error processing package postfix (--remove):
 subprocess installed pre-removal script returned error exit status 100
/var/lib/dpkg/info/postfix.postinst: 13: .: Can't open /usr/share/postfix/postinst.functions
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)

EDITAR: Seguiu este guia e foi corrigido: link

    
por Robert Lerman 22.07.2014 / 16:50

0 respostas