Installation failure

Bug #128467 reported by Tamas Tarjanyi
2
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/nsd_2.3.6-1_i386.deb) ...
Setting up nsd (2.3.6-1) ...
chown: cannot access `/var/lib/nsd/nsd.db': No such file or directory
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/nsd/nsd.db': No such file or directory
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:~#

Revision history for this message
Tamas Tarjanyi (tamas-tarjanyi) wrote :

Problem seems to be a missing call of
/usr/sbin/nsdc rebuild
which creates this file.

Daniel T Chen (crimsun)
Changed in nsd:
status: New → Fix Released
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.