delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/30/16:49:56

X-Spam-Check-By: sourceware.org
Date: Fri, 30 Jun 2006 16:49:44 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Dave <kilroyd AT googlemail DOT com>
cc: cygwin AT cygwin DOT com, f g <pseudotropeus75 AT yahoo DOT it>
Subject: Re: uninstall cygwin
In-Reply-To: <44A554B2.1060508@gmail.com>
Message-ID: <Pine.GSO.4.63.0606301646350.16001@access1.cims.nyu.edu>
References: <20060630092232 DOT 50874 DOT qmail AT web27410 DOT mail DOT ukl DOT yahoo DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0606301222440 DOT 22269 AT access1 DOT cims DOT nyu DOT edu> <44A554B2 DOT 1060508 AT gmail DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 Fri, 30 Jun 2006, Dave wrote:

> Igor Peshansky wrote:
> > On Fri, 30 Jun 2006, f g wrote:
> >
> > > I would like to uninstall a Cygwin installation under
> > > Windows XP: to do this I follow the instruction in
> >
> > You'll also want to delete the registry key, as outlined in the above
> > instructions.  Oh, and deleting the directory won't remove any
> > shortcuts created by the Cygwin installation packages (like those in
> > the Start Menu or on the desktop, or the associations created by the
> > "chere" package), so it's better to use setup.exe to uninstall
> > everything first, *then* delete the directory and the registry key.
>
> Just to clarify, Igor's procedure won't remove the chere associations
> that he mentioned.
>
> If you don't recognise "chere", then you don't have any associations to
> remove. If someone else set things up for you, run the following command
> (before uninstalling cygwin) to identify any associations:
>
> chere -l
>
> To remove the associations, run
>
> chere -u -s <shell>
>
> for each shell, where <shell> is the shell you installed
> (cmd/ash/bash/tcsh/pdksh/zsh). That's from memory (and I don't uninstall
> that often:), see man chere for accurate information.

Right, thanks for the clarification, Dave.  I forgot that chere needed to
be explicitly invoked to add the association (and thus explicitly invoked
to remove it as well).  This also applies to other packages that need to
be explicitly configured (e.g., sshd, cron, etc).

In any case, the advice still applies -- any package that was installed
using Cygwin setup will need to be uninstalled using Cygwin setup to give
the preremove scripts a chance to run.  Technically, the preremove scripts
should undo whatever the postinstall scripts did (if they don't, it's a
packaging bug).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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

- Raw text -


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