This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Need to uninstall many packages, how?

On 21 July 2010 22:18, Brad De Vries wrote:
> Hello everyone. ÂToday I accidentally installed many new packages into
> my cygwin setup, namely X and Gnome, and I didn't want them. ÂHow do I
> uninstall them?
> How this happened:
> 1) I noticed that I had not installed vim, I know I was shocked too,
> but nonetheless, it's true.
> 2) I ran setup.exe,
> ÂÂa) got to the "Select Packages" screen
> ÂÂb) searched for vim
> ÂÂc) opened the Editors category
> ÂÂd) clicked on the first one I saw
> ÂÂOops, I had accidentally selected the GTK interface to vim.
> ÂÂe) setup.exe automatically selected the correct vim package as a
> package dependency, so I simply clicked the GTK vim again until it
> read "Skip."
> ÂÂf) Clicked <Next> enough times to get it to run

Unfortunately setup.exe's makes no attempt to distinguish between
packages selected by the user and those selected by the dependency
resolver. Too late now, but it's worth getting in the habit of
clicking through to the 'Partial' view to check what's going to change
before clicking Next.

> After several minutes of downloading, verifying, installing,
> configuring, post-installing, etc. I realized that it installed a lot
> of X and Gnome related packages. ÂNow I want to remove them all
> because I don't want them. ÂHowever, when I re-run setup.exe and try
> to click the various packages to uninstall, it changes other packages
> that I had previously selected to uninstall back to "keep."

Yep, I think that's setup.exe's most infuriating UI failing. Here's a
ridiculous workaround that might just work: click on all those
packages until you get to 'Source', then click on them all once more
to get them to 'Uninstall'. The trick here is to try to avoid getting
the dependency resolver involved. Otherwise, perhaps apt-cyg or
cyg-apt could help.


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]