Originally Posted by AlexBB
The result is in the first thumbnail. I used the lines the user chrism01 gave to me:
You misunderstood that, it was just an example
of lines in /etc/hosts.
It seems to me that you know very little about networking, fqdn and such. That wiki page chrism01 linked to is good but probably a bit over your head. I'll try to be very clear:
In /etc/hosts you add entries that are supposed to be resolved
, it is like a small DNS server. If you add a line "192.168.1.2 www.yahoo.com" to /etc/hosts and then in a browser writes url "www.yahoo.com" you will not
get Yahoo - you'll reach a server with ip 192.168.1.2.
Some applications, like apache, searches /etc/hosts for a fqdn.
The actual hostname
your computer has is written in /etc/hostname (Using LinuxMint now).
Now, looking at your pictures, your second snapshot tells me what you need: "The hostname -f returned ..."
"hostname -f" reads from /etc/hostname not /etc/hosts
So you need to do this:
Set a correct hostname, edit /etc/hostname and restart network or use some GUI-tool to change the hostname. (Don't know what tools Ubuntu has.)
Then try installing again - you could use "sudo apt-get -f install"