The easiest way to install HubDNS and its dependencies to a TurnKey Linux appliance (or Debian or a Debian based distribution e.g., Ubuntu) is via the package manager. HubDNS is in the TurnKey Linux package repository so if you're using a TurnKey Linux installation it's as easy as:

apt-get update
apt-get install hubdns

If you're using a non TurnKey Linux system you will first need to install the turnkey-keyring and configure sources.list. Note that the steps below assume you are using Debian or Ubuntu.

Install turnkey-keyring:

apt-key add turnkey-release-keyring.gpg

Add the TurnKey repository to your sources list (e.g., /etc/apt/sources.list):

deb lucid main


Note: If you would like to install from source, you will need to install the dependencies.


Don Moody's picture

I run Ubuntu Desktop 12.04 64 bit as my host operating system with virtualbox handling any others.

I've been playing with publishing a virtual machine or cluster from my laptop to Amazon AWS and I'm having difficulties getting HubDNS running on precise. (I understand that the sources link is for lucid is there one for precise?)

The error I recieve when I add HubDNS to my /etc/apt/sources.list and do an apt-get update is:

Fetched 5,150 B in 2s (1,940 B/s)
W: Failed to fetch  Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file)

Can you give me an idea of what is going on here, and, if this is even doable from precise 64 bit being that the apt link is for lucid?

Dafe Nelson's picture

I too had a failed apt-get install in Ubuntu (10.04 LTS). It complained about the GPG key.

I followed my nose by inspecting down its path and found and downloaded the Packages file. When "file" told me that it was a text file (or a gzipped one first) I took a look--knowing nothing about it.

Found it to be a list of deb packages in the library.

Went back up the archive tree and back down to:

and downloaded the hubdns*.deb package of the Packages reference.

Websearched how to install one of these things, and found:

sudo dpkg -i <packagename>.deb

which balked because it wanted something called "pycurl-wrapper" which I set off to install:

apt-get update; apt-get install pycurl-wrapper

which failed. ??

Wonder if it's a TKL thing too?

Back up-and-down the archive tree to:

and a download of that deb too, followed by:

sudo dpkg -i pycurl-wrapper<version>.deb

sudo dpkg -i hubdns<version>.deb

and Ubuntu no-complained. However, I not so lucky yet running it because I not yet understand terms of use; e.g., "what next?"

Jeff's picture

The turnkey-keyring is no longer available at the link provided.  But after a bit of searching, I found it at