public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash
@ 2016-06-30 10:35 Pavel Kudrna
  2016-06-30 11:57 ` Marco Atzeri
  2016-06-30 14:05 ` Ken Brown
  0 siblings, 2 replies; 8+ messages in thread
From: Pavel Kudrna @ 2016-06-30 10:35 UTC (permalink / raw)
  To: cygwin

Hi,
I have problem installing texlive-collection-basic on 32bit XP. It is 
not fresh install.

If I select texlive only the Cygwin Setup finishes successfully, 
/var/log/setup.log shows

> 2016/06/30 09:30:33 Starting cygwin install, version 2.874
> 2016/06/30 09:30:33 User has backup/restore rights
> 2016/06/30 09:30:33 Current Directory: C:\temp\cygwin
> 2016/06/30 09:30:33 Could not open service McShield for query, start 
> and stop. McAfee may not be installed, or we don't have access.
> 2016/06/30 09:30:36 source: network install
> 2016/06/30 09:30:36 root: C:\PROGRA~1\cygwin system
> 2016/06/30 09:30:37 Selected local directory: C:\temp\cygwin
> 2016/06/30 09:30:38 net: Direct
> 2016/06/30 09:30:40 site: 
> http://ftp-stud.hs-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin/
> 2016/06/30 09:31:01 NOTE!  User refused suggested missing 
> dependencies!  Expect some packages to give errors or not function at all.
> 2016/06/30 09:31:03 Extracting from 
> file://C:\temp\cygwin/http%3a%2f%2fftp-stud.hs-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin%2f/x86/release/texlive/texlive-20160520-1.tar.xz
> 2016/06/30 09:31:05 Changing gid back to original
> 2016/06/30 09:31:05 running: C:\PROGRA~1\cygwin\bin\dash.exe 
> "/etc/postinstall/0p_000_autorebase.dash"
> 2016/06/30 09:31:15 running: C:\PROGRA~1\cygwin\bin\dash.exe 
> "/etc/postinstall/0p_texlive_prep.dash"
> 2016/06/30 09:31:16 running: C:\PROGRA~1\cygwin\bin\dash.exe 
> "/etc/postinstall/0p_update-info-dir.dash"
> 2016/06/30 09:31:17 running: C:\PROGRA~1\cygwin\bin\dash.exe 
> "/etc/postinstall/zp_texlive_finish.dash"
> 2016/06/30 09:31:17 Changing gid to Administrators
> 2016/06/30 09:31:19 note: Installation Complete
> 2016/06/30 09:31:19 Ending cygwin install

Newertheless in /etc/postinstall files I see files

0p_000_autorebase.dash
0p_update-info-dir.dash
0p_texlive_prep.dash
zp_texlive_finish.dash

without .done suffix. Is it already symptom of problem?


The main problem is installing texlive-collection-basic. Setup waits at 
/etc/postinstall/0p_texlive_prep.dash while
in /var/log the file setup.log.runXa03548 grows by repeating lines

       2 [main] perl 3928 child_info_fork::abort: unable to remap 
Util.dll to same address as parent (0x6F0000) - try running rebaseall
Can't fork, trying again in 5 seconds at 
/usr/share/tlpkg/TeXLive/TLUtils.pm line 228.
       1 [main] perl 2520 child_info_fork::abort: unable to remap 
Cwd.dll to same address as parent (0x6C0000) - try running rebaseall
Can't fork, trying again in 5 seconds at 
/usr/share/tlpkg/TeXLive/TLUtils.pm line 228.

If I stop Cygwin Setup using Cancel and then confirm by Yes button the 
/var/log/setup.log shows

> 2016/06/30 09:44:15 Starting cygwin install, version 2.874
> 2016/06/30 09:44:15 User has backup/restore rights
> 2016/06/30 09:44:15 Current Directory: C:\temp\cygwin
> 2016/06/30 09:44:15 Could not open service McShield for query, start 
> and stop. McAfee may not be installed, or we don't have access.
> 2016/06/30 09:44:16 source: network install
> 2016/06/30 09:44:16 root: C:\PROGRA~1\cygwin system
> 2016/06/30 09:44:16 Selected local directory: C:\temp\cygwin
> 2016/06/30 09:44:17 net: Direct
> 2016/06/30 09:44:18 site: 
> http://ftp-stud.hs-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin/
> 2016/06/30 09:44:57 Extracting from 
> file://C:\temp\cygwin/http%3a%2f%2fftp-stud.hs-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin%2f/noarch/release/texlive-collection-basic/texlive-collection-basic-20160520-1.tar.xz
> 2016/06/30 09:45:04 Changing gid back to original
> 2016/06/30 09:45:04 running: C:\PROGRA~1\cygwin\bin\dash.exe 
> "/etc/postinstall/0p_000_autorebase.dash"
> 2016/06/30 09:45:13 running: C:\PROGRA~1\cygwin\bin\dash.exe 
> "/etc/postinstall/0p_texlive_prep.dash"
> 2016/06/30 10:04:49 note: Installation Complete
> 2016/06/30 10:04:49 Ending cygwin install

with surprising "Instalation complete".

But there are still perl and dash processes running which I have to stop.

The command "/usr/bin/rebase-trigger full" does not help. The subsequent 
cygwin Setup spends more time doing 0p_000_autorebase.dash but then 
again 0p_texlive_prep.dash blocks and new /var/log/setup.log.runXa* 
appears with the same info about Util.dll and Cwd.dll.

How to correct it?

PK

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash
  2016-06-30 10:35 Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash Pavel Kudrna
@ 2016-06-30 11:57 ` Marco Atzeri
  2016-06-30 12:24   ` Pavel Kudrna
  2016-06-30 14:05 ` Ken Brown
  1 sibling, 1 reply; 8+ messages in thread
From: Marco Atzeri @ 2016-06-30 11:57 UTC (permalink / raw)
  To: cygwin

On 30/06/2016 11:11, Pavel Kudrna wrote:
> Hi,
> I have problem installing texlive-collection-basic on 32bit XP. It is
> not fresh install.
>
> If I select texlive only the Cygwin Setup finishes successfully,
> /var/log/setup.log shows
>
>> 2016/06/30 09:30:33 Starting cygwin install, version 2.874
>> 2016/06/30 09:30:33 User has backup/restore rights
>> 2016/06/30 09:30:33 Current Directory: C:\temp\cygwin
>> 2016/06/30 09:30:33 Could not open service McShield for query, start
>> and stop. McAfee may not be installed, or we don't have access.
>> 2016/06/30 09:30:36 source: network install
>> 2016/06/30 09:30:36 root: C:\PROGRA~1\cygwin system
>> 2016/06/30 09:30:37 Selected local directory: C:\temp\cygwin
>> 2016/06/30 09:30:38 net: Direct
>> 2016/06/30 09:30:40 site:
>> http://ftp-stud.hs-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin/
>> 2016/06/30 09:31:01 NOTE!  User refused suggested missing
>> dependencies!  Expect some packages to give errors or not function at
>> all.

This eventually is a potential problem


>> 2016/06/30 09:31:03 Extracting from
>> file://C:\temp\cygwin/http%3a%2f%2fftp-stud.hs-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin%2f/x86/release/texlive/texlive-20160520-1.tar.xz
>>
>> 2016/06/30 09:31:05 Changing gid back to original
>> 2016/06/30 09:31:05 running: C:\PROGRA~1\cygwin\bin\dash.exe
>> "/etc/postinstall/0p_000_autorebase.dash"
>> 2016/06/30 09:31:15 running: C:\PROGRA~1\cygwin\bin\dash.exe
>> "/etc/postinstall/0p_texlive_prep.dash"
>> 2016/06/30 09:31:16 running: C:\PROGRA~1\cygwin\bin\dash.exe
>> "/etc/postinstall/0p_update-info-dir.dash"
>> 2016/06/30 09:31:17 running: C:\PROGRA~1\cygwin\bin\dash.exe
>> "/etc/postinstall/zp_texlive_finish.dash"
>> 2016/06/30 09:31:17 Changing gid to Administrators
>> 2016/06/30 09:31:19 note: Installation Complete
>> 2016/06/30 09:31:19 Ending cygwin install
>
> Newertheless in /etc/postinstall files I see files
>
> 0p_000_autorebase.dash
> 0p_update-info-dir.dash
> 0p_texlive_prep.dash
> zp_texlive_finish.dash
>
> without .done suffix. Is it already symptom of problem?
>

No. These special ones are run every time setup runs to handle
key updates.

>
> The main problem is installing texlive-collection-basic. Setup waits at
> /etc/postinstall/0p_texlive_prep.dash while
> in /var/log the file setup.log.runXa03548 grows by repeating lines
>
>       2 [main] perl 3928 child_info_fork::abort: unable to remap
> Util.dll to same address as parent (0x6F0000) - try running rebaseall
> Can't fork, trying again in 5 seconds at
> /usr/share/tlpkg/TeXLive/TLUtils.pm line 228.
>       1 [main] perl 2520 child_info_fork::abort: unable to remap Cwd.dll
> to same address as parent (0x6C0000) - try running rebaseall
> Can't fork, trying again in 5 seconds at
> /usr/share/tlpkg/TeXLive/TLUtils.pm line 228.

How many packages have you installed ?
0x6C0000 is a very low address


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash
  2016-06-30 11:57 ` Marco Atzeri
@ 2016-06-30 12:24   ` Pavel Kudrna
  2016-06-30 14:31     ` Marco Atzeri
  0 siblings, 1 reply; 8+ messages in thread
From: Pavel Kudrna @ 2016-06-30 12:24 UTC (permalink / raw)
  To: cygwin

On 30/06/2016 12:34, Marco Atzeri wrote:
> On 30/06/2016 11:11, Pavel Kudrna wrote:
>> I have problem installing texlive-collection-basic on 32bit XP. It is
>> not fresh install.
>>
>> If I select texlive only the Cygwin Setup finishes successfully,
>> /var/log/setup.log shows

>>> 2016/06/30 09:31:01 NOTE!  User refused suggested missing
>>> dependencies!  Expect some packages to give errors or not function at
>>> all.

> This eventually is a potential problem

I tried that to narrow down the problem so in this case I refused the 
dependency which was on texlive-collection-basic only.


>>> 2016/06/30 09:31:03 Extracting from
>>> file://C:\temp\cygwin/http%3a%2f%2fftp-stud.hs-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin%2f/x86/release/texlive/texlive-20160520-1.tar.xz
>>>
>>>
>>> 2016/06/30 09:31:05 Changing gid back to original
>>> 2016/06/30 09:31:05 running: C:\PROGRA~1\cygwin\bin\dash.exe
>>> "/etc/postinstall/0p_000_autorebase.dash"
>>> 2016/06/30 09:31:15 running: C:\PROGRA~1\cygwin\bin\dash.exe
>>> "/etc/postinstall/0p_texlive_prep.dash"
>>> 2016/06/30 09:31:16 running: C:\PROGRA~1\cygwin\bin\dash.exe
>>> "/etc/postinstall/0p_update-info-dir.dash"
>>> 2016/06/30 09:31:17 running: C:\PROGRA~1\cygwin\bin\dash.exe
>>> "/etc/postinstall/zp_texlive_finish.dash"
>>> 2016/06/30 09:31:17 Changing gid to Administrators
>>> 2016/06/30 09:31:19 note: Installation Complete
>>> 2016/06/30 09:31:19 Ending cygwin install
>>
>> Newertheless in /etc/postinstall files I see files
>>
>> 0p_000_autorebase.dash
>> 0p_update-info-dir.dash
>> 0p_texlive_prep.dash
>> zp_texlive_finish.dash
>>
>> without .done suffix. Is it already symptom of problem?
>>
>
> No. These special ones are run every time setup runs to handle
> key updates.

OK

>>
>> The main problem is installing texlive-collection-basic. Setup waits at
>> /etc/postinstall/0p_texlive_prep.dash while
>> in /var/log the file setup.log.runXa03548 grows by repeating lines
>>
>>       2 [main] perl 3928 child_info_fork::abort: unable to remap
>> Util.dll to same address as parent (0x6F0000) - try running rebaseall
>> Can't fork, trying again in 5 seconds at
>> /usr/share/tlpkg/TeXLive/TLUtils.pm line 228.
>>       1 [main] perl 2520 child_info_fork::abort: unable to remap Cwd.dll
>> to same address as parent (0x6C0000) - try running rebaseall
>> Can't fork, trying again in 5 seconds at
>> /usr/share/tlpkg/TeXLive/TLUtils.pm line 228.
>
> How many packages have you installed ?
> 0x6C0000 is a very low address

At this step texlive-collection-basic only, there was no dependency on 
other packages indicated.

But before it was update of many packages suggested by Setup which was 
not successfull.

Have you any comment on perl and dash processes after manual stop of Setup?

Thank you for help.
PK

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash
  2016-06-30 10:35 Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash Pavel Kudrna
  2016-06-30 11:57 ` Marco Atzeri
@ 2016-06-30 14:05 ` Ken Brown
  2016-06-30 19:55   ` Achim Gratz
  1 sibling, 1 reply; 8+ messages in thread
From: Ken Brown @ 2016-06-30 14:05 UTC (permalink / raw)
  To: cygwin

On 6/30/2016 5:11 AM, Pavel Kudrna wrote:
> The main problem is installing texlive-collection-basic. Setup waits at
> /etc/postinstall/0p_texlive_prep.dash while
> in /var/log the file setup.log.runXa03548 grows by repeating lines
>
>       2 [main] perl 3928 child_info_fork::abort: unable to remap
> Util.dll to same address as parent (0x6F0000) - try running rebaseall
> Can't fork, trying again in 5 seconds at
> /usr/share/tlpkg/TeXLive/TLUtils.pm line 228.
>       1 [main] perl 2520 child_info_fork::abort: unable to remap Cwd.dll
> to same address as parent (0x6C0000) - try running rebaseall
> Can't fork, trying again in 5 seconds at
> /usr/share/tlpkg/TeXLive/TLUtils.pm line 228.

[...]

> The command "/usr/bin/rebase-trigger full" does not help. The subsequent
> cygwin Setup spends more time doing 0p_000_autorebase.dash but then
> again 0p_texlive_prep.dash blocks and new /var/log/setup.log.runXa*
> appears with the same info about Util.dll and Cwd.dll.

I have often found that rebasing doesn't immediately fix fork failures 
until I reboot.  (My guess is that this is due to some kind of caching 
that Windows does.)  I suggest that you try the following:

1. Run /usr/bin/rebase-trigger full again.

2. Reboot.

3. Make sure there are no Cygwin processes running.  (Don't forget about 
services.)

4. Rerun setup, and don't refuse any suggested dependencies.  Be sure to 
install or reinstall texlive-collection-basic, whether or not setup 
suggests it.

If you still have problems and have to write again, please attach 
cygcheck output as requested here:

   http://cygwin.com/problems.html

Ken

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash
  2016-06-30 12:24   ` Pavel Kudrna
@ 2016-06-30 14:31     ` Marco Atzeri
  2016-07-07 12:00       ` Pavel Kudrna
  0 siblings, 1 reply; 8+ messages in thread
From: Marco Atzeri @ 2016-06-30 14:31 UTC (permalink / raw)
  To: cygwin

On 30/06/2016 13:13, Pavel Kudrna wrote:
> On 30/06/2016 12:34, Marco Atzeri wrote:
>> On 30/06/2016 11:11, Pavel Kudrna wrote:
>>> I have problem installing texlive-collection-basic on 32bit XP. It is
>>> not fresh install.

>>
>> How many packages have you installed ?
>> 0x6C0000 is a very low address
>
> At this step texlive-collection-basic only, there was no dependency on
> other packages indicated.

I mean in total

>
> But before it was update of many packages suggested by Setup which was
> not successfull.
>
> Have you any comment on perl and dash processes after manual stop of Setup?
>
> Thank you for help.
> PK
>

Read here
> Problem reports:       http://cygwin.com/problems.html
and provide cygcheck.out

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash
  2016-06-30 14:05 ` Ken Brown
@ 2016-06-30 19:55   ` Achim Gratz
  0 siblings, 0 replies; 8+ messages in thread
From: Achim Gratz @ 2016-06-30 19:55 UTC (permalink / raw)
  To: cygwin

Ken Brown writes:
> I have often found that rebasing doesn't immediately fix fork failures
> until I reboot.  (My guess is that this is due to some kind of caching
> that Windows does.)

The most likely reason would be that ASLR enabled libraries keep their
location until the next reboot, so if one of these collides with some
vital part of Cygwin, rebasing Cygwin is unlikely to help (unless you
identify exactly which library in Cygwin is colliding and rebase it by
hand to some other place, only to have to re-do this after the next
reboot).

If you can avoid 32bit Windows installations, do so by all means.  If
you must use them, keep the number of Cygwin packages you install to the
absolute minimum.  Even then, you will likely run into trouble if you
use any other largish software package alongside Cygwin unless you've
bumped the user virtual address space to 3GB.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash
  2016-06-30 14:31     ` Marco Atzeri
@ 2016-07-07 12:00       ` Pavel Kudrna
  2016-07-07 12:10         ` Marco Atzeri
  0 siblings, 1 reply; 8+ messages in thread
From: Pavel Kudrna @ 2016-07-07 12:00 UTC (permalink / raw)
  To: cygwin

Hi all,
sorry for late response.

I found the solution doing following steps:

1. I removed /etc/postinstall/0p_texlive_prep.dash so setup of 
unaffected packages (i.e. other than texlive-*) did not stall anymore.

2. I unchecked the "Hide obsolete packages" checkbox in Cygwin Setup and 
uninstalled all the packages I had in the "_obsolete" category.

3. I also looked over the Full View of packages and removed all the 
packages which had question mark in the column Size.

After that both texlive and texlive-collection-basic packages became 
installable and reinstallable, i.e. all the /etc/postinstall and 
/etc/preremove scripts including namely the 
/etc/postinstall/0p_texlive_prep.dash run without problems.

Maybe the maintenance like 2. and 3. is already recommended somewhere 
and doing that regularly would prevent my problem.

Thank you for help.
PK

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash
  2016-07-07 12:00       ` Pavel Kudrna
@ 2016-07-07 12:10         ` Marco Atzeri
  0 siblings, 0 replies; 8+ messages in thread
From: Marco Atzeri @ 2016-07-07 12:10 UTC (permalink / raw)
  To: cygwin



On 07/07/2016 14:00, Pavel Kudrna wrote:
> Hi all,
> sorry for late response.
>
> I found the solution doing following steps:
>
> 1. I removed /etc/postinstall/0p_texlive_prep.dash so setup of
> unaffected packages (i.e. other than texlive-*) did not stall anymore.
>
> 2. I unchecked the "Hide obsolete packages" checkbox in Cygwin Setup and
> uninstalled all the packages I had in the "_obsolete" category.
>
> 3. I also looked over the Full View of packages and removed all the
> packages which had question mark in the column Size.

cygcheck-dep can help you to identify packages in such state


>
> Thank you for help.
> PK
>



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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-07-07 12:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-30 10:35 Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash Pavel Kudrna
2016-06-30 11:57 ` Marco Atzeri
2016-06-30 12:24   ` Pavel Kudrna
2016-06-30 14:31     ` Marco Atzeri
2016-07-07 12:00       ` Pavel Kudrna
2016-07-07 12:10         ` Marco Atzeri
2016-06-30 14:05 ` Ken Brown
2016-06-30 19:55   ` Achim Gratz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).