Question

I am having a problem installing dnsmasq (see below). What am I doing wrong? How can I get this to properly install?

sudo apt-get install dnsmasq
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  dnsmasq: Depends: dnsmasq-base (>= 2.52-1ubuntu0.1) but 2.52-1 is to be installed
E: Broken packages
It appears that dnsmasq is already installed, but there is no entry in /etc/init.d to start/stop, and there is no default/starter configuration file at /etc/dnsmasq.conf

"Installed" dnsmasq info:

dnsmasq --version
Dnsmasq version 2.52  Copyright (c) 2000-2010 Simon Kelley
Compile time options IPv6 GNU-getopt DBus I18N DHCP TFTP

What I have tried:

  • Manually install dnsmasq-base
  • Force install dnsmasq
  • apt-get update / apt-get upgrade

Background Info

Install Info:

uname -a
Linux farmer1 2.6.32-306-ec2 #11-Ubuntu SMP Tue Jun 1 14:35:25 UTC 2010 x86_64 GNU/Linux

Sources.list

sudo cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu lucid main
deb http://security.ubuntu.com/ubuntu lucid-security main

deb http://archive.canonical.com/ lucid partner
deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

deb http://badgerports.org lucid main

Ubuntu Version

cat /etc/issue
Ubuntu 10.04.1 LTS \n \l

Installed dns packages

dpkg --get-selections | grep dns
libavahi-compat-libdnssd1                       install
libdns64                                        install
libnss-mdns                                     install
link|improve this question
1  
The only thing I can think here is that the badgerports repository is causing a conflict - that it's using that for the dnsmasq-base package, instead of the proper Ubuntu repos. If it's possible to remove the badgerports repo, try that and see if it makes any difference. – Andy Smith Jul 14 '11 at 15:50
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.