[Bug 862129] Re: samba postrm depends on packages not guaranteed to be configured

Robie Basak 862129 at bugs.launchpad.net
Fri Oct 7 13:17:16 UTC 2011


I'm thinking along the lines of the attached patch (untested). Some
questions:

1) Is this the right approach?
2) Is dpkg-query the right way to get the status of the update-inetd package?
3) What about triggers-awaiting and triggers-pending? What should the behaviour be in these cases? Is it OK to treat update-inetd as not available in these cases?
4)  I've tried manually deconfiguring update-inetd and perl-modules (by purging and then unpacking only) before purging samba, but that doesn't trigger the problem. Any way I try the upgrade case, dpkg refuses because update-inetd (intentionally) isn't configured. Is there any way I can reproduce this reliably?

** Attachment added: "Untested patch"
   https://bugs.launchpad.net/ubuntu/+source/samba/+bug/862129/+attachment/2522728/+files/patch

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

Title:
  samba postrm depends on packages not guaranteed to be configured

Status in “samba” package in Ubuntu:
  Triaged

Bug description:
  Continued the installation of bug 862119, doing "sudo apt-get install
  -f" and then "sudo apt-get upgrade" again. After some time this bug
  occured.

  ProblemType: Package
  DistroRelease: Ubuntu 11.04
  Package: samba 2:3.5.8~dfsg-1ubuntu2.3
  ProcVersionSignature: Ubuntu 2.6.38-11.50-generic 2.6.38.8
  Uname: Linux 2.6.38-11-generic i686
  Architecture: i386
  Date: Thu Sep 29 10:02:27 2011
  ErrorMessage: subprocess new post-removal script returned error exit status 2
  RelatedPackageVersions:
   nautilus 1:3.2.0-0ubuntu2
   gvfs     1.8.0-0ubuntu3
  SambaClientRegression: Yes
  SourcePackage: samba
  Title: package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: subprocess new post-removal script returned error exit status 2
  UpgradeStatus: Upgraded to natty on 2011-07-13 (77 days ago)

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




More information about the foundations-bugs mailing list