oot@sh7:~# aptitude -y install nginx Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Building tag database... Done The following NEW packages will be installed: nginx 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 222kB of archives. After unpacking 639kB will be used. Writing extended state information... Done Get:1 http://archive.ubuntu.com gutsy/universe nginx 0.5.26-1ubuntu2 [222kB] Fetched 222kB in 0s (238kB/s) perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_IN" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Selecting previously deselected package nginx. (Reading database ... 33252 files and directories currently installed.) Unpacking nginx (from .../nginx_0.5.26-1ubuntu2_amd64.deb) ... Setting up nginx (0.5.26-1ubuntu2) ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_IN" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Starting nginx: invoke-rc.d: initscript nginx, action "start" failed. dpkg: error processing nginx (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: nginx E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up nginx (0.5.26-1ubuntu2) ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_IN" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Starting nginx: invoke-rc.d: initscript nginx, action "start" failed. dpkg: error processing nginx (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: nginx Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Building tag database... Done root@sh7:~# aptitude -y install nginx Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Building tag database... Done The following partially installed packages will be configured: nginx 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Done perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_IN" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Setting up nginx (0.5.26-1ubuntu2) ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_IN" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Starting nginx: invoke-rc.d: initscript nginx, action "start" failed. dpkg: error processing nginx (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: nginx E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up nginx (0.5.26-1ubuntu2) ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_IN" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Starting nginx: invoke-rc.d: initscript nginx, action "start" failed. dpkg: error processing nginx (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: nginx Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Building tag database... Done root@sh7:~# sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_IN" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Setting up nginx (0.5.26-1ubuntu2) ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_IN" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Starting nginx: invoke-rc.d: initscript nginx, action "start" failed. dpkg: error processing nginx (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: nginx E: Sub-process /usr/bin/dpkg returned an error code (1) root@sh7:~# /etc/init.d/nginx start root@sh7:~# sudo apt-get install -fit.d/nginx start Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_IN" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Setting up nginx (0.5.26-1ubuntu2) ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_IN" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Starting nginx: invoke-rc.d: initscript nginx, action "start" failed. dpkg: error processing nginx (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: nginx E: Sub-process /usr/bin/dpkg returned an error code (1)