This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: (nwl) Re: Installation problems - post install scripts all give "abnormal exit: exit code=128"

I looked at the BLODA list.   There are a couple of software packages in there that I do have, however I'm not allowed to remove per company policy.   Such as Symantec Anti-virus and even the Embassy Trust Suite.   Heck, I'm not even sure if I can remove Windows Defender for that matter.   Actually, the only piece of software in that list that I do have installed *and* can remove would be Google desktop.
So I'm going to try addressing every other issue that you've suggested first.   Like completely removing Cygwin, search & destroy any cygwin1.dll and then re-install.  I'll also take a look at the rebase package, etc.   Hopefully it won't come down to BLODA being the issue.
But let's say that BLODA is the problem... and I'm not allowed to remove the offending software.   Can I do something like install Cygwin on a different machine and then copy over the entire C:\Cygwin?   I'm betting not, but I'm asking just in case.
Thanks for information.   That is very helpful.   I've got stuff to try to now.


From: on behalf of Larry Hall (Cygwin)
Sent: Thu 4/29/2010 11:37 PM
Subject: (nwl) Re: Installation problems - post install scripts all give "abnormal exit: exit code=128"

On 4/29/2010 11:22 PM, Crow, Frank wrote:
> Hi,
> I recently installed the latest version of the full Cygwin.   I noticed that many things were not working, so I looked at the /var/log/setup.log file.   In that log file, I discovered that all of the package post install scripts failed during installation.    All, except two, give the "abnormal exit: exit code=128" error, such as:
> 2010/04/25 22:58:53 running: C:\cygwin\bin\bash.exe --norc --noprofile /etc/postinstall/
> 2010/04/25 22:59:26 abnormal exit: exit code=128
> 2010/04/25 22:59:26 running: C:\cygwin\bin\bash.exe --norc --noprofile /etc/postinstall/
> 2010/04/25 22:59:53 abnormal exit: exit code=128
> 2010/04/25 22:59:53 running: C:\cygwin\bin\bash.exe --norc --noprofile /etc/postinstall/
> 2010/04/25 23:00:19 abnormal exit: exit code=128
> 2010/04/25 23:00:19 running: C:\cygwin\bin\bash.exe --norc --noprofile /etc/postinstall/
> 2010/04/25 23:00:47 abnormal exit: exit code=128
> 2010/04/25 23:00:47 running: C:\cygwin\bin\bash.exe --norc --noprofile /etc/postinstall/
> 2010/04/25 23:01:14 abnormal exit: exit code=128
> I did some internet searches and have found a couple other people reporting this problem.    Unfortunately, in every case, there has never been a resolution or fix posted in reply.
> I tried a bit of hacking: I went into the /etc/postinstall directory and ran
> all of the post install scripts manually.   While this did have some amount
> of success, it still did not result in a fully functional Cygwin
> installation.   As the scripts ran, many errors were reported.   Too many to
> list here.   But at least now I have the Cygwin and Cygwin-X start menus,
> which I did not have before.
> So my questions are:
> 1. Does anyone know what "exit code=128" or "exit code=129" mean?   Or where
> to find out what those errors mean?
> 2. Does anyone know why all of the post install scripts fail in this manner
> for some installations such as mine?   Or how to better troubleshoot or fix
> the problem(s)?
> Any information is highly appreciated.

Generally, this kind of failure stems from a few common problems:

   1. The existence of another (often old) cygwin1.dll.  Find it.  Remove it.
   2.  Remove BLODA.
   3. Possibly fork failures.  Install the rebase package and run
      rebaseall after reading the README in /usr/share/doc/Cygwin.

Also, make sure you're using the latest 'setup.exe' as found at
Beware of proxies along your path that could be caching an old version.
You want version 2.697.

> Problem reports:

If it's none of the above, please provide cygcheck output as requested by
the link above.

Larry Hall                     <> 
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746


A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

Problem reports:
Unsubscribe info:

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]