Mail Archives: cygwin/2006/09/30/21:53:42
Eric Mader wrote:
> Larry Hall (Cygwin) wrote:
>> Eric Mader wrote:
>>>
>>> In the process of messing around w/ the scripts in /etc/postinstall I
>>> ran into a problem w/ find. In an attempt to find scripts where both
>>> the '.sh' and the '.sh.done' versions existed I typed the command:
>>>
>>> find . -name "*.sh" -exec ls \{\}.done \;
>>>
>>> This caused some strange error messages, and left some stalled
>>> processes running 'find' behind. (I can't run this command now
>>> because the successful run of setup.exe cleaned them all up, but
>>> here's the output of a similar use of '-exec' in find:
>>>
>>> $ find . -name "*.sh.done" -exec ls \{\} \;
>>> 197 [main] find 16764 fhandler_dev_zero::fixup_mmap_after_fork:
>>> requested 0x
>>> 430000 != 0x0 mem alloc base 0x430000, state 0x2000, size 1040384,
>>> Win32 error 4
>>> 87
>>> 543 [main] find 16764 c:\cygwin\bin\find.exe: *** fatal error -
>>> c:\cygwin\bi
>>> n\find.exe: *** recreate_mmaps_after_fork_failed
>>>
>>> It takes quite a long time to get a command prompt back after these
>>> error messages, and it leaves behing a stalled process.
>>>
>>> Is this releated somehow to my many failed attempts to run setup.exe,
>>> or is it a know problem w/ find?
>>>
>>
>> Could be a rebase issue. Try installing the package, read the README,
>> and
>> follow the instructions for rebasing your system.
>
> I ran rebaseall (w/ no arguments) and the above find command still fails
> in the same way. Anything else I can try?
Perhaps this will help:
<http://sources.redhat.com/ml/cygwin/2005-09/msg00945.html>
> Is there a way to save the list of installed packages and do a clean
> install?
See /etc/setup/install.db
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
--
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 -