[Bug 42947] Re: postfix: fatal: /etc/postfix/postfix-script: No such file or directory

nicolas spammail at 0x17.ch
Sun May 11 18:37:57 BST 2008


I encountered this problem on a fresh ubuntu 7.10 LTS server.
what I did (out of my head):
- aptitude install postfix
  -> setup asks some questions, i realize, that my hostname was mistyped, I finish the setup with the wrong hostname
- aptitude remove postifx
- fix /etc/hostname
- aptitude install postfix
  -> setup does not ask the questions because the configs were not removed by 'aptitude remove postifx'
- aptitude remove --purge postfix
   -> /etc/postfix was not removed IIRC (i'm not 100% sure if this is true)
- aptitude install postfix
  -> problem occurs (fatal: /etc/postfix/postfix-script: No such file or directory)

iirc 'aptitude remove --purge postfix' did not remove my configs however this fixed the situation:
- dpkg --remove postfix
- dpkg --purge postfix
- aptitude install postfix

hope this helps
kind regards nicolas

-- 
postfix: fatal: /etc/postfix/postfix-script: No such file or directory
https://bugs.launchpad.net/bugs/42947
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to postfix in ubuntu.



More information about the Ubuntu-server-bugs mailing list