delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/12/22:29:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <41E5EB15.5090203@sneakemail.com>
Date: Thu, 13 Jan 2005 04:29:25 +0100
From: =?ISO-8859-1?Q?Peter_Valdemar_M=F8rch?= <swp5jhu02 AT sneakemail DOT com>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: What is rebase and why did I need to run it on a fresh re-install?

I was having no end of trouble after upgrading my cygwin installation...

So I wiped the entire
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
registry key, and wiped C:\cygwin completely and reinstalled everything 
again. Still the same problems...

Finally, after fiddling with XWin.exe, I discovered this:
      31 [main] XWin 1604 fork_copy: linked dll data/bss pass 0 failed, 
0x84B000.
.0x84B050, done 0, windows pid 1632, Win32 error 87

Searching for this lead me to an often repeated suggestion: install 
rebase and run rebaseall. I ignored a HEAVY warning to only run this if 
I *really* know what I'm doing, and tried it anyway. It worked!

Now:
* What does rebase do?
* Why did I need to run it on my fresh cygwin install?
* Why does Larry Hall recommend to run it, when there is a prominent 
warning not to, unless I've "got a clue"?
* What did I do wrong when I upgraded my installation?

I suspect:

I had a previous Local Package Directory, that got trashed. When I 
upgraded, a new Local Package Directory got created containing the 
packages that got re-installed. Today, I wiped c:\cygwin completely, and 
re-used the new Local Package Directory, and more packages got 
downloaded into it. Is it the re-use of the Local Package Directory that 
is the root-cause of my problem? If so, what is the purpose of a Local 
Package Directory in the first place?

Also, during my upgrade yesterday, apparently I had some cygwin process 
running, because setup.exe couldn't run any of the postinst.sh scripts. 
"Entry point missing in cygwin.dll" or something like that. (Darn - I 
didn't write it down at the time). Is the Local Package Directory 
supposed to get modified by Post Install? And *that* trashed my Local 
Package Directory?

Confused,

Peter
-- 
Peter Valdemar Mørch
http://www.morch.com

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