[Bug 336008] [NEW] dnsmasq postinst fails due to wrong update-rc.d command

Henning Sprang henning.sprang at gmail.com
Sat Feb 28 21:15:22 UTC 2009


Public bug reported:

Binary package hint: dnsmasq

The installation of the package dnsmasq fails with this messages:

root at xnote:~# apt-get install dnsmasq
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  resolvconf
The following NEW packages will be installed:
  dnsmasq
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0B/12.0kB of archives.
After this operation, 111kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  dnsmasq
Authentication warning overridden.
Selecting previously deselected package dnsmasq.
(Reading database ... 322666 files and directories currently installed.)
Unpacking dnsmasq (from .../dnsmasq_2.41-2ubuntu2.1_all.deb) ...
Setting up dnsmasq (2.41-2ubuntu2.1) ...
usage: update-rc.d [-n] [-f] <basename> remove
       update-rc.d [-n] <basename> defaults [NN | sNN kNN]
       update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
		-n: not really
		-f: force
dpkg: error processing dnsmasq (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 dnsmasq
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at xnote:~# 


The problem is in the file /var/lib/dpkg/info/dnsmasq.postinst

Which tries to call this command:

update-rc.d dnsmasq multiuser 15 85 >/dev/null


While the command "multiuser" is not existing in the update-rc.d for hardy.


root at xnote:~# lsb_release -rd
Description:	Ubuntu 8.04
Release:	8.04


 dpkg -l dnsmasq
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                      Version                   Description
+++-=========================-=========================-==================================================================
iF  dnsmasq                   2.41-2ubuntu2.1           A small caching DNS proxy and DHCP/TFTP server

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

-- 
dnsmasq postinst fails due to wrong update-rc.d command
https://bugs.launchpad.net/bugs/336008
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list