Apache installation problem
im having problem installing apache2 in my system. everytime i try to install it keeps on bringing this 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.
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:
E: Sub-process /usr/bin/dpkg returned an error code (1)
any help will highly be appreciated. thanks
I wonder why dpkg is trying to install qmail, which is an SMTP server and mail transfer agent (MTA). What exact command are you using to try to install Apache?
In any case, it looks like your server cannot resolve its own hostname. Please post the output of "hostname -f" and the contents of your /etc/hosts file.
|All times are GMT -5. The time now is 04:27 AM.|