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

Bug#395853: apache2-common: removes symlinks on upgrade



> > How does it do that?
> It does rm -f /var/lib/dpkg/info/apache2-common.postrm in its preinst.

Ok.

> Oh, but they were created by apache2-common.

Sorry, but that's not true. /etc/apache2/conf.d/mediawiki1.7 is created by calling "ln -s" inside mediawiki1.7's postinst.
Besides, apache ain't the only package that has the ability to create files there, right?

> You purged the package, 
> which means that you want to erase all traces of it.  When you at the 
> same time installed another package providing the same files, you are 
> (from the package management point of view) inconsistent and stuff breaks.

I don't quite get your point. /etc/apache2/conf.d/mediawiki1.7 isn't provided by apache.

I just took a look at the postrm file from apache2.2-common and it seems it does not longer try to remove all symlinks in /etc/apache2/conf.d ...
I really appreciate that improvement compared to apache2-common's very greedy behavior.

Thanks,
Thomas
-- 
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl



Reply to: