public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Need to uninstall many packages, how?
Date: Wed, 21 Jul 2010 21:55:00 -0000	[thread overview]
Message-ID: <AANLkTil555RFNlyJ41AZS0DzFU8GKKq2CR0KpssQmBYF@mail.gmail.com> (raw)
In-Reply-To: <AANLkTingEb_HFHfSN4u3WlIaX6UbqA6XWEVaNqyfjjoK@mail.gmail.com>

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.

Andy

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

  reply	other threads:[~2010-07-21 21:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-21 21:50 Brad De Vries
2010-07-21 21:55 ` Andy Koppe [this message]
2010-07-22  3:01 ` Larry Hall (Cygwin)
2010-07-22  4:55 ` Alex Leigh
2010-07-22  5:11   ` Christopher Faylor
2010-07-22  7:37     ` Andy Koppe
2010-07-22  5:13   ` Brad De Vries
2010-07-22 19:48     ` Andrey Repin
2010-07-26 17:10     ` Brad De Vries

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTil555RFNlyJ41AZS0DzFU8GKKq2CR0KpssQmBYF@mail.gmail.com \
    --to=andy.koppe@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).