Re: Bug#395853: apache2-common: removes symlinks on upgrade
* Tollef Fog Heen (tfheen@err.no) [061029 06:54]:
> * "Thomas Schoepf"
>
> | > Given that a2dissite is not called as part of any of the maintainer
> | > scripts for apache2.2-common, I somehow don't think the problem lies
> | > with Apache here.
> |
> | apache2-common does remove all symlinks in its postrm on purge:
> |
> | for i in `find /etc/apache2 -type l`; do
> | rm -f "$i"
> | done
>
> Then don't purge it before installing apache2.2. apache2.2-common
> works around this. As this seems to be an user error rather than an
> error in the package, there's nothing we can do to fix this. Mind if
> I close the bug?
Yes, I mind. I have done the following test:
apt-get --purge install apache2
ln -s $somefile /etc/apache2/site-enabled/testsite
(added sid to sources.lists)
apt-get --purge install apache2
and the symlink was gone.
I propose the following workaround: Upload a new apache2 version into
sarge for the next pointrelease which fixes the postrm code - as usual
the release notes will propose to use the latest point release, so that
should work.
Cheers,
Andi
--
http://home.arcor.de/andreas-barth/
Reply to: