[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Solutions for the Apache upgrade hell



Hi!

On Wed, 2014-07-16 at 11:41:25 +0200, Vincent Lefevre wrote:
> On 2014-07-13 13:17:24 +0200, Arno Töll wrote:
> > Unfortunately it turns out, that /a lot/ of people use "aptitude
> > --purge-unused safe-upgrade", or the apt equivalent "apt-get
> > dist-upgrade --purge" which causes dpkg to purge the user's
> > configuration, in particular enabled modules, during the upgrade
> > because apache2.2-common disappears in that step. [...]
> 
> Is there any reason why apt-get/aptitude removes the config files
> just after the package is removed, and not at the end of the upgrade
> process? IMHO, doing the later is safer and would solve this problem
> with Apache.

It just calls dpkg with --purge. Something that would also fix this
issue (among other upgrade problems) is using dpkg “transactions”:

  <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579790#82>

Thanks,
Guillem


Reply to: