I dont understand how or why apt-get install failed. It mentions ssmtp which is simple smtp which i use to send mail from my server to my google apps account. I dont understand what is wrong or how to fix it.
I am using debian squeeze.
# apt-get install ffmpeg ... Setting up libswscale0 (4:0.5.2-6) ... Setting up ffmpeg (4:0.5.2-6) ... Errors were encountered while processing: ssmtp E: Sub-process /usr/bin/dpkg returned an error code (1) # sudo apt-get install ffmpeg sudo: unable to resolve host debian Reading package lists... Done Building dependency tree Reading state information... Done ffmpeg is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y 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)