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

Bug #1012921 reported by Rudy Mogavero
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bind9 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Occurred during automatic update.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: bind9 1:9.8.1.dfsg.P1-4ubuntu0.1
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Wed Jun 13 14:23:26 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
RelatedPackageVersions:
 bind9utils 1:9.8.1.dfsg.P1-4ubuntu0.1
 apparmor 2.7.102-0ubuntu3.1
SourcePackage: bind9
SyslogBind9:

Title: package bind9 1:9.8.1.dfsg.P1-4ubuntu0.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.bind.named.conf.options: [modified]
mtime.conffile..etc.bind.named.conf.options: 2012-05-09T21:48:46.950036

Revision history for this message
Rudy Mogavero (rudymogavero) wrote :
Revision history for this message
James Page (james-page) wrote :

Setting up bind9 (1:9.8.1.dfsg.P1-4ubuntu0.1) ...
 * Stopping domain name service... bind9  /usr/sbin/postconf: fatal: open /etc/postfix/main.cf: No such file or directory
cp: `/etc/resolv.conf' and `/etc/resolv.conf' are the same file
run-parts: /etc/resolvconf/update-libc.d/postfix exited with return code 1
run-parts: /etc/resolvconf/update.d/libc exited with return code 1
invoke-rc.d: initscript bind9, action "restart" failed.
dpkg: error processing bind9 (--configure):
 subprocess installed post-installation script returned error exit status 1

tags: removed: need-duplicate-check
Revision history for this message
James Page (james-page) wrote :

Looks like you have a configuration issue with postfix:

/usr/sbin/postconf: fatal: open /etc/postfix/main.cf: No such file or directory

Please try reconfiguring postfix:

   sudo cp /usr/share/postfix/main.cf.debian /etc/postfix/main.cf
   sudo dpkg-reconfigure postfix

This should generate the required configuration file; you can then complete the install by running:

  sudo apt-get -f install

Marking 'Invalid' as this is related to a local configuration issue.

Thanks

James Page (james-page)
Changed in bind9 (Ubuntu):
status: New → Invalid
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.