Hi i want to install ruby on my Ubuntu 12.04. I tried it with following command
sudo apt-get install curl but it gives me following error.
The hostname -f command returned: $1 Your system needs to have a fully qualified domain name (fqdn) in order to install the var-qmail packages. Installation aborted. dpkg: error processing qmail (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of qmail-run: qmail-run depends on qmail (>= 1.06-2.1); however: Package qmail is not configured yet. dpkg: error processing qmail-run (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: qmail qmail-run E: Sub-process /usr/bin/dpkg returned an error code (1)
How to solve this error. Need Help. I am using ubuntu 12.04