1

Why I get hostname: Name or service not known error?

view story
linux-howto

http://askubuntu.com – I'm getting this error when ever I install any packages via apt-get: hostname: Name or service not known dpkg: error processing ssmtp (--configure): subprocess installed post-installation script returned error exit status 1 Setting up libt1-5 (5.1.2-3.4ubuntu1) ... Setting up php5-gd (5.3.10-1ubuntu3.2) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Errors were encountered while processing: ssmtp E: Sub-process /usr/bin/dpkg returned an error code (1) Why this is happening? (HowTos)