delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/23/19:00:42

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=DgxrXfufaj4q2oI5
ofrplhnQYaMlny50D3zoTiWfNhgKzBqwdi6uAFWp+M7ka5Of5pJDD7KGoSWHAhKN
kTY+8s6R4Ctd68SMJGjstNnysfk8QPmJDIyXfE6b3/JpyaObkq8EpdymQkB8DxVk
fKozzjtig20Eg6vP9QjfIQog34c=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=hxn5hbJpY9Wa1OaZazgDLr
THOIE=; b=P6ok+E+L3S7qeSj0Y1JNpzbVcaEurCxNI4D9th2qnkrjFspZcmT+Wh
rB3HMvDvEJbGIQDv9WbDAeDK5FawTUBBpyB14ARBcUmWyC0JhEEZRCBwf/A4uwNM
NqANnhFDv8dQPDj0QV0idEZsGMrTHWiiIxY6mUO9z161E7WO7deRY=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:64.59.134.9, H*RU:64.59.134.9, xz, differing
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.2 cv=JOx5iICb c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=Hjx4kWVJlTojAzqZWP0A:9 a=QEXdDO2ut3YA:10
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: The procedure entry point could not be located in cygwin1.dll
References: <CAF6RNtiDHaiSNW=n5oBEgwu1psj-=Mm_7-jtY7P1Zb1yNXukaA AT mail DOT gmail DOT com>
To: cygwin AT cygwin DOT com
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <79674102-e1fb-ae31-5599-eca1f2810747@SystematicSw.ab.ca>
Date: Fri, 23 Sep 2016 17:00:10 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <CAF6RNtiDHaiSNW=n5oBEgwu1psj-=Mm_7-jtY7P1Zb1yNXukaA@mail.gmail.com>
X-CMAE-Envelope: MS4wfJ5ZW7AQPpRCfwlGpHd5CRXerPeNXxKWv1xn7K7V27WSDlkb905Wjwr/8Qd+ECrreiDIT8Y6O6NnxsKWclNNjkqa6ILg2Q+Kekkl6c2c2mppm+YQKDOD 0hH9CWAj8m2bFP4WFb130SqotLIB5esmoJUFQMcZv9ZBbHy5b9TdTjJTwhUefSaA7g9t/QEmB1i/BQ==
X-IsSubscribed: yes

On 2016-09-23 14:50, William Forsyth wrote:
> I broke my win XP cygwin install such that bash fails to start.
> I used Setup.exe version 2.870.
> The install failed when trying to run the postinstall bash scripts.
> After the install failure bash fails every time with:
> The procedure entry point __locale_ctype_ptr could not be located in
> the dynamic link library cygwin1.dll.
> The install failed because it tried to install cygwin 2.6.0 which is
> not compatible with winxp.
> I reran Setup.exe to grab cygwin version 2.5.2-1 but the install still
> fails with the same cygwin1.dll error.
> Already tried to grab cygwin version 2.5.0 (which is the last known
> good cygwin version that ran on my machine) from the time machine, but
> I keep getting the same cygwin1.dll error.  Any ideas how to fix this.

Try rolling back the packages installed after and including cygwin 2.6
to previous release.
You can find the packages in /var/log/setup.log starting with the first
occurrence of cygwin-2.6.0-1.tar.xz using something like the following:

$ cygstart .../setup-x86 -x `sed '1,/cygwin-2\.6\.0-1\.tar\.xz$/d;
/^2016.*\/x86\(_64\)\?\/release\//!d;s///;s!^.*/!!;
s/-[0-9][-.0-9]\+\.tar\.xz$//' /var/log/setup.log | sort -u | paste -d, -s -`

where there should be no spaces or newlines in the sed command list.

This starts setup with the list of packages you need to rollback set
up to Uninstall or Reinstall: you just need to click on that column
for each package, until it shows the previous version differing from
the current version.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019