TurnKey Linux Virtual Appliance Library

Installation

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:

wget http://code.turnkeylinux.org/turnkey-keyring/turnkey-release-keyring.gpg
apt-key add turnkey-release-keyring.gpg

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

deb http://archive.turnkeylinux.org/ubuntu lucid main

 

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

Comments

HubDNS for Ubuntu 12.04 Precise 64 bit?

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 http://archive.turnkeylinux.org/ubuntu/dists/lucid/Release  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?

Doin' it the Hard way...

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 http://archive.turnkeylinux.org/ubuntu 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:

http://archive.turnkeylinux.org/ubuntu/pool/lucid/main/h/hubdns/

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:

http://archive.turnkeylinux.org/ubuntu/pool/lucid/main/p/pycurl-wrapper/

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?"