Hi! On Tue, 2014-03-18 at 10:22:02 +0100, Michael Vogt wrote: > Package: dpkg > Version: 1.17.6 > > I got the following error when upgrading the "gyp" package. I ran into > this from a ubuntu machine but I reproduced it in a minimal sid chroot > as well: […]
> After some debugging I think the following is what happens: > > 1. The old package contains a symlink > /usr/lib/python2.7/dist-packages/gyp-0.1.egg-info > 2. The new package contains a directory > /usr/lib/python2.7/dist-packages/gyp-0.1.egg-info > 3. On upgrade the symlink is not replaced with the directory, it still > is a symlink, this causes the error. This is “expected” behaviour, I documented it in the dpkg FAQ because it seems to trip people over. The Debian policy also documents this (§6.6.4). <https://wiki.debian.org/Teams/Dpkg/FAQ#Q:_Will_dpkg_replace_a_symlink_with_a_directory_or_vice_versa.3F> Given the above, I'll be closing this report if there's no other issues besides this one. Thanks, Guillem -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

