This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: how to update
- From: Tom Schutter <t dot schutter at comcast dot net>
- To: cygwin at cygwin dot com
- Date: Thu, 9 Aug 2012 19:14:17 -0600
- Subject: Re: how to update
On 03 Aug 2012 09:34:14, Larry Hall wrote:
> On 8/2/2012 6:10 PM, J.V. wrote:
> > I want cygwin to silently run the package manager and update my system
> > everytime I login.
> >
> > I have over 100 vm's that I use for various things and it is quite the
> > hassle to update every component in the system on each launch so am looking
> > for solutions or ideas on how to automatically update things like:
> >
> > cygwin
>
> See <http://cygwin.com/faq-nochunks.html#faq.setup.cli>
You can't run the package manager every time you login, because many
times you must kill all Cygwin processes (which includes your login
shell) during the update.
For a script that makes use of the FAQ section that Larry mentioned, see:
https://github.com/tschutter/AppData/blob/master/bin/cygwin_setup.bat
It is not perfect, but it does do 80% of the work. It does stop Cygwin
services, but it does not stop non-service Cygwin processes. The next
improvement is to detect those...
--
Tom Schutter
--
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