apt-get -o DPkg::Options::="--force-confmiss" install apache Reading package lists... Done Building dependency tree... Done apache is already the newest version. 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. shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Setting up apache (1.3.34-4) ... Error: apache appears not to be installed dpkg: error processing apache (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: apache E: Sub-process /usr/bin/dpkg returned an error code (1)