[Ilugc] dpkg returned an error code

  • From: asir.linux@xxxxxxxxx (rmariya sagaya asirvatham)
  • Date: Thu, 5 Jul 2012 13:09:52 +0530

Hi ilugs

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:
  ssmtp
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
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 installed.)
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
dpkg: error processing ssmtp (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 ssmtp
E: Sub-process /usr/bin/dpkg returned an error code (1)

I removed,burged and cleaned up the apt-get ,I am getting same error


with thanks
Asir

Other related posts: