On Tue, 07 Apr 2009, Jayen Ashar wrote:
> I've created a package for a proprietary software that bundles with
> java.  We've decided since then to replace the bundled java with a
> symlink to the system java, but when our systems update the package,
> they are left with an empty directory.  I have attached some small test
> packages that exhibit this problem if you do an update, but not if you
> do a removal and install.

This is normal and unrelated to the bug 182747. If you want to replace a
directory by a symlink you have to do that in the maintainer scripts on
upgrade. Same for replacing a symlink with a directory. That's because
dpkg tries to preserve admin changes between symlinks and directories
(Debian policy document this).

Cheers,
-- 
Raphaël Hertzog

Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny :
http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/




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

Reply via email to