Re: dpkg and symlinks
On Thu, 24 Oct 2002, Nikita V. Youshchenko wrote:
> It is ok to have a symlink in the system when there is a directory in the
> package. This is normal method to put a part of directory tree to a
> separate partition mounted elsewhere.
That's not always supported. The preferred method is to mount directly
such partition under the desired directory.
> But if there is a symlink in the system (e.g. created by mistake) that
> makes two pathnames equivalent, normal dpkg invocation may do bad things.
>
> On the other hand, it should be easy to check on dpkg side - just also
> compare real pathnames (witl symlinks resolved) where now package-provided
> pathnames are compared. Or something similar.
Hmm, dpkg does already perform some checks. What you probably need is
a dpkg which doesn't have --force-overwrite enabled by default.
Reply to: