No, that's not quite right.  Per policy (http://www.debian.org/doc
/debian-policy/ch-maintainerscripts.html#s-mscriptsinstact):

  The package whose postrm is being called may have previously been
deconfigured and only be unpacked, at which point subsequent package
changes do not consider its dependencies. Therefore, all postrm actions
may only rely on essential packages and must gracefully skip any actions
that require the package's dependencies if those dependencies are
unavailable.

In any case, samba already depends on update-inetd, which depends on
libfile-temp-perl, which is provided by perl-modules, so it's clearly
not a matter of adding a dependency.  It does have some code to attempt
to gracefully cope if update-inetd is missing, but (a) the check for
update-inetd being present isn't there in all branches, and (b) in this
case update-inetd is present but not all its dependencies are available.

** Changed in: samba (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/862129

Title:
  package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade:
  subprocess new post-removal script returned error exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/862129/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to