Installation failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nsd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: nsd
root@hu3cbnqc:~# aptitude install nsd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following NEW packages will be installed:
nsd
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/155kB of archives. After unpacking 524kB will be used.
Writing extended state information... Done
Selecting previously deselected package nsd.
(Reading database ... 184407 files and directories currently installed.)
Unpacking nsd (from .../archives/
Setting up nsd (2.3.6-1) ...
chown: cannot access `/var/lib/
invoke-rc.d: initscript nsd, action "start" failed.
dpkg: error processing nsd (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
nsd
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up nsd (2.3.6-1) ...
chown: cannot access `/var/lib/
invoke-rc.d: initscript nsd, action "start" failed.
dpkg: error processing nsd (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
nsd
root@hu3cbnqc:~# touch /var/lib/nsd/nsd.db
root@hu3cbnqc:~# aptitude upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up nsd (2.3.6-1) ...
Starting domain name service: nsd...done.
root@hu3cbnqc:~#
Changed in nsd: | |
status: | New → Fix Released |
Problem seems to be a missing call of
/usr/sbin/nsdc rebuild
which creates this file.