[Bug 531854] [NEW] bind9 will not install on a clean system

Valentijn Sessink valentijn at sessink.nl
Thu Mar 4 11:33:23 GMT 2010


Public bug reported:

Binary package hint: bind9

 apt-get install bind9
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  bind9-doc resolvconf
The following NEW packages will be installed:
  bind9
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/322kB of archives.
After this operation, 1049kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package bind9.
(Reading database ... 41267 files and directories currently installed.)
Unpacking bind9 (from .../bind9_1%3a9.7.0.dfsg-1~build1_i386.deb) ...
Processing triggers for ufw ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Setting up bind9 (1:9.7.0.dfsg-1~build1) ...
md5sum: /etc/default/bind9: No such file or directory
dpkg: error processing bind9 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 bind9
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is due to a logical error in the bind9.postinst file:
[...]
    theirs=$(md5sum /etc/default/bind9)
    if [ -e /etc/default/bind9 ] && \
       [ "$(cat /usr/share/bind9/bind9-default.md5sum)" = "$theirs" ]; then

So if /etc/default/bind9 does not exist, the script exits with an error (due to the "set -e" nature of the install scripts)
This is Debian bug #572443 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572443

** Affects: bind9 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
bind9 will not install on a clean system
https://bugs.launchpad.net/bugs/531854
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in ubuntu.



More information about the Ubuntu-server-bugs mailing list