package bind9 1:9.8.1.dfsg.P1-4ubuntu0.2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1

Bug #1056363 reported by Blackhawke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sendmail (Ubuntu)
Expired
High
Unassigned

Bug Description

Even though all updates to bind9 have come direct from canonical, I am now getting broken dependency errors when it attempts to upgrade. Nor can Synaptic even uninstall or "completely remove" bind9 -- which I attempted to do in order to clean up whatever mess apt has created in its repeated attempts to upgrade the package.

So I'm at a loss here: I can't uninstall it. I can't upgrade it, and I can't do any of the upgrades to my system (currently there are 120 pending) because all of the package management tools throw errors concerning bind9 when I try to run them.

Along with a bug fix, suggestions on how to break the stalemate would be appreciated.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: bind9 1:9.8.1.dfsg.P1-4ubuntu0.2
ProcVersionSignature: Ubuntu 3.2.0-30.48-generic 3.2.27
Uname: Linux 3.2.0-30-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu13
AptOrdering: bind9: Purge
Architecture: amd64
Date: Tue Sep 25 10:31:54 2012
ErrorMessage: subprocess installed pre-removal script returned error exit status 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
RelatedPackageVersions:
 bind9utils 1:9.8.1.dfsg.P1-4ubuntu0.3
 apparmor 2.7.102-0ubuntu3.1
SourcePackage: bind9
Title: package bind9 1:9.8.1.dfsg.P1-4ubuntu0.2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-05-04 (144 days ago)
modified.conffile..etc.bind.named.conf: [modified]
modified.conffile..etc.bind.named.conf.options: [modified]
mtime.conffile..etc.bind.named.conf: 2012-08-19T11:15:57.189245
mtime.conffile..etc.bind.named.conf.options: 2012-05-03T20:13:05.406264

Revision history for this message
Blackhawke (michael-vetl) wrote :
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

 * Stopping domain name service... bind9 ESC[80G /etc/resolvconf/update-libc.d/sendmail: 7: .: Can't open /usr/share/sendmail/dynamic
run-parts: /etc/resolvconf/update-libc.d/sendmail exited with return code 2
run-parts: /etc/resolvconf/update.d/libc exited with return code 1
invoke-rc.d: initscript bind9, action "stop" failed.
dpkg: error processing bind9 (--purge):
 subprocess installed pre-removal script returned error exit status 1

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

The /usr/share/sendmail/dynamic file which is missing is supposed to be shipped by sendmail-base.

affects: bind9 (Ubuntu) → sendmail (Ubuntu)
Changed in sendmail (Ubuntu):
importance: Undecided → High
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for filing this bug. The file which is missing is shipped by the same packae (sendmail-base) as the file which is calling it (/etc/resolvconf/update-libc.d/sendmail). Is it possible that you manually removed that file?

Can you show the result of 'dpkg -l | grep sendmail' ?

If sendmail-base is installed, you can probably work around this by doing 'sudo apt-get install --reinstall sendmail-base'.

Changed in sendmail (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for sendmail (Ubuntu) because there has been no activity for 60 days.]

Changed in sendmail (Ubuntu):
status: Incomplete → Expired
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.