Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-23-2012, 06:28 AM   #1
marwa aly
LQ Newbie
Registered: Jul 2012
Posts: 4

Rep: Reputation: Disabled
Unhappy 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:
E: Sub-process /usr/bin/dpkg returned an error code (1)

so what can i do???????????????????/
Old 07-23-2012, 07:39 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
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?
Old 07-23-2012, 07:43 AM   #3
marwa aly
LQ Newbie
Registered: Jul 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
sorry , what are the step to make local host name in etc/hosts? i'm newley user in linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sudo apt-get install build-essential parashuram2011 Linux - Newbie 3 08-10-2011 01:06 AM
sudo apt-get install aarsh SUSE / openSUSE 15 05-24-2011 09:26 PM
LXer: sudo apt-get install sl is Fun! LXer Syndicated Linux News 0 07-16-2010 09:00 AM
$sudo apt-get install... how do you know the name? Delpheno Linux - Newbie 9 05-03-2010 01:28 AM
Where do apps get installed to when doing a sudo apt-get install ? anjanesh Ubuntu 5 06-18-2008 05:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration