I've exactly the same error msg (on a fresh ubuntu 8.04 LTS install)
It was the hostname of that machine which couldn't be resolved.
So I added the hostname to /etc/hosts (with it's external IP address) and after that, the installation of collectd worked fine
I've exactly the same error msg (on a fresh ubuntu 8.04 LTS install)
It was the hostname of that machine which couldn't be resolved.
So I added the hostname to /etc/hosts (with it's external IP address) and after that, the installation of collectd worked fine