postfix.postinst fails due to missing update-inetd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Baltix |
Invalid
|
Undecided
|
Unassigned | ||
postfix (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
During a dist. upgrade from edgy to feisty:
Setting up postfix (2.3.3-1build1) ...
/var/lib/
dpkg: error processing postfix (--configure):
subprocess post-installation script returned error exit status 127
...
Errors were encountered while processing:
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up postfix (2.3.3-1build1) ...
/var/lib/
dpkg: error processing postfix (--configure):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
postfix
Indeed update-inetd is absent. There is a man page for it, but the script/program doesn't exist on my system.
Researching turns up this change log entry for netbase showing that update-inetd was removed from the netbase package:
netbase (4.27) unstable; urgency=medium
* Depend on inet-superserver instead of openbsd-inetd and tcpd.
* update-inetd moved to its own package.
* etc-services: added suucp (4013), ggz (5688). (Closes: #383993, #388446)
-- Marco d'Itri <email address hidden> Sun, 1 Oct 2006 23:19:40 +0200
Additionally inet-superserver (netkit-inetd) was separated from netbase (a while back) and the dependency from netbase removed:
netbase (4.27ubuntu1) feisty; urgency=low
* Merge from debian unstable, remaining changes:
- drop dependency on inet superserver
-- Scott James Remnant <email address hidden> Mon, 27 Nov 2006 13:33:44 +0000
apparently resulting in a system with no dependency on inetd, and thus no need for update-inetd.
It seems postfix.postinst should be updated to skip that step if there is no superserver package installed, or more specifically, no update-inetd package.
Workaround:
Comment out or delete line 176 of /var/lib/
sudo dpkg --configure postfix
See related bug mentioning postfix's dependency on inetd:
http://
Note: the original reporter indicated the bug was in package 'postfix'; however, that package was not published in Baltix.
Wrong distribution.