[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#362885: x11-common: unable to upgrade, rmdir: /usr/X11R6/bin: Directory not empty



#include <hallo.h>
* Steve Langasek [Sun, Apr 16 2006, 04:58:25PM]:

> If you ask me, I think it's better to keep the vast majority of irritating
> bugs confined to unstable, and only make users of stable deal with the
> single issue of moving their files out of /usr/X11R6/bin; which is why I
> asked David to implement this transition when it became clear that things
> were breaking because of the move to /usr/bin.

I agree with most of your arguments, especially because our default bash
PATH is still pointing to /usr/X11R6/bin, but there is one thing which I
actually reported...  if there is cruft remaining in the directory, the
whole upgrade should _not_ break.

Implementing an unsafe single "rmdir" and hope that it won't
fail is IMO not a proper solution.  If the directory must be moved out
of the way, then it should be renamed. Or the old contents need to be
moved to the new location, possible correcting symlinks (tell me if you
wish me to write a perl script to implement this reallocation, I wanted
to do that anyway).

And sorry if I repeated something already reaported and you needed to
repeat answers, but the problems are there, and there would be much less
bug reports if we had a d-d-a announcement, etc.

Eduard.



Reply to: