Public bug reported:

During a dist. upgrade from edgy to feisty:

Setting up postfix (2.3.3-1build1) ...
/var/lib/dpkg/info/postfix.postinst: 176: update-inetd: not found
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/info/postfix.postinst: 176: update-inetd: not found
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 PROTECTED]>  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 PROTECTED]>  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/dpkg/info/postfix.postinst, then run:
sudo dpkg --configure postfix

See related bug mentioning postfix's dependency on inetd:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=212759


Note: the original reporter indicated the bug was in package 'postfix'; 
however, that package was not published in Baltix.

** Affects: postfix (Ubuntu)
     Importance: Undecided
         Status: Rejected
** Affects: Baltix
     Importance: Undecided
         Status: Rejected

** Also affects: postfix (Ubuntu)
   Importance: Undecided
       Status: Unconfirmed

-- 
postfix.postinst fails due to missing update-inetd
https://launchpad.net/bugs/73575

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to