tag 430524 confirmed
clone 430524 -1
reassign -1 dpkg
retitle -1 package upgrade does not replace directory with symlink
thanks

Hi again,

Chris Lawrence [2007-07-11 23:56 -0500]:
> Here's how I worked around the bug here:
> 
> rmdir /usr/share/postgresql/8.2/timezone
> ln -s /usr/share/zoneinfo /usr/share/postgresql/8.2/timezone

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.

I clone this as a dpkg bug and will put a workaround into
postgresql-8.2 now.

Thanks,

Martin

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to