Mail Archives: cygwin/2007/02/03/17:22:14
On Sat, Feb 03, 2007 at 01:54:50PM -0700, Morgan Gangwere wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>jgbk9 wrote:
>> Despite warnings, I replaced the cygwin profile and bashrc files, and I cant
>> seem to remember how to recover from this. Reinstalling cygwin doesnt do any
>> good at all. Any help?
>
>you can recover... but its difficult.
>
>a: open the registry editor. find any and all entries with the reged
>"cyg*" in them (name & value)
>b: delete the install dir (usu. C:\cygwin\)
>c: delete all menu entries and shortcuts.
>d: delete the temp dir that you used for downloading the tar.gz
>packages. i use a location like "C:\Cygtemp\" or "C:\CygPackages\"...
>usually the installer likes keeping the packages with the installer.
>look in the dir you saved the installer in.
>e: run through making sure EVERYTHING is gone about Cygwin. if you have
>DeepFreeze or BackupsAreWonderful, backup your data that has changed
>over the time you used cygwin and then revert to before you ran the
>installer. this is a good first step.
>d: run the installer.
>
>that should fix it!
>I had to do this once because I didnt install the right packages and
>everything fell to pieces... we need an un-installer.
Not for the above we don't. While I'm sure firing up regedit and
deleting things made you feel knowledgable, there is no reason to do
anything like the above. Reinstalling cygwin "from scratch" is a
superstitious behavior and is not usually necessary. However, if you
can't find a chicken to sacrifice at a crossroads at midnight and feel
like you really must wipe out everything related to cygwin prior to a
reinstallation, just removing c:\cygwin (or whereever you installed it)
and everything below it and wiping out the directory that you use for
downloading should be adequate. Specify a new cygwin root directory and
a new download directory if you must. There is, however, no reason to
run regedit.
In general, if something isn't working right, it means that you need to
do some research. Things don't magically start working just by
uninstalling and reinstalling multiple times.
cgf
--
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 -