vayu
November 10th, 2013, 11:25 PM
dist-upgrade from 13.04 to 13.10 failed in the middle with dependency problems all related to apache and php5. I'd like to just remove them and anything causing problems and continue with the dist-upgrade but I can't seem to remove them in the middle of a failed dist-upgrade. It keeps getting stuck on apache2-mpm-prefork. I think it's trying to stop the service which is not working and it just hangs there both for removing and for installing.
If I dpkg --configure -a then apt-get -f install it will hang on trying to install apache2-mpm-prefork
If I try to remove sudo dpkg --force-all --remove apache2 apache2-mpm-prefork it says:
dpkg: warning: overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 312983 files and directories currently installed.)
Removing apache2-mpm-prefork ...
I can't install it and I can't remove it.
How can I continue with the rest of my dist-upgrade?
If I dpkg --configure -a then apt-get -f install it will hang on trying to install apache2-mpm-prefork
If I try to remove sudo dpkg --force-all --remove apache2 apache2-mpm-prefork it says:
dpkg: warning: overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 312983 files and directories currently installed.)
Removing apache2-mpm-prefork ...
I can't install it and I can't remove it.
How can I continue with the rest of my dist-upgrade?