[Ilugc] dpkg returned an error code
raamanp at yahoo.co.in
Thu Jul 5 14:13:04 IST 2012
--- On Thu, 5/7/12, rmariya sagaya asirvatham <asir.linux at gmail.com> wrote:
> I have to install ssmtp in ubuntu server 11.10 ,when I try
> install ssmtp I
> got the following error please help me to fix this issue
> root at ubuntucache:/var/lib/dpkg/info# apt-get install ssmtp
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following NEW packages will be installed:
> 0 upgraded, 1 newly installed, 0 to remove and 4 not
> Need to get 0 B/42.9 kB of archives.
> After this operation, 8,192 B of additional disk space will
> be used.
> Preconfiguring packages ...
> Selecting previously deselected package ssmtp.
> (Reading database ... 192113 files and directories currently
> Unpacking ssmtp (from .../archives/ssmtp_2.64-5_i386.deb)
> Processing triggers for man-db ...
> Setting up ssmtp (2.64-5) ...
> hostname: Name or service not known
Above line tells it all. After installing dpkg tries to configure ssmtp. Here it fails, probably unable to get hostname
More information about the ilugc