delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/13/15:04:48

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48A33035.8010404@x-ray.at>
Date: Wed, 13 Aug 2008 21:04:21 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: setup.exe crashing on postgress uninstall
References: <8540148a0808131044t73cf5888x2c25a4438d456e73 AT mail DOT gmail DOT com> <8540148a0808131049x1b60949fib57e471329590dd5 AT mail DOT gmail DOT com> <48A324D1 DOT 8000508 AT x-ray DOT at>
In-Reply-To: <48A324D1.8000508@x-ray.at>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Reini Urban schrieb:
> William Deegan schrieb:
>> I just downloaded latest setup.exe and ran it to update my current 
>> packages.
>> When it got to uninstalling postgresql prior to installing the new
>> version, it crashed and hung.
> 
> I remember having experimented with a postinstall script.
> This was a failed attempt, and should be removed, if so.
> 
> mv /etc/preremove/postgresql.sh*
> 
> Which version do you want to uninstall exactly?
> 
>> Any suggestions how to get past this/capture useful information to
>> file a bug with?
>>
>> Also, if I instruct setup.exe to keep the current version of
>> postgress, then it doesn't crash.
>>
>> See attached cygcheck -s for info on packages.

Just saw this attachment. You have 8.1.4-2 and no postgresql
postinstall scripts.

Most likely your postgresql service is still running and
setup cannot remove services in use.

$ /etc/rc.d/init.d/postgresql stop
$ /etc/rc.d/init.d/postgresql uninstall

before uninstalling it via setup.exe.
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/

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