Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I can't seem to install ap-hotspot on ubuntu 12.04. I read somewhere that I should run the following commands:

$ sudo su -
# add-apt-repository ppa:nilarimogard/webupd8
# aptitude update
# aptitude install ap-hotspot
# ap-hotspot configure
# ap-hotspot start

But my terminal get stuck on the aptitude update because I get the error Something wicked happened resolving 'packages.medibuntu.org:http'. I was told that's because medibuntu has been shut down. So I had to go into /etc/apt/sources.list.d/ and delete all things related to medibuntu before I could run aptitude update again.

Then I tried to run apt-get install ap-hotspot, but I got the error

The following packages have unmet dependencies:
 ap-hotspot : Depends: dnsmasq but it is not going to be installed

So then I ran the apt-get install dnsmasq, but i got the error:

The following packages have unmet dependencies:
 dnsmasq : Depends: dnsmasq-base (>= 2.59-4) but it is not going to be installed

So then I ran the apt-get install dnsmasq-base but i got the message:

dnsmasq-base is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 260 not upgraded.

So how do i get ap-hotspot to work?

share|improve this question
Can you provide dpkg -s dnsmasq-base | grep Version? The latest version in the precise repo is 2.59-4, but according to the apt-get install dnsmasq output, that's not what is installed. –  Patrick Jun 4 '14 at 2:49
@Patrick the output of your command is Version: 2.59-4ubuntu0.1 –  John Jun 4 '14 at 11:43
@Braiam I did check that question previously but all it says is how to remove medibuntu, which I've already done as stated in my question. Removing medibuntu did not help install ap-hotspot. And also, no one has yet to supply a suggestion on how to provide the dependencies on ap-hotspot. The question you referenced also does not mention any instructions for installing ap-hotspot, which is my original question. Thanks! –  John Jun 4 '14 at 11:46
Edit your question and include the output of apt-cache policy dnsmasq-base dnsmasq ap-hotspot –  Braiam Jun 4 '14 at 11:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.