On Friday 19 August 2005 13:45, Wouter Coekaerts wrote: > I don't know anything about how symlinks are supposed to be handled > in .debs, but as long as nobody can point out what was done wrong in the > packaging of linux-headers-2.6.12-1, this could just as well concidered a > bug in dpkg, as it looks like it handled this upgrade wrong. (after a bit of googling which I should have done first) : From Debian Policy Manual , 6.5 Details of unpack phase of installation or upgrade: "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." So it is documented behaviour. And http://lists.debian.org/debian-mentors/2004/07/msg00425.html suggests removing the symlink in preinst is what should be done. Wouter.
Attachment:
pgpVQilyNigEc.pgp
Description: PGP signature