Re: Location of entities
Adam Di Carlo <aph@debian.org> writes:
> Actually, the root cause is a bug in dpkg. There's no way, without
> maintainer script work, to convert directories to symlinks during
> package upgrade.
I need to correct myself. Its not a dpkg bug, that's FUD -- it's
documented dpkg behavior. See policy section 6.5.
I've filed an RFE on debhelper to extend dh_link in order to provide
for this case. In my packages, I've "brute-forced" a fix and uploaded
it. Note that downgrades will not quite give you what you get if you
install the downgraded package cleanly, but the variance is harmless.
In short, this is worked around now. The whole "replace dir with
symlink" which is requried by the XML policy is not really inherently
an XML issue, nor is it fixable on the dpkg level. Taht's why I
recommended a debhelper-level fix, which I think is the right level.
Anyhow, any followups on the general problem should probably be
directed to bug #232907 on debhelper.
--
.....Adam Di Carlo....adam@debian.org.....<URL:http://www.debian.org/>
Reply to: