Bug#362885: closed by David Nusinow <david_nusinow@verizon.net> (Re: Bug#362885: x11-common: unable to upgrade, rmdir: /usr/X11R6/bin: Directory not empty)
On Mon, May 15, 2006 at 01:28:50PM +0200, Eduard Bloch wrote:
> Indeed. AFAICS that is because the symlink is not part of the x11-common
> package and is created on-the-fly. Another reason why the current
> solution sucks.
Ok, that's fair. Here's what I'll try to implement over the next few days
(although real life promises to keep me busy for about another week, so if
I don't get to it right away please be patient):
1) Move the /usr/X11R6/bin removal attempt to the preinstall
2) If the removal fails, tell the user via a debconf note and fail to
install with an error
3) Ship the symlink as part of the package itself, using x11-common.links
to have debhelper create it as it does the other symlinks in the
package
Are there any other major issues I'm missing? I know this doesn't
automagically move user's files around to make this upgrade transparent,
but I'd rather not break things out from under their noses if possible.
- David Nusinow
Reply to: