Re: Latest update trashed my cygwin install

2006-02-08 Thread Igor Peshansky
On Wed, 8 Feb 2006, Eric Blake wrote:

> According to James Garrison on 2/6/2006 12:25 PM:
> >
> > One question: Can the installer be fed a list of packages to install,
> > or otherwise configured with a different default set of selections?
>
> This is starting to become a FAQ.  It is possible to create a custom
> setup.ini to feed to setup.exe, with all packages you want marked as part
> of the Base package, at which point setup will automatically select those
> packages (and their dependencies).  Search this list for more details.

Even simpler -- you only need *one* package in Base that "requires:" all
the packages you need.  The required packages will be selected
automatically.  Just create a setup.ini with this one pseudo-package, put
it somewhere that can be accessed via http/ftp, and add that location to
your selected mirrors.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
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/



Re: Latest update trashed my cygwin install

2006-02-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to James Garrison on 2/6/2006 12:25 PM:
> 
> One question: Can the installer be fed a list of packages to install,
> or otherwise configured with a different default set of selections?

This is starting to become a FAQ.  It is possible to create a custom
setup.ini to feed to setup.exe, with all packages you want marked as part
of the Base package, at which point setup will automatically select those
packages (and their dependencies).  Search this list for more details.

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD6e1Z84KuGfSFAYARAi9iAKDLPv0xGiNgnEYLP4LCjrymnbrZggCfWIJG
WZjbDAz9MgX81KiTy+36MeY=
=NfzA
-END PGP SIGNATURE-

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



Re: Latest update trashed my cygwin install

2006-02-06 Thread James Garrison
Thanks for the reply. 

Reinstalling package 'base-files' seems to have restored normal operation. 


I found the install logs and can rerun the failed postinstall scripts.

One question: Can the installer be fed a list of packages to install,
or otherwise configured with a different default set of selections?
(Wasn't there once a 'cyginstall' package that could be customized?)

--

James GarrisonAthens Group, Inc.
mailto:[EMAIL PROTECTED]5608 Parkcrest Dr
http://www.athensgroup.comAustin, TX 78731
PGP: RSA=0x92E90A3B DH/DSS=0x498D331C (512) 345-0600 x150



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



Re: Latest update trashed my cygwin install

2006-02-06 Thread Eric Blake
> I updated and when it was running postinstall I got a large number of
> "Entry point not found in cygwin1.dll" popups.  Now bash comes up
> in /usr/bin instead of my home directory and is badly hosed.
> /etc/profile is gone, and all the cygwin directories are missing
> from $PATH.

The bulk of your errors probably stem from the one single
error of installing while cygwin1.dll was resident in memory;
once the postinstalls fail, then $PATH tends to not be set
up correctly, leading to an inability to find ~/.bashrc and
other useful files.

> 
> What I'd like to do is reinstall from scratch, but would like
> to preserve the list of packages I have installed.

Probably overkill.  You most likely will get by with just
rerunning setup.exe (this time with all cygwin processes
stopped), and reinstalling the packages that failed to
upgrade properly last time.

>  Is there
> a simple way to extract a list of installed packages and then
> pass that to a new install?

Yes - follow these problem reporting hints, including the
one about attaching the output of "cygcheck -svr" as a
text attachment.  You'll notice it contains a list of the
packages installed on your machine, as well as some
hints as to what might have failed during your
installation.

> Problem reports:   http://cygwin.com/problems.html

--
Eric Blake

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



Latest update trashed my cygwin install

2006-02-06 Thread James Garrison

I updated and when it was running postinstall I got a large number of
"Entry point not found in cygwin1.dll" popups.  Now bash comes up
in /usr/bin instead of my home directory and is badly hosed.
/etc/profile is gone, and all the cygwin directories are missing
from $PATH.

What I'd like to do is reinstall from scratch, but would like
to preserve the list of packages I have installed.  Is there
a simple way to extract a list of installed packages and then
pass that to a new install?

--
James GarrisonAthens Group, Inc.
mailto:[EMAIL PROTECTED]5608 Parkcrest Dr
http://www.athensgroup.comAustin, TX 78731
PGP: RSA=0x92E90A3B DH/DSS=0x498D331C (512) 345-0600 x150



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