Re: dpkg's treatment of symlinks
Marco Kuhlmann <mk@debian.org> writes:
> Dear mentors,
Hi,
> I found out a little more about my current troubles with the new
> versions of my packages mozart, mozart-contrib, and
> mozart-doc-html. The phenomenon is this:
>
> Where the old version of mozart contains a _directory_
> /usr/lib/mozart/include and a _symlink_ to it from
> /usr/include/mozart, the new version has a _symlink_
> /usr/lib/mozart/include and a _directory_ /usr/include/mozart.
> After updating from 1.2.3 to 1.2.4, /usr/lib/mozart/include is a
> directory that still contains all the files that were present in
> the old version (although it should be a symlink), and
> /usr/include/mozart is a symlink to /usr/lib/mozart/include, as
> in the old version.
>
> Two questions:
>
> 1. Why is dpkg doing this? (Should it do this? Is
> this related to bug #156463?), and, more pragmatically,
The answer is there:
http://lists.debian.org/debian-devel/2001/debian-devel-200107/msg01666.html
> 2. What do I have to do in order to prevent it from doing it?
See icewm package (maintainer scripts).
Cheers,
--
Jérôme Marant
http://marant.org
Reply to: