Quoted material:

////////
From: Ricardo Mones <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: ssmtp: installation fails if hostname returned value is not known
Date: Thu, 27 Jan 2011 21:12:20 +0000
Package: ssmtp
Version: 2.64-4
Severity: normal

Hi,

When installing found:
-------
Unpacking ssmtp (from .../ssmtp_2.64-4_armel.deb) ...
Processing triggers for man-db ...
Setting up ssmtp (2.64-4) ...
hostname: Name or service not known
dpkg: error processing ssmtp (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while processing:
 ssmtp
E: Sub-process /usr/bin/dpkg returned an error code (1)
-------

I found it's because value returned by hostname is not known. Adding it to
/etc/hosts fixed the problem and installation finished correctly.

To my understanding this should not break installation, even if the value
is not suitable to run ssmtp and will make it fail on run.

regards,////////

I am experiencing the same error.  When you state "Adding it to /etc/hosts 
fixed the problem" what is the "it"?  In other words, what hostname would be 
appropriate to add to the /etc/hosts file?  What would be the appropriate 
format/syntax?

Thanks in advance.

Reply via email to