delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/17/00:56:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <414A6F40.FACE0590@dessent.net>
Date: Thu, 16 Sep 2004 21:59:44 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: So how do you uninstall Cygwin?
References: <20040917032837 DOT A419F84C4D AT pessard DOT research DOT canon DOT com DOT au>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

luke DOT kendall AT cisra DOT canon DOT com DOT au wrote:
> 
> It occurred to me, while trying to work out why ssh isn't working on a
> laptop that we installed Cygwin on recently, to wonder whether the
> information at http://cygwin.com/faq/faq_2.html#SEC19 (How do I uninstall
> all of Cygwin?) could be a little more helpful.
> 
> It gives good advice, but ends by saying:
> 
>     It's up to you to deal with other changes you made to your
>     system, such as installing the inetd service, altering system
>     paths, etc. Setup would not have done any of these things
>     for you.
> 
> This is true.  But for ssh, and other packages, is there any useful
> advice that could be given on how to uninstall?
> 
> I'm wondering how I get the machine back into a pristine state to try a
> re-install, since perhaps some of our post-install changes screwed
> things up.  (ssh normally works just fine.)

Remove any services you might have installed ("cygrunsrv -R ssh") and
remove all entries from the mount table ("umount -a") and that should
pretty much do it, assuming of course you removed the main installation
directory as well.

Personally, though, if I were you and trying to fix ssh I'd worry just
about ssh.  Remove the service and any created files (pid, log,
$HOME/.ssh, etc.) and then re-reun ssh-{host,user}-config.  Removing
everything and reinstalling "pristine" is one of those things that
everyone likes to do but it always seemed to me like the equivalent of
crushing the entire car and melting it down to raw scrap steel to fix
the scratch in the side of the door.  But, I will admit, it does work in
a lot of cases (due to e.g. permission errors on the original install.)

Brian

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