I'm getting the same error on dapper (Linux version 2.6.15-23-386 (buildd@rothera) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5))) on a Duron with the latest updates.
$ sudo apt-get install --reinstall postfix
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 2 not upgraded.
Need to get 0B/923kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Preconfiguring packages ...
(Reading database ... 35403 files and directories currently installed.)
Preparing to replace postfix 2.2.10-1ubuntu0.1 (using .../postfix_2.2.10-1ubuntu0.1_i386.deb) ...
* Stopping Postfix Mail Transport Agent postfix
...done.
Unpacking replacement postfix ...
Setting up postfix (2.2.10-1ubuntu0.1) ...
Postfix configuration was untouched. 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
...done.
* Starting Postfix Mail Transport Agent postfix
postfix: fatal: /etc/postfix/postfix-script: No such file or directory
...fail!
invoke-rc.d: initscript postfix, action "restart" failed.
dpkg: error processing postfix (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
------------------
I've tried removing postfix, deleting every reference i can find about it and reinstalling and it continues. I've tried on a VM install of dapper and do not have the same problem.
I'm getting the same error on dapper (Linux version 2.6.15-23-386 (buildd@rothera) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5))) on a Duron with the latest updates.
$ sudo apt-get install --reinstall postfix 2.2.10- 1ubuntu0. 1_i386. deb) ...
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 2 not upgraded.
Need to get 0B/923kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Preconfiguring packages ...
(Reading database ... 35403 files and directories currently installed.)
Preparing to replace postfix 2.2.10-1ubuntu0.1 (using .../postfix_
* Stopping Postfix Mail Transport Agent postfix
...done.
Unpacking replacement postfix ...
Setting up postfix (2.2.10-1ubuntu0.1) ...
Postfix configuration was untouched. If you need to make changes, edit main.cf (and others) as needed. To view Postfix configuration
/etc/postfix/
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init. d/postfix reload'.
Running newaliases postfix- script: No such file or directory
* Stopping Postfix Mail Transport Agent postfix
...done.
* Starting Postfix Mail Transport Agent postfix
postfix: fatal: /etc/postfix/
...fail!
invoke-rc.d: initscript postfix, action "restart" failed.
dpkg: error processing postfix (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
------------------
I've tried removing postfix, deleting every reference i can find about it and reinstalling and it continues. I've tried on a VM install of dapper and do not have the same problem.