Hi,

On Mon, 26 Aug 2013, Guillem Jover wrote:
> The files must not be moved from the old dir to the new symlink-to-dir,
> otherwise dpkg will lose track of them wrt to their canonical path, and

And what about files which are not managed by dpkg?
And files of other packages which are not upgraded at the same time?

I believe that the files which are left-over at the end (i.e. after dpkg
has cleaned up the tree due to the temporary symlink) should be put back
in place when there's no conflicting file (they could also have been
installed by other packages wich were not yet updated to not use the
symlinked directory).

> I went ahead and implemented this command, because once having gone
> over the failure modes, it was easier to just code it down. I'll be
> doing some polishing and testing tomorrow, to be included in an
> imminent push.

Usual practice would be to attach the patch so that others can review
too...

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Discover the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to