[Bug 862129] Re: samba postrm depends on packages not guaranteed to be configured
Steve Langasek
steve.langasek at canonical.com
Tue Oct 25 19:43:49 UTC 2011
Analysis of the upgrade logs and further discussion on IRC shows that
it's infeasible to fix this in samba. The problem arises when perl-
modules is unpacked without libperl5.12/perl-base, and then samba is
unpacked. Moving the update-inetd code from the postrm to the prerm may
help in some cases, but not in this one, because whichever maintainer
script tries to call update-inetd, the modules will be unavailable to
perl at that point.
Fixing update-inetd to be more robust (i.e., to not require perl-
modules) would help for the future, but would not help for the present
upgrade problems.
I think the only way to fix this reliably is via update-manager.
** Package changed: samba (Ubuntu Oneiric) => update-manager (Ubuntu
Oneiric)
** Changed in: update-manager (Ubuntu Oneiric)
Assignee: (unassigned) => Michael Vogt (mvo)
--
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:
New
Status in “perl” package in Ubuntu:
New
Status in “update-inetd” package in Ubuntu:
New
Status in “update-manager” package in Ubuntu:
Triaged
Status in “perl” source package in Oneiric:
New
Status in “update-inetd” source package in Oneiric:
New
Status in “update-manager” source package in Oneiric:
Triaged
Status in “perl” source package in Precise:
New
Status in “update-inetd” source package in Precise:
New
Status in “update-manager” source package in Precise:
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/samba/+bug/862129/+subscriptions
More information about the foundations-bugs
mailing list