Tests et observations
-
J'ai invoqué le
softwareupdate
de cette façon pour créer un installateur pour High Sierra :sudo softwareupdate --fetch-full-installer --full-installer-version 10.13.6
Le téléchargement a évidemment commencé. Puis, après avoir signalé une progression d'environ 60%, il a échoué :
Downloading and installing 10.13.6 installer Install failed with error: Update not found
-
Comme je le pensais, la commande peut refuser de créer un programme d'installation pour un ancien système.
que la version actuelle, j'ai invoqué la fonctionsoftwareupdate
pour créer un installateur pour Catalina :sudo softwareupdate --fetch-full-installer --full-installer-version 10.15.4
Cette tentative a également échoué :
Downloading and installing 10.15.4 installer Installing: 90.0% Install failed with error: 0
-
Lorsque j'utilise MacOS 10.15.4 Catalina, j'ai remarqué que les options
--set-catalog
et--clear-catalog
ont été supprimés. Pour être précis, les options suivantes ne sont plus affichées
dans le texte d'aide. S'il est utilisé lors de l'invocation, ce message est renvoyé :Changing the Software Update catalog is deprecated. The ability to specify a custom catalog will be removed in a future release of macOS.
Pour moi, la question de savoir si ces options sont encore efficaces ou non reste ouverte.
-
Révisez les paramètres de mise à jour du logiciel :
defaults delete com.apple.softwareupdate
ActiverSystem Preferences > Sharing > Content Caching
sudo shutdown -r now
Après avoir redémarré la machine, établissez une connexion Internet via Ethernet et exécutez :
sudo softwareupdate --fetch-full-installer --full-installer-version 10.13.6
Message retourné :
Downloading and installing 10.13.6 installer
. Comme
le processus de téléchargement n'a pas progressé, j'ai arrêté le travail après
environ deux heures.
À ce stade, exécutezAssetCacheManagerUtil
:2020-04-21 18:34:03.821 AssetCacheLocatorUtil[735:18328] AssetCacheLocatorUtil version 111.1, framework version 111.1 2020-04-21 18:34:03.822 AssetCacheLocatorUtil[735:18328] Determining public IP address... 2020-04-21 18:34:04.607 AssetCacheLocatorUtil[735:18328] This computer's public IP address is ... 2020-04-21 18:34:04.608 AssetCacheLocatorUtil[735:18328] --- Information for system services: 2020-04-21 18:34:04.608 AssetCacheLocatorUtil[735:18328] Checking whether there might be content caches available... 2020-04-21 18:34:04.608 AssetCacheLocatorUtil[735:18328] There might be content caches available. 2020-04-21 18:34:04.608 AssetCacheLocatorUtil[735:18328] Finding saved content caches supporting personal caching... 2020-04-21 18:34:04.610 AssetCacheLocatorUtil[735:18328] Found 1 content cache 2020-04-21 18:34:04.610 AssetCacheLocatorUtil[735:18328] Finding saved content caches supporting personal caching and import... 2020-04-21 18:34:04.611 AssetCacheLocatorUtil[735:18328] Found 1 content cache 2020-04-21 18:34:04.611 AssetCacheLocatorUtil[735:18328] Finding saved content caches supporting shared caching... 2020-04-21 18:34:04.611 AssetCacheLocatorUtil[735:18328] Found 1 content cache 2020-04-21 18:34:04.611 AssetCacheLocatorUtil[735:18328] localhost:49514, rank 0, not favored, healthy, guid 75AEDF55-6059-449C-BBF2-34DA550790F6, valid until 2020-04-21 18:50:24; supports personal caching: yes, and import: yes, shared caching: yes 2020-04-21 18:34:04.611 AssetCacheLocatorUtil[735:18328] Determining saved configured public IP address ranges... 2020-04-21 18:34:04.615 AssetCacheLocatorUtil[735:18328] No public IP address ranges are configured. 2020-04-21 18:34:04.615 AssetCacheLocatorUtil[735:18328] Determining saved favored server ranges... 2020-04-21 18:34:04.615 AssetCacheLocatorUtil[735:18328] No favored server ranges are configured. 2020-04-21 18:34:04.615 AssetCacheLocatorUtil[735:18328] Finding refreshed content caches supporting personal caching... 2020-04-21 18:34:04.617 AssetCacheLocatorUtil[735:18328] Found 1 content cache 2020-04-21 18:34:04.617 AssetCacheLocatorUtil[735:18328] Finding refreshed content caches supporting personal caching and import... 2020-04-21 18:34:04.617 AssetCacheLocatorUtil[735:18328] Found 1 content cache 2020-04-21 18:34:04.617 AssetCacheLocatorUtil[735:18328] Finding refreshed content caches supporting shared caching... 2020-04-21 18:34:04.618 AssetCacheLocatorUtil[735:18328] Found 1 content cache 2020-04-21 18:34:04.618 AssetCacheLocatorUtil[735:18328] localhost:49514, rank 0, not favored, healthy, guid 75AEDF55-6059-449C-BBF2-34DA550790F6, valid until 2020-04-21 18:54:04; supports personal caching: yes, and import: yes, shared caching: yes 2020-04-21 18:34:04.618 AssetCacheLocatorUtil[735:18328] Determining refreshed configured public IP address ranges... 2020-04-21 18:34:04.621 AssetCacheLocatorUtil[735:18328] No public IP address ranges are configured. 2020-04-21 18:34:04.621 AssetCacheLocatorUtil[735:18328] Determining refreshed favored server ranges... 2020-04-21 18:34:04.621 AssetCacheLocatorUtil[735:18328] No favored server ranges are configured. 2020-04-21 18:34:04.621 AssetCacheLocatorUtil[735:18328] --- Information for user 501 (results for other users may be different): 2020-04-21 18:34:04.621 AssetCacheLocatorUtil[735:18328] Checking whether there might be content caches available... 2020-04-21 18:34:04.651 AssetCacheLocatorUtil[735:18328] There might be content caches available. 2020-04-21 18:34:04.651 AssetCacheLocatorUtil[735:18328] Finding saved content caches supporting personal caching... 2020-04-21 18:34:04.652 AssetCacheLocatorUtil[735:18328] There is no saved result. (This is not an error.) 2020-04-21 18:34:04.652 AssetCacheLocatorUtil[735:18328] Finding saved content caches supporting personal caching and import... 2020-04-21 18:34:04.653 AssetCacheLocatorUtil[735:18328] There is no saved result. (This is not an error.) 2020-04-21 18:34:04.653 AssetCacheLocatorUtil[735:18328] Finding saved content caches supporting shared caching... 2020-04-21 18:34:04.654 AssetCacheLocatorUtil[735:18328] There is no saved result. (This is not an error.) 2020-04-21 18:34:04.654 AssetCacheLocatorUtil[735:18328] Determining saved configured public IP address ranges... 2020-04-21 18:34:04.658 AssetCacheLocatorUtil[735:18328] No public IP address ranges are configured. 2020-04-21 18:34:04.658 AssetCacheLocatorUtil[735:18328] Determining saved favored server ranges... 2020-04-21 18:34:04.658 AssetCacheLocatorUtil[735:18328] No favored server ranges are configured. 2020-04-21 18:34:04.658 AssetCacheLocatorUtil[735:18328] Finding refreshed content caches supporting personal caching... 2020-04-21 18:34:04.659 AssetCacheLocatorUtil[735:18328] Found 1 content cache 2020-04-21 18:34:04.659 AssetCacheLocatorUtil[735:18328] Finding refreshed content caches supporting personal caching and import... 2020-04-21 18:34:04.660 AssetCacheLocatorUtil[735:18328] Found 1 content cache 2020-04-21 18:34:04.660 AssetCacheLocatorUtil[735:18328] Finding refreshed content caches supporting shared caching... 2020-04-21 18:34:04.660 AssetCacheLocatorUtil[735:18328] Found 1 content cache 2020-04-21 18:34:04.660 AssetCacheLocatorUtil[735:18328] localhost:49514, rank 0, not favored, healthy, guid 75AEDF55-6059-449C-BBF2-34DA550790F6, valid until 2020-04-21 18:54:04; supports personal caching: yes, and import: yes, shared caching: yes 2020-04-21 18:34:04.660 AssetCacheLocatorUtil[735:18328] Determining refreshed configured public IP address ranges... 2020-04-21 18:34:04.664 AssetCacheLocatorUtil[735:18328] No public IP address ranges are configured. 2020-04-21 18:34:04.664 AssetCacheLocatorUtil[735:18328] Determining refreshed favored server ranges... 2020-04-21 18:34:04.664 AssetCacheLocatorUtil[735:18328] No favored server ranges are configured. 2020-04-21 18:34:04.664 AssetCacheLocatorUtil[735:18328] Testing all found content caches for reachability... 2020-04-21 18:34:04.667 AssetCacheLocatorUtil[735:18328] This computer is able to reach all of the above content caches.
Exécutez maintenant
sudo softwareupdate --fetch-full-installer --full-installer-version 10.15.4
Retour du message
Downloading and installing 10.15.4 installer Install finished successfully
Résultat provisoire : Nous avons réussi à créer l'installateur pour Catalina alors que nous n'avons - pour l'instant - pas réussi à créer l'installateur pour High Sierra.
A ce stade, exécutez à nouveau
AssetCacheManagerUtil
:2020-04-21 19:55:56.573 AssetCacheLocatorUtil[1397:67863] AssetCacheLocatorUtil version 111.1, framework version 111.1 2020-04-21 19:55:56.573 AssetCacheLocatorUtil[1397:67863] Determining public IP address... 2020-04-21 19:55:57.351 AssetCacheLocatorUtil[1397:67863] This computer's public IP address is ... 2020-04-21 19:55:57.351 AssetCacheLocatorUtil[1397:67863] --- Information for system services: 2020-04-21 19:55:57.352 AssetCacheLocatorUtil[1397:67863] Checking whether there might be content caches available... 2020-04-21 19:55:57.352 AssetCacheLocatorUtil[1397:67863] There might be content caches available. 2020-04-21 19:55:57.352 AssetCacheLocatorUtil[1397:67863] Finding saved content caches supporting personal caching... 2020-04-21 19:55:57.353 AssetCacheLocatorUtil[1397:67863] There is no saved result. (This is not an error.) 2020-04-21 19:55:57.354 AssetCacheLocatorUtil[1397:67863] Finding saved content caches supporting personal caching and import... 2020-04-21 19:55:57.354 AssetCacheLocatorUtil[1397:67863] There is no saved result. (This is not an error.) 2020-04-21 19:55:57.354 AssetCacheLocatorUtil[1397:67863] Finding saved content caches supporting shared caching... 2020-04-21 19:55:57.354 AssetCacheLocatorUtil[1397:67863] There is no saved result. (This is not an error.) 2020-04-21 19:55:57.354 AssetCacheLocatorUtil[1397:67863] Determining saved configured public IP address ranges... 2020-04-21 19:55:57.358 AssetCacheLocatorUtil[1397:67863] No public IP address ranges are configured. 2020-04-21 19:55:57.358 AssetCacheLocatorUtil[1397:67863] Determining saved favored server ranges... 2020-04-21 19:55:57.358 AssetCacheLocatorUtil[1397:67863] No favored server ranges are configured. 2020-04-21 19:55:57.358 AssetCacheLocatorUtil[1397:67863] Finding refreshed content caches supporting personal caching... 2020-04-21 19:55:57.361 AssetCacheLocatorUtil[1397:67863] Found 1 content cache 2020-04-21 19:55:57.361 AssetCacheLocatorUtil[1397:67863] Finding refreshed content caches supporting personal caching and import... 2020-04-21 19:55:57.362 AssetCacheLocatorUtil[1397:67863] Found 1 content cache 2020-04-21 19:55:57.362 AssetCacheLocatorUtil[1397:67863] Finding refreshed content caches supporting shared caching... 2020-04-21 19:55:57.362 AssetCacheLocatorUtil[1397:67863] Found 1 content cache 2020-04-21 19:55:57.362 AssetCacheLocatorUtil[1397:67863] localhost:49514, rank 0, not favored, healthy, guid 75AEDF55-6059-449C-BBF2-34DA550790F6, valid until 2020-04-21 20:15:57; supports personal caching: yes, and import: yes, shared caching: yes 2020-04-21 19:55:57.362 AssetCacheLocatorUtil[1397:67863] Determining refreshed configured public IP address ranges... 2020-04-21 19:55:57.366 AssetCacheLocatorUtil[1397:67863] No public IP address ranges are configured. 2020-04-21 19:55:57.366 AssetCacheLocatorUtil[1397:67863] Determining refreshed favored server ranges... 2020-04-21 19:55:57.366 AssetCacheLocatorUtil[1397:67863] No favored server ranges are configured. 2020-04-21 19:55:57.366 AssetCacheLocatorUtil[1397:67863] --- Information for user 501 (results for other users may be different): 2020-04-21 19:55:57.366 AssetCacheLocatorUtil[1397:67863] Checking whether there might be content caches available... 2020-04-21 19:55:57.366 AssetCacheLocatorUtil[1397:67863] There might be content caches available. 2020-04-21 19:55:57.366 AssetCacheLocatorUtil[1397:67863] Finding saved content caches supporting personal caching... 2020-04-21 19:55:57.367 AssetCacheLocatorUtil[1397:67863] There is no saved result. (This is not an error.) 2020-04-21 19:55:57.367 AssetCacheLocatorUtil[1397:67863] Finding saved content caches supporting personal caching and import... 2020-04-21 19:55:57.367 AssetCacheLocatorUtil[1397:67863] There is no saved result. (This is not an error.) 2020-04-21 19:55:57.367 AssetCacheLocatorUtil[1397:67863] Finding saved content caches supporting shared caching... 2020-04-21 19:55:57.368 AssetCacheLocatorUtil[1397:67863] There is no saved result. (This is not an error.) 2020-04-21 19:55:57.368 AssetCacheLocatorUtil[1397:67863] Determining saved configured public IP address ranges... 2020-04-21 19:55:57.371 AssetCacheLocatorUtil[1397:67863] No public IP address ranges are configured. 2020-04-21 19:55:57.371 AssetCacheLocatorUtil[1397:67863] Determining saved favored server ranges... 2020-04-21 19:55:57.371 AssetCacheLocatorUtil[1397:67863] No favored server ranges are configured. 2020-04-21 19:55:57.372 AssetCacheLocatorUtil[1397:67863] Finding refreshed content caches supporting personal caching... 2020-04-21 19:55:57.373 AssetCacheLocatorUtil[1397:67863] Found 1 content cache 2020-04-21 19:55:57.373 AssetCacheLocatorUtil[1397:67863] Finding refreshed content caches supporting personal caching and import... 2020-04-21 19:55:57.373 AssetCacheLocatorUtil[1397:67863] Found 1 content cache 2020-04-21 19:55:57.374 AssetCacheLocatorUtil[1397:67863] Finding refreshed content caches supporting shared caching... 2020-04-21 19:55:57.374 AssetCacheLocatorUtil[1397:67863] Found 1 content cache 2020-04-21 19:55:57.374 AssetCacheLocatorUtil[1397:67863] localhost:49514, rank 0, not favored, healthy, guid 75AEDF55-6059-449C-BBF2-34DA550790F6, valid until 2020-04-21 20:15:57; supports personal caching: yes, and import: yes, shared caching: yes 2020-04-21 19:55:57.374 AssetCacheLocatorUtil[1397:67863] Determining refreshed configured public IP address ranges... 2020-04-21 19:55:57.378 AssetCacheLocatorUtil[1397:67863] No public IP address ranges are configured. 2020-04-21 19:55:57.378 AssetCacheLocatorUtil[1397:67863] Determining refreshed favored server ranges... 2020-04-21 19:55:57.378 AssetCacheLocatorUtil[1397:67863] No favored server ranges are configured. 2020-04-21 19:55:57.378 AssetCacheLocatorUtil[1397:67863] Testing all found content caches for reachability... 2020-04-21 19:55:57.381 AssetCacheLocatorUtil[1397:67863] This computer is able to reach all of the above content caches.
Questions
-
Y a-t-il un moyen d'obtenir le
--fetch-full-installer
est en place et fonctionne ? -
Existe-t-il une autre manière de spécifier les catalogues de mise à jour des logiciels afin qu'ils soient utilisés de manière subséquente par le programme
softwareupdate
commande ?Tout conseil est le bienvenu.
Matériel-Logiciel-Environnement
MacBook Pro 2019 exécutant MacOS 10.15.4 Catalina. Il n'y a pas de cryptage activé.
Références
Ce billet est un dérivé de
Créer un installateur amorçable pour High Sierra sous MacOS Catalina
Présentation de la nouvelle --fetch-full-installer
de l'option softwareupdate
commande
https://scriptingosx.com/2019/10/download-a-full-install-MacOS-app-with-softwareupdate-in-catalina/