Quite strange today, I’m using basic ubuntu gutsy
repositories and got an error performing the daily upgrade
. I’m use to doing sudo aptitude full-upgrade
, and it did not run to the end. I forgot to get the full log saved somewhere, but here is what I searched for:
fatal: /etc/postfix/postfix-script: No such file or directory
The fix is in the following launchpad bug: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/42947
sudo dpkg --remove postfix sudo dpkg --purge postfix
Then postfix
can be installed again:
sudo aptitude install postfix Unpacking postfix (from .../postfix_2.4.5-3build1_i386.deb) ... Setting up postfix (2.4.5-3build1) ... Adding group `postfix' (GID 122) ... Done. Adding system user `postfix' (UID 114) ... Adding new user `postfix' (UID 114) with group `postfix' ... Not creating home directory `/var/spool/postfix'. Creating /etc/postfix/dynamicmaps.cf Adding tcp map entry to /etc/postfix/dynamicmaps.cf Adding group `postdrop' (GID 123) ... Done. Postfix was not set up. Start with cp /usr/share/postfix/main.cf.debian /etc/postfix/main.cf . 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'. Processing triggers for libc6 ... ldconfig deferred processing now taking place
After postfix
was reinstalled, the upgrade
could run again.
Advertisements