public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Setup suggestion: Check for running processes before uninstalling anything.
@ 2015-12-01 23:20 Andrey Repin
  2015-12-02  9:49 ` V.99
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Repin @ 2015-12-01 23:20 UTC (permalink / raw)
  To: All

Greetings, All!

I just got a hard case of stupidity...
Started Cygwin setup before checking if anything is running Cygwin.
Guess, what? It indeed did run. However, setup managed to uninstall mintty
before telling me that there's ssh-pageant running in the background.
I had to dig up and start shell manually to gracefully shutdown the agent.

I think it would be pretty nice of the Setup to check for running processes
before starting to make changes to the environment. IMHO.


-- 
With best regards,
Andrey Repin
Wednesday, December 2, 2015 02:08:30

Sorry for my terrible english...


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Setup suggestion: Check for running processes before uninstalling anything.
  2015-12-01 23:20 Setup suggestion: Check for running processes before uninstalling anything Andrey Repin
@ 2015-12-02  9:49 ` V.99
  0 siblings, 0 replies; 2+ messages in thread
From: V.99 @ 2015-12-02  9:49 UTC (permalink / raw)
  To: cygwin

On 2.12.2015 0:11, Andrey Repin wrote:
> Greetings, All!
>
> I just got a hard case of stupidity...
> Started Cygwin setup before checking if anything is running Cygwin.
> Guess, what? It indeed did run. However, setup managed to uninstall mintty
> before telling me that there's ssh-pageant running in the background.
> I had to dig up and start shell manually to gracefully shutdown the agent.
>
> I think it would be pretty nice of the Setup to check for running processes
> before starting to make changes to the environment. IMHO.
>
Hi Andrey.

Before updating Cygwin is useful to stop running services (as you 
wrote), to check newer version of Setup, then again resume running services.
It is tedious to do it manually on each update.
So, I wrote a short script that can be useful http://pastebin.com/5rR8pbRe

-- 

.: Vlado :.


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-02  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-01 23:20 Setup suggestion: Check for running processes before uninstalling anything Andrey Repin
2015-12-02  9:49 ` V.99

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).