LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 07-23-2012, 05: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:
qmail
qmail-run
E: Sub-process /usr/bin/dpkg returned an error code (1)

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

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
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, 06: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
 
  


Reply


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 12:06 AM
sudo apt-get install aarsh Suse/Novell 15 05-24-2011 08:26 PM
LXer: sudo apt-get install sl is Fun! LXer Syndicated Linux News 0 07-16-2010 08:00 AM
$sudo apt-get install... how do you know the name? Delpheno Linux - Newbie 9 05-03-2010 12:28 AM
Where do apps get installed to when doing a sudo apt-get install ? anjanesh Ubuntu 5 06-18-2008 04:16 PM


All times are GMT -5. The time now is 07:13 PM.

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