3 votos

Herramienta de actualización de software -- rarezas con MacOS Catalina

Pruebas y observaciones

  1. He invocado el softwareupdate para crear un instalador para High Sierra:

    sudo softwareupdate --fetch-full-installer --full-installer-version 10.13.6

    Obviamente, la descarga comenzó. Luego, después de reportar un progreso de alrededor del 60%, falló:

    Downloading and installing 10.13.6 installer
    Install failed with error: Update not found 
  2. Como sospechaba el comando posiblemente se niegue a crear un instalador para un sistema antiguo
    que la actual, invoqué el softwareupdate para crear un instalador para Catalina:

    sudo softwareupdate --fetch-full-installer --full-installer-version 10.15.4

    Este intento también fracasó:

    Downloading and installing 10.15.4 installer
    Installing: 90.0%
    Install failed with error: 0 
  3. Al utilizar MacOS 10.15.4 Catalina he notado que las opciones --set-catalog y
    --clear-catalog se han eliminado. En concreto, estas opciones ya no se muestran
    en el texto de ayuda. Si se utiliza en la invocación se devuelve este mensaje:

    Changing the Software Update catalog is deprecated.
    The ability to specify a custom catalog will be removed in a future release of macOS. 

    Para mí queda abierto si estas opciones siguen siendo efectivas o no.

  4. Revisar la configuración de la actualización del software:
    defaults delete com.apple.softwareupdate
    Activar System Preferences > Sharing > Content Caching
    sudo shutdown -r now

    Después de reiniciar la máquina, establezca la conexión a Internet a través de Ethernet y ejecútela:

    sudo softwareupdate --fetch-full-installer --full-installer-version 10.13.6

    Mensaje devuelto: Downloading and installing 10.13.6 installer . Como
    el proceso de descarga no informaba de ningún progreso, maté el trabajo después de
    unas dos horas.
    En este punto, ejecute AssetCacheManagerUtil :

    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.

    Ahora corre
    sudo softwareupdate --fetch-full-installer --full-installer-version 10.15.4

    Mensaje de retorno

    Downloading and installing 10.15.4 installer  
    Install finished successfully  

    Resultado provisional: Hemos conseguido crear el instalador de Catalina mientras que, por el momento, no hemos podido crear el instalador para High Sierra.

    En este punto vuelva a ejecutar 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.

Preguntas

  1. ¿Hay alguna manera de obtener el --fetch-full-installer opción en marcha?

  2. ¿Existe una forma diferente de especificar los catálogos de actualización de software para que sean utilizados posteriormente por el softwareupdate ¿comando?

    Cualquier consejo será bienvenido.

Hardware-Software-Environment
MacBook Pro 2019 con MacOS 10.15.4 Catalina. No hay ninguna encriptación habilitada.

Referencias
Este post es una derivación de
Crear un instalador de arranque para High Sierra en macOS Catalina

Presentación del nuevo --fetch-full-installer opción del softwareupdate comando
https://scriptingosx.com/2019/10/download-a-full-install-MacOS-app-with-softwareupdate-in-catalina/

3voto

Oskar Puntos 1242

En primer lugar, para responder a sus preguntas:

  1. Nada ha cambiado y tus comandos para descargar el instalador son correctos en Catalina (se confirma la Build 19E287 y más recientes). Ambos ponen los instaladores solicitados en /Applications para mí
  2. Yo quitaría las preferencias y luego reiniciaría para comprobar que los Macs que dan error no tienen cosas que se puedan cambiar antes de mirar la red.

    defaults delete com.apple.softwareupdate
    sudo shutdown -r now

A continuación, repite los comandos para descargar las aplicaciones completas del instalador.


Aquí están los resultados de su primer comando:

me@dev ~ % sudo softwareupdate --fetch-full-installer --full-installer-version 10.13.6   
Downloading and installing 10.13.6 installer
SUPreferenceManager: Failed to set object of class: __NSCFConstantString for key: LastRecommendedMajorOSBundleIdentifier with error: Error Domain=SUPreferenceManagerErrorDomain Code=1 "(null)"
Installing: 85.0%SUPreferenceManager: Failed to set object of class: __NSCFConstantString for key: LastRecommendedMajorOSBundleIdentifier with error: Error Domain=SUPreferenceManagerErrorDomain Code=1 "(null)"
Install finished successfully
me@dev /Applications % codesign -vvv Install\ macOS\ High\ Sierra.app 
Install macOS High Sierra.app: resource envelope is obsolete (custom omit rules)
me@dev /Applications % du -sm Install\ macOS\ High\ Sierra.app 
5003    Install macOS High Sierra.app

Perdón por el listado desordenado de arriba, pero las cosas pasaron la primera vez en mis máquinas Catalina.

  1. ¿Gestiona su catálogo SU en esta máquina para que apunte a un servidor de actualización por etapas?
  2. ¿Tienes alguno de los nuevos servidores de Asset Cache en funcionamiento? (el AssetCacheLocatorUtil enumerará los servidores de almacenamiento en caché (yo suelo tenerlos y he comprobado que los comandos que se ejecutan almacenan las actualizaciones en caché correctamente)

AppleAyuda.com

AppleAyuda es una comunidad de usuarios de los productos de Apple en la que puedes resolver tus problemas y dudas.
Puedes consultar las preguntas de otros usuarios, hacer tus propias preguntas o resolver las de los demás.

Powered by:

X