root@web:/home/din/tracker# apt-get -f install Reading package lists... Done Building dependency tree... Done Correcting dependencies... Done The following extra packages will be installed: apache2-mpm-prefork apache2.2-common The following packages will be REMOVED: apache2-common The following NEW packages will be installed: apache2.2-common The following packages will be upgraded: apache2-mpm-prefork 1 upgraded, 1 newly installed, 1 to remove and 4 not upgraded. 6 not fully installed or removed. Need to get 0B/1333kB of archives. After unpacking 532kB of additional disk space will be used. Do you want to continue [Y/n]? y sh: line 1: 4617 Segmentation fault stty -a 2>/dev/null sh: line 1: 4619 Segmentation fault stty -a 2>/dev/null dpkg: apache2-common: dependency problems, but removing anyway as you request: apache2-mpm-prefork depends on apache2-common (= 2.0.55-4.1). (Reading database ... 24183 files and directories currently installed.) Removing apache2-common ... Stopping apache 2.0 web server...Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: API module structure `php5_module' in file /usr/lib/apache2/modules/libphp5.so is garbled - perhaps this is not an Apache module DSO? ... failed! You may still have some apache2 processes running. There are processes named 'apache2' which do not match your pid file, and in the name of safety, we've left them alone. Please review the situation by hand. failed! invoke-rc.d: initscript apache2, action "stop" failed. dpkg: error processing apache2-common (--remove): subprocess pre-removal script returned error exit status 1 Errors were encountered while processing: apache2-common E: Sub-process /usr/bin/dpkg returned an error code (1)