X-Recipient: archive-cygwin@delorie.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@x-ray.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@cygwin.com
Subject: Re: setup.exe crashing on postgress uninstall
References: <8540148a0808131044t73cf5888x2c25a4438d456e73@mail.gmail.com> <8540148a0808131049x1b60949fib57e471329590dd5@mail.gmail.com> <48A324D1.8000508@x-ray.at>
In-Reply-To: <48A324D1.8000508@x-ray.at>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

