Re: dpkg bug?
On Thu, Jun 03, 1999 at 12:34:35PM +0200, Santiago Vila wrote:
> The new recode 3.5 now contains a library, so following policy about
> shared libraries I have splitted the main package in three: recode,
> librecode0 and librecode-dev.
>
> However, I had the "bright" idea of taking advantage of the fact that
> recode depends on librecode0 by making /usr/doc/recode to be a symlink
> to /usr/doc/librecode0.
>
> Well, dpkg does not handle this. When upgrading from recode 3.4.1,
> /usr/doc/recode becomes an empty directory, not a symlink.
I had the same situation with dotfile modules. Dpkg simply did not
want to replace directories with symlinks.
> Questions:
>
> *) Is this a dpkg bug?
Most probably.
> *) Regardless of it being a bug or not: It is documented that probably it
> should not be done?
I don't know. I've handled it manually, in preinst.
--
enJoy -*/\*- http://jagor.srce.hr/~jrodin/
Reply to:
- References:
- dpkg bug?
- From: Santiago Vila <sanvila@unex.es>