On Sat, Aug 04, 2007 at 01:00:00PM +0200, Martin Pitt wrote:
>Aah, I got it now. This is evidently a dpkg bug. The previous version
>ships /usr/share/postgresql/8.2/timezone/ with content, the next
>version ships a symlink /usr/share/postgresql/8.2/timezone ->
>../../timezone. When purging the old version and installing the new
>one, it works, but when upgrading the package, dpkg leaves the empty
>directory /usr/share/postgresql/8.2/timezone/ around without replacing
>it with a symlink.

This is documented behaviour.  See section 6.6 (4) of Debian Policy:

  "A directory will never be replaced by a symbolic link to a directory
   or vice versa; instead, the existing state (symlink or not) will be
   left alone and `dpkg' will follow the symlink if there is one."

--bod


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to