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

[check_newer_available] ERROR running installinstallmacos.py, cannot continue #233

Closed
Rorzzer opened this issue May 5, 2022 · 3 comments

Comments

@Rorzzer
Copy link

Rorzzer commented May 5, 2022

Hi Graham,

We are seeing the below error recently, is this a python M1 issue? Or am I missing something else here?

Command: /Library/Management/erase-install/erase-install.sh --reinstall --os=12.3 --update --depnotify --cleanup-after-use --check-power --force-curl --power-wait-limit 180

Model: MacBookPro18,1

OS Version: 12.2.0

Script Version: 26

`[get_relocatable_python] Relocatable Python is installed in /Library/Management/erase-install

[check_newer_available] This command is now being run:

installinstallmacos.py --workdir /Library/Management/erase-install --list
Could not replicate https://swdist.apple.com/content/downloads/20/37/002-65695-A_JXBNO95L82/wwmyfh1vggj8qsk8dv069c9dmz1zmjm3fq/002-65695.English.dist: Command '['/usr/bin/curl', '-sfL', '--create-dirs', '-o', '/Library/Management/erase-install/content/downloads/20/37/002-65695-A_JXBNO95L82/wwmyfh1vggj8qsk8dv069c9dmz1zmjm3fq/002-65695.English.dist', '-w', '%{http_code}', '--compressed', '-z', '/Library/Management/erase-install/content/downloads/20/37/002-65695-A_JXBNO95L82/wwmyfh1vggj8qsk8dv069c9dmz1zmjm3fq/002-65695.English.dist', 'https://swdist.apple.com/content/downloads/20/37/002-65695-A_JXBNO95L82/wwmyfh1vggj8qsk8dv069c9dmz1zmjm3fq/002-65695.English.dist']' returned non-zero exit status 35.
Traceback (most recent call last):
File "/Library/Management/erase-install/installinstallmacos.py", line 1368, in
main()
File "/Library/Management/erase-install/installinstallmacos.py", line 1000, in main
elif device_id and product_info[product_id]["DeviceIDs"]:
KeyError: 'DeviceIDs'
[check_newer_available] ERROR running installinstallmacos.py, cannot continue`

@Rorzzer
Copy link
Author

Rorzzer commented May 5, 2022

Have just seen this
grahampugh/macadmin-scripts#47

Will try again with 26.1 and report back.

@grahampugh
Copy link
Owner

--os 12.3 is not a valid option and will return an undefined result.

Please read the wiki about the --os and --version options.

@grahampugh
Copy link
Owner

26.0 is still perfectly functional. The issue 47 will not be a problem until 2023.

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

2 participants