Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"timed out waiting for helper registration" while downloading 12.6.3 Monterey installer #119

Open
UNIVAC-Colonel-Panic opened this issue Mar 25, 2023 · 10 comments

Comments

@UNIVAC-Colonel-Panic
Copy link

I'm running macOS 11.7.4.

(snip)
Downloading http://swcdn.apple.com/content/downloads/17/14/032-33828-A_KX25OQBX8S/lz9yip4rmenyju8nkv4wpaqtdmvzfogkcb/InstallInfo.plist...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   188    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
Making empty sparseimage...
installer: Package name is macOS Monterey
installer: Installing at base path /private/tmp/dmg.L0xS86
installer: The install was successful.
*********************************************************
*** Working around a very dumb Apple bug in a package ***
*** postinstall script that fails to correctly target ***
*** the Install macOS.app when installed to a volume  ***
*** other than the current boot volume.               ***
***       Please file feedback with Apple!            ***
*********************************************************
Product downloaded and installed to /Volumes/apfs-100gb-dynamic/Install_macOS_12.6.3-21G419.sparseimage
Making read-only compressed disk image containing Install macOS Monterey.app...
........................................................................................................2023-03-25 15:41:51.277 hdiutil[8394:330543] -[DIHelperProxy(Thread) waitForHelperDone] timed out waiting for helper registration
.......................
created: /Volumes/apfs-100gb-dynamic/Install_macOS_12.6.3-21G419.dmg
Disk image created at: ./Install_macOS_12.6.3-21G419.dmg

There is plenty of disk space available on root i.e. the startup disk (41gb) and on /Volumes/apfs-100gb-dynamic: (45gb).

@gregneagle
Copy link
Contributor

No other reports of this. I've created Big Sur, Monterey, and Ventura installer dmgs several times since this was posted. Is this reproducible?

@UNIVAC-Colonel-Panic
Copy link
Author

thanks for the response. it had been reproducible several times when i initially reported it. i will try again and report back in a day or two.

@gregneagle
Copy link
Contributor

I wonder if this is a bad interaction with some locally-installed security software -- something that is interfering with the mounting or creation of disk images.

@UNIVAC-Colonel-Panic
Copy link
Author

FYI, a couple of weeks ago my Mac upgraded from macOS 11.7.4 to 11.7.8.

The download for the 12.6.3 Monterey installer is no longer an option, however, I have finished downloading 12.6.4 to 12.6.7. The hdiutil error:

[DIHelperProxy(Thread) waitForHelperDone] timed out waiting for helper registration

happened for every one, so yeah it is consistently reproducible. It happens around 30 minutes into the whole process.

I carefully monitored disk space available for each version. The startup disk (root file system) stayed at about 50g free. I downloaded these installers to a separate filesystem and never let the space available get below about 32g. I didn't realize the 12g InstallAssistant.pkg stays around after the python script finishes. Here's the one for 12.6.7 that I found in the directory content/downloads/18/30/032-97690-A_RNQLC09SLR/rd7o4w50xrst3ofw3bhlbkjypi24eldqop:

-rw-r--r-- 1 root admin 12406425078 Jul 14 18:01 InstallAssistant.pkg

When disk space available is too low, I have seen this be the cause for a different hdiutil error:

Command '[u'/usr/bin/hdiutil', u'create', u'-fs', u'HFS+', u'-srcfolder', u'/private/tmp/dmg.lIqgj4/Applications/Install macOS Monterey.app', u'./Install_macOS_12.6.4-21G526.dmg']' returned non-zero exit status 1

There is no locally-installed security software that I'm aware of but I can see why that could be a factor.

So bottom line, the "timed out" error is consistently reproducible and doesn't appear to be related to disk space available at all.

@volsk
Copy link

volsk commented Aug 2, 2023

Same with different installer. Disk space is definitely not the issue.

Making empty sparseimage...
installer: Package name is macOS Ventura
installer: Installing at base path /private/tmp/dmg.NMzdbs
installer: The install was successful.
*********************************************************
*** Working around a very dumb Apple bug in a package ***
*** postinstall script that fails to correctly target ***
*** the Install macOS.app when installed to a volume  ***
*** other than the current boot volume.               ***
***       Please file feedback with Apple!            ***
*********************************************************
created: /Users/<me>/macadmin-scripts/Install_macOS_13.5-22G74.dmg
                                                                  Adding seeding program DeveloperSeed extended attribute to app
Product downloaded and installed to /Users/<me>/macadmin-scripts/Install_macOS_13.5-22G74.sparseimage
Making read-only compressed disk image containing Install macOS Ventura.app...
...................................................................................................2023-08-02 09:52:28.118 hdiutil[22161:2830225] -[DIHelperProxy(Thread) waitForHelperDone] timed out waiting for helper registration

@gregneagle
Copy link
Contributor

I have yet to see this issue ever, and in the last week I built installer dmgs for the latest Big Sur, Monterey, and Ventura versions as well as Beta 4 of Sonoma. The machine I'm using is an iMac Pro running Monterey. Maybe this is a Ventura issue I have not yet seen?

@gregneagle
Copy link
Contributor

Also interesting that the original r/w non-compressed disk image succeeds:
created: /Users/<me>/macadmin-scripts/Install_macOS_13.5-22G74.dmg
But the conversion to read-only compressed disk image is what failed (at least for @volsk)

@gregneagle
Copy link
Contributor

Still working as expected here:

Making empty sparseimage...
installer: Package name is macOS Sonoma beta
installer: Installing at base path /private/tmp/dmg.N67e0Q
installer: The install was successful.
*********************************************************
*** Working around a very dumb Apple bug in a package ***
*** postinstall script that fails to correctly target ***
*** the Install macOS.app when installed to a volume  ***
*** other than the current boot volume.               ***
***       Please file feedback with Apple!            ***
*********************************************************
Product downloaded and installed to /Volumes/Catalina/Users/Shared/macadmin-scripts/Install_macOS_14.0-23A5328b.sparseimage
Making read-only compressed disk image containing Install macOS Sonoma beta.app...
...............................................................................................................................
created: /Volumes/Catalina/Users/Shared/macadmin-scripts/Install_macOS_14.0-23A5328b.dmg
Disk image created at: ./Install_macOS_14.0-23A5328b.dmg

@Excremation
Copy link

Excremation commented Apr 28, 2024

I'm also experiencing this creating the dmg for Sonoma 14.4.1.

image

Edit: Straight after it retried itself, it succeeded.

image

@gregneagle
Copy link
Contributor

Again, I don't think there's anything reproducible/actionable here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants