LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I have had some issues lately when using sudo apt-get install Please Help (http://www.linuxquestions.org/questions/linux-newbie-8/i-have-had-some-issues-lately-when-using-sudo-apt-get-install-please-help-4175418205/)

marwa aly 07-23-2012 05:28 AM

I have had some issues lately when using sudo apt-get install Please Help
 
The program 'show' is currently not installed. You can install it by typing:
sudo apt-get install nmh
marwa@drtamer-G41MT-S2PT:~/Desktop/MUMmer3.23$ sudo apt-get install nmh
[sudo] password for marwa:
Reading package lists... Done
Building dependency tree
Reading state information... Done
nmh is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 332 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up qmail (1.06-4) ...
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)

so what can i do???????????????????/

acid_kewpie 07-23-2012 06:39 AM

you can ensure that "Your system needs to have a fully qualified domain name (fqdn)". Presumably you have not got a domain set, only a local hostname in /etc/hosts?

marwa aly 07-23-2012 06:43 AM

sorry , what are the step to make local host name in etc/hosts? i'm newley user in linux


All times are GMT -5. The time now is 10:57 AM.