Design of setup.exe can make uninstallation of circularly dependent packages impossible

2004-08-23 Thread Sridhar Ramesh
I'm not sure if this is the right mailing list for this, but I'll give it a shot 
anyway.

I've been trying to uninstall the X11 packages for Cygwin, but a circular dependency 
combined with the nature of setup.exe seems to make this impossible. xorg-x11-bin 
requires libXft and libXft requires xorg-x11-bin. So, if both are installed, they 
become very difficult to remove: First you select one for uninstallation, then when 
you go to select the other for uninstallation you must toggle from Keep to Reinstall 
first, which reselects the first one for installation. The only possible way to select 
two things at once is if both are in the same category, but in this case, they aren't, 
so it appears there really is no way out. The same circular dependency problem exists 
with xorg-x11-bin and libXft1.

It seems this problem could easily be fixed if setup.exe toggled from Keep to 
Uninstall before toggling to Reinstall, instead of the current scheme. Then one could 
select packages for uninstallation without accidentally activating dependencies, and 
circularly dependent packages in different categories could thus be uninstalled.

Like I said, I'm not sure if this is the right mailing list on which to point out this 
problem. But for the time being, I just wanted to bring this to some attention (and 
also ask if there is any other way to uninstall X11).

-Sridhar Ramesh


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Circular dependency between xorg-x11-bin and libxft makes uninstallation impossible

2004-08-10 Thread Sridhar Ramesh
I'm not sure if this is the right mailing list for this, but it's about Cygwin X11 
packages, so I think I'm in the right place.

I've been trying to uninstall the X11 packages for Cygwin, but a circular dependency 
combined with the nature of setup.exe seems to make this impossible. xorg-x11-bin 
requires libXft and libXft requires xorg-x11-bin. So, if both are installed, they 
become very difficult to remove: First you select one for uninstallation, then when 
you go to select the other for uninstallation you must toggle from Keep to Reinstall 
first, which reselects the first one for installation. The only possible way to select 
two things at once is if both are in the same category, but in this case, they aren't, 
so it appears there really is no way out. The same circular dependency problem exists 
with xorg-x11-bin and libXft1.

Like I said, I'm not sure if this is the right mailing list on which to point out this 
problem, and if the circular dependency can't be changed, perhaps what really needs 
changing is the toggling order in Setup.exe between Keep, Reinstall, Uninstall, 
etc. But for the time being, I just wanted to bring this to some attention (and also 
ask if there is any other way to uninstall X11).

-Sridhar Ramesh



Re: Circular dependency between xorg-x11-bin and libxft makes uninstallation impossible

2004-08-10 Thread Sridhar Ramesh
Unfortunately, at the start of a second run of setup.exe, setup will notice the 
missing package and reselect it for installation, it being a dependency of the 
non-missing package. Therefore, the second run of setup.exe starts off the same way 
the first run of setup.exe does, and so the second run of setup.exe can leave one no 
better off than the first one can.

-Sridhar Ramesh

 Hello Sridhar,
 
 Am Dienstag, 10. August 2004 um 21:37 schriebst du:
 
 I'm not sure if this is the right mailing list for this, but it's about
 Cygwin X11 packages, so I think I'm in the right place.
 
 I've been trying to uninstall the X11 packages for Cygwin, but a 
 circular dependency combined with the nature of setup.exe seems to make
 this impossible. xorg-x11-bin requires libXft and libXft requires
 xorg-x11-bin. So, if both are installed, they become very difficult to
 remove: First you select one for uninstallation, then when you go to
 select the other for uninstallation you must toggle from Keep to
 Reinstall first, which reselects the first one for installation. The
 only possible way to select two things at once is if both are in the
 same category, but in this case, they aren't, so it appears there really
 is no way out. The same circular dependency problem exists with
 xorg-x11-bin and libXft1.
 
 Like I said, I'm not sure if this is the right mailing list on which to
 point out this problem, and if the circular dependency can't be changed,
 perhaps what really needs changing is the toggling order in Setup.exe
 between Keep, Reinstall, Uninstall, etc. But for the time being, I
 just wanted to bring this to some attention (and also ask if there is
 any other way to uninstall X11).
 
 Run setup.exe twice?
 
 Gerrit -- =^..^=