clone 716880 -1 retitle -1 apache2 package upgrade fails if the configuration is inconsistent thanks
Am Sonntag, 14. Juli 2013, 01:51:55 schrieb Vincent Lefevre: > Purging configuration files for apache2.2-common ... > The problem seems to come from the following > /var/lib/dpkg/info/apache2.postinst line in: > > invoke-rc.d apache2 $_dh_action || exit $? > > It may be normal that apache2 can't be restarted, e.g. if the > configuration files need to be updated like here. So, a failure > to restart apache2 is not a reason to leave the system in an > inconsistent state (possibly affecting other packages). I agree that a failed restart should not make package installation fail. We can expect that every configuration with manual modifications needs to be updated in order to work with 2.4. Leaving the system in a half-upgraded state because of that is wrong. Even worse is failing to remove the package because the config test failed. I am cloning this bug for this issue. The problem that apt-get dist-upgrade --purge will remove some conf files is a separate issue. Because of the discussion in this report, let's keep #716880 for this issue. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org