delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/26/12:24:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 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: <AANLkTilB-PqCa58NkgXNGCU0Er6DexRbUaRyVUJQI6HJ@mail.gmail.com>
References: <AANLkTingEb_HFHfSN4u3WlIaX6UbqA6XWEVaNqyfjjoK AT mail DOT gmail DOT com> <AANLkTinvMTF2fWtjEfXPxsw2yFV24BJVO6sPbe1TXGmB AT mail DOT gmail DOT com> <AANLkTilB-PqCa58NkgXNGCU0Er6DexRbUaRyVUJQI6HJ AT mail DOT gmail DOT com>
From: Brad De Vries <devriesbj AT gmail DOT com>
Date: Mon, 26 Jul 2010 12:23:15 -0400
Message-ID: <AANLkTikcqnccg_zf+wDxnb9r7M_zqE5ZLq0vbDMqLheH@mail.gmail.com>
Subject: Re: Need to uninstall many packages, how?
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 Thu, Jul 22, 2010 at 1:11 AM, Brad De Vries <devriesbj AT gmail DOT com> wrote:
> On Wed, Jul 21, 2010 at 11:01 PM, Alex Leigh <leigh AT hcs DOT harvard DOT edu> wrot=
e:
>> On Wed, Jul 21, 2010 at 5:18 PM, Brad De Vries wrote:
>>>
>>> After several minutes of downloading, verifying, installing,
>>> configuring, post-installing, etc. I realized that it installed a lot
>>> of X and Gnome related packages. =A0Now I want to remove them all
>>> because I don't want them. =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."
>>> The only option I see that's available to me is to completely
>>> uninstall cygwin and then re-install the packages I do want. =A0That
>>> does not sound fun and I'm hoping someone has a better idea of how to
>>> remove lots of related packages.
>>>
>>
>> I've also run into this annoyance and I found another workaround you
>> could try. First, empty the Cygwin package cache on your local
>> computer. Then run Setup.exe, choosing "Install from local directory".
>> Then you can click on packages to uninstall them without cycling
>> through the "Reinstall" option which is what's causing dependent
>> packages to be reset to "Keep".
>>
>> Alex
>
> Thanks Alex, and everyone else that made suggestions. =A0I'll give this
> a try tomorrow and report back.
>
> BTW, I second the motion to fix setup.exe.
>
> Brad.

Well, I tried several times to get rid of all the undesired packages
and I ended up deleting the entire cygwin install and re-installing it
-- what a pain!

The biggest problem I ran into with the suggestion to "install from
local directory" was that it lost all the categories, not good, along
with the dependencies, a good thing.  What I tried to do was use the
original setup directory details and get a list of all the packages in
the Gnome and X categories.  Then I re-ran setup without the original
setup directory and tried to find the packages to uninstall, but the
vast majority were not listed.  I tried again with only package cache
removed and the original setup.ini in place, then all the categories
were listed but the dependencies were back.

I tried various other options but in the end, it was easier to delete
and re-install.

Anyway, thanks for everyone's suggestions.

Brad.

--
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