delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/21/17:50:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTingEb_HFHfSN4u3WlIaX6UbqA6XWEVaNqyfjjoK@mail.gmail.com>
References: <AANLkTingEb_HFHfSN4u3WlIaX6UbqA6XWEVaNqyfjjoK AT mail DOT gmail DOT com>
Date: Wed, 21 Jul 2010 22:50:10 +0100
Message-ID: <AANLkTil555RFNlyJ41AZS0DzFU8GKKq2CR0KpssQmBYF@mail.gmail.com>
Subject: Re: Need to uninstall many packages, how?
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 21 July 2010 22:18, Brad De Vries wrote:
> Hello everyone. =C2=A0Today I accidentally installed many new packages in=
to
> my cygwin setup, namely X and Gnome, and I didn't want them. =C2=A0How 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,
> =C2=A0=C2=A0a) got to the "Select Packages" screen
> =C2=A0=C2=A0b) searched for vim
> =C2=A0=C2=A0c) opened the Editors category
> =C2=A0=C2=A0d) clicked on the first one I saw
> =C2=A0=C2=A0Oops, I had accidentally selected the GTK interface to vim.
> =C2=A0=C2=A0e) setup.exe automatically selected the correct vim package a=
s a
> package dependency, so I simply clicked the GTK vim again until it
> read "Skip."
> =C2=A0=C2=A0f) 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. =C2=A0Now I want to remove them all
> because I don't want them. =C2=A0However, 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019