By Bo Yans
Ubuntu version 14.04 64-bit.
$ sudo apt-get install bind9 dnsutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
dnsutils is already the newest version.
Suggested packages:
bind9-doc
The following NEW packages will be installed:
bind9 bind9utils
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 433 kB of archives.
After this operation, 1,634 kB of additional disk space will be used.
Get:1 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main bind9utils amd 64 1:9.9.5.dfsg-3ubuntu0.8 [146 kB]
Get:2 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main bind9 amd64 1: 9.9.5.dfsg-3ubuntu0.8 [287 kB]
Fetched 433 kB in 0s (4,701 kB/s)
Preconfiguring packages ...
Selecting previously unselected package bind9utils.
(Reading database ... 114923 files and directories currently installed.)
Preparing to unpack .../bind9utils_1%3a9.9.5.dfsg-3ubuntu0.8_amd64.deb ...
Unpacking bind9utils (1:9.9.5.dfsg-3ubuntu0.8) ...
Selecting previously unselected package bind9.
Preparing to unpack .../bind9_1%3a9.9.5.dfsg-3ubuntu0.8_amd64.deb ...
Unpacking bind9 (1:9.9.5.dfsg-3ubuntu0.8) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Setting up bind9utils (1:9.9.5.dfsg-3ubuntu0.8) ...
Setting up bind9 (1:9.9.5.dfsg-3ubuntu0.8) ...
Adding group `bind' (GID 127) ...
Done.
Adding system user `bind' (UID 116) ...
Adding new user `bind' (UID 116) with group `bind' ...
Not creating home directory `/var/cache/bind'.
rndc-confgen: symbol lookup error: /usr/lib/libdns.so.100: undefined symbol: Geo IP_country_code_by_ipnum_v6
dpkg: error processing package bind9 (--configure):
subprocess installed post-installation script returned error exit status 127
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Errors were encountered while processing:
bind9
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can anybody help? Is something wrong with libdns? Packages checked for consistency using
sudo debsums -c
no problems found.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
From user: @boyans:
Thanks for suggestions. I had an old version of GeoIP in /usr/local/lib. After update to latest version of GeoIP from Maxmind bind9 installs without problem.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.