update-inetd dependency missing on 3.0.22-1ubuntu4 (feisty)

Bug #73734 reported by Caspar Adriani
36
Affects Status Importance Assigned to Milestone
samba (Debian)
Fix Released
Unknown
samba (Ubuntu)
Fix Released
Undecided
Tollef Fog Heen

Bug Description

Samba gives errors by installation on feisty.

Setting up samba (3.0.22-1ubuntu4) ...
/var/lib/dpkg/info/samba.postinst: line 123: update-inetd: command not found
dpkg: error processing samba (--configure):
 subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
 samba
E: Sub-process /usr/bin/dpkg returned an error code (1)

Quick fix:
$ sudo apt-get install update-inetd
$ sudo apt-get install -f

Revision history for this message
Edward Clark (eeclark) wrote :

I had the same issue. The quick fix above worked for me.

http://ubuntuforums.org/showthread.php?t=310516

Revision history for this message
chantra (chantra) wrote :

patch is said to be released on debian unstable.
But to me, it seems it is only patched when purging samba, not when removing

Changed in samba:
status: Unconfirmed → Confirmed
Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

The bug in Debian is not the same problem, the problem was on purge, not installing.

update-inetd is no more in netbase package. As Ubuntu drop inetd dependency
on netbase, we do not install update-inetd by default (samba depends on netbase, and in Debian, netbase depends on and inetd and update-inetd). In Ubuntu, dependency on update-inetd has to be set.

Changed in samba:
status: Unknown → Fix Released
Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

Patch adding update-inetd dependency and solves the issue.

Revision history for this message
Tollef Fog Heen (tfheen) wrote :

FIxed in feisty now.

Changed in samba:
assignee: nobody → tfheen
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.