sábado, 16 de marzo de 2013

solving the unable to resolve localhost.localdomain in chrubuntu

Last black friday I bought a samsung ARM chromebook, it just a great ultrabook, the price, performance, etc, but that's another story. Today I wanna share the way how to get rid off that anoising message everytime you get into a terminal and use some command:

unable to resolve localhost.localdomain

you just need to do this:
1. get into the gnome-terminal

2. type: nano /etc/hosts

3. add this line: 127.0.0.1   localhost   localhost.domain

4. save the file and close it

5. close the current terminal window and open another one, then you can try some command, for example apt-get update and you'll notice that the message does not show anymore.

that's it.

No hay comentarios:

Publicar un comentario