sudo /usr/sbin/softwareupdate --fetch-full-installer

adminNWA
New Contributor III

Only works under Catalina. Why is Apple making it so difficult to automate OS replacement/updates?

1 ACCEPTED SOLUTION

MehdiYawari
New Contributor III

Hello everyone
I habe tested the command "usr/sbin/softwareupdate --fetch-full-installer" on different macs. Mojave, Catalina and Bigsur. On some Mac it work but on the other not. We just cant rely on this command

View solution in original post

18 REPLIES 18

shaquir
Contributor III

Hi @adminNWA ,
The fetch full installer command was introduced on macOS Catalina. So, if you were to run that command on macOS Mojave and older, you'd get an error. As of now, its only benefit is downloading Catalina on Macs that already have Catalina, but it will certainly be helpful in the future.

If you're looking for a method of deploying Catalina, HCS has a great workflow.

easyedc
Valued Contributor II

You can request legacy installers going back to 10.13/High Sierra. It's actually pretty handy.

    --fetch-full-installer      Install the latest macOS Installer
        --full-installer-version    The version of macOS to install. Ex: --full-installer-version 10.15

Older installers should still be available in the MAS for you past that.

noahdowd
Contributor

Anybody else getting

SUPreferenceManager: Failed to set object of class: __NSCFConstantString for key: LastRecommendedMajorOSBundleIdentifier with error: Error Domain=SUPreferenceManagerErrorDomain Code=1 "(null)"
Install failed with error: Update not found

when running softwareupdate --fetch-full-installer with or without --full-installer-version?

tlarkin
Honored Contributor

this feature is buggy go file feedback tickets with Apple please

swapple
Contributor III

still seems to be a bug

simon_brown
New Contributor III

Seems to work fine on Catalina, but on Big Sur to download the installer I'm getting:
Install failed with error: Update not found

rpayne
Contributor II
Seems to work fine on Catalina, but on Big Sur to download the installer I'm getting: Install failed with error: Update not found

Yup. Getting this same thing.

mwu1876
Contributor

I've actually never been able to get this to work on Catalina reliably let alone Big Sur. It's never worked on Big Sur. Hopefully they'll fix it.

tlarkin
Honored Contributor

This never works just use the script from the mac admins scripts repo here. I just use this now and it works way better than the Apple tools

fetch full installer has never really worked, just like the rest of software update

bpstuder
New Contributor III

Confirmed by Apple, it's bugged in Catalina 10.15.7 & Big Sur 11.0.1
They are working on it but no ETA for now.

balakumaran
New Contributor II

@bpstuder Did you have any update from apple about the fix?

Chris_Hafner
Valued Contributor II

The following worked for me yesterday. Though I am running an up-to-date version of Big Sur on the machine that downloaded it.

sudo /usr/sbin/softwareupdate --fetch-full-installer --full-installer-version 11.4

bpstuder
New Contributor III

@balakumaran the only fix is "update to another version and then you're good to go", which is definitely not a solution in some cases. So I managed to use links found here, use a script to curl them and install them. If you need, I can add the script here.

asidhu
New Contributor III

@bpstuder please share the script please :)

bpstuder
New Contributor III

Script can be found here. Still need some improvements, but it's a start 🙂
Then I have a policy to push it :
04daa25f35864e49bf5e779fe5127984
Once it's pushed on your computers, you can use this script to start the update.

Sorry @bpstuder, it seems cannot access to your script link, can you share that again? thank you

Oops sorry, there was a typo in the link, it's fixed

MehdiYawari
New Contributor III

Hello everyone
I habe tested the command "usr/sbin/softwareupdate --fetch-full-installer" on different macs. Mojave, Catalina and Bigsur. On some Mac it work but on the other not. We just cant rely on this command