[Ilugc] dpkg returned an error code

rmariya sagaya asirvatham asir.linux at gmail.com
Thu Jul 5 13:09:52 IST 2012

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:
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:
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

More information about the ilugc mailing list