Comment 9 for bug 888627

Revision history for this message
Imre Gergely (cemc) wrote :

Tested package from your PPA on Hardy. When installing/upgrading to it, I get the following error:

Preparing to replace pdns-recursor 3.1.4-6ubuntu1 (using .../pdns-recursor_3.3-2~hardy1~ppa3_i386.deb) ...
 * Stopping PowerDNS recursor pdns-recursor [ OK ]
Unpacking replacement pdns-recursor ...
Setting up liblua5.1-0 (5.1.2-4) ...

Setting up pdns-recursor (3.3-2~hardy1~ppa3) ...
Installing new version of config file /etc/powerdns/recursor.conf ...
Installing new version of config file /etc/logcheck/ignore.d.server/pdns-recursor ...
Installing new version of config file /etc/init.d/pdns-recursor ...
update-rc.d: error: codenumber must be a number between 0 and 99
usage: update-rc.d [-n] [-f] <basename> remove
       update-rc.d [-n] <basename> defaults|multiuser [NN | sNN kNN]
       update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
                -n: not really
                -f: force
dpkg: error processing pdns-recursor (--configure):
 subprocess post-installation script returned error exit status 1
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 pdns-recursor
E: Sub-process /usr/bin/dpkg returned an error code (1)

After starting it manually, it runs ok:

root@hhs32-pdns:/etc/powerdns# /etc/init.d/pdns-recursor start
 * Starting PowerDNS recursor pdns-recursor [ OK ]

root@hhs32-pdns:/etc/powerdns# dig +short ubuntu.com @localhost
91.189.94.156

root@hhs32-pdns:/etc/powerdns# dig +short chaos txt version.bind @localhost
"PowerDNS Recursor 3.3 $Id: pdns_recursor.cc 1712 2010-09-11 13:40:03Z ahu $"

root@hhs32-pdns:/etc/powerdns# apt-cache policy pdns-recursor
pdns-recursor:
  Installed: 3.3-2~hardy1~ppa3
  Candidate: 3.3-2~hardy1~ppa3
  Version table:
 *** 3.3-2~hardy1~ppa3 0
        500 http://ppa.launchpad.net hardy/main Packages
        100 /var/lib/dpkg/status
     3.1.4-6ubuntu1 0
        500 http://ro.archive.ubuntu.com hardy/universe Packages