[Bug 862129] Re: package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: subprocess new post-removal script returned error exit status 2
Colin Watson
cjwatson at canonical.com
Sat Oct 1 22:51:57 UTC 2011
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
Foundations Bugs, 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
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