L’erreur dans /var/log/install.log est la suivante :
2018-05-04 15:36:38+02 XXXX softwareupdate_notify_agent[773]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-76232" = { ErrorCode = 112; ErrorDomain = PKInstallErrorDomain; InstalledLater = 0; State = Error; }; }; UpdateNotificationsOnly = 1; } 2018-05-04 15:36:38+02 XXXX softwareupdate_notify_agent[773]: appstoreupdateagent notified
Voici plus d’information sur mon système et mon matériel :
Informations matériel : Nom du modèle : MacBook Pro Identifiant du modèle : MacBookPro9,1 Nom du processeur : Intel Core i7 Vitesse du processeur : 2,3 GHz Nombre de processeurs : 1 Nombre total de cœurs : 4 Cache de niveau 2 (par cœur) : 256 Ko Cache de niveau 3 : 6 Mo Mémoire : 16 Go Version de la ROM de démarrage : MBP91.00D7.B00 Version SMC (système) : 2.1f175 Vue d’ensemble du logiciel système : Version du système : macOS 10.13.3 (17D102) Version du noyau : Darwin 17.4.0 Volume de démarrage : Macintosh HD Mode de démarrage : Normal Mémoire virtuelle sécurisée : activée Protection de l’intégrité du système : activée
Si je cherche tous les PostLogoutUpdatesInstalled dans /var/log/install.log :
Sep 30 21:21:00 XXXX softwareupdate_notify_agent[461]: Notifying with params: { PostLogoutUpdatesInstalled = { "031-25201" = { InstalledLater = 0; State = Installed; }; "031-63178" = { InstalledLater = 0; State = Installed; }; "031-70458" = { InstalledLater = 0; State = Installed; }; "031-75159" = { InstalledLater = 0; State = Installed; }; "031-78814" = { InstalledLater = 0; State = Installed; }; }; UpdateNotificationsOnly = 1; } Sep 30 21:21:00 XXXX softwareupdate_notify_agent[461]: appstoreupdateagent notified ... Oct 26 09:07:57 XXXX softwareupdate_notify_agent[471]: Notifying with params: { PostLogoutUpdatesInstalled = { "031-75995" = { InstalledLater = 0; State = Installed; }; "031-81873" = { InstalledLater = 0; State = Installed; }; }; UpdateNotificationsOnly = 1; } Oct 26 09:07:57 XXXX softwareupdate_notify_agent[471]: appstoreupdateagent notified ... Dec 14 07:55:54 XXXX softwareupdate_notify_agent[455]: Notifying with params: { PostLogoutUpdatesInstalled = { "031-78817" = { InstalledLater = 0; State = Pending; }; "031-93196" = { InstalledLater = 0; State = Pending; }; "zzzz031-72618" = { InstalledLater = 0; State = Pending; }; }; UpdateNotificationsOnly = 1; } Dec 14 07:55:54 XXXX softwareupdate_notify_agent[455]: appstoreupdateagent notified ... Dec 14 08:29:38 XXXX softwareupdate_notify_agent[502]: Notifying with params: { PostLogoutUpdatesInstalled = { "031-78817" = { InstalledLater = 0; State = Installed; }; "031-93196" = { InstalledLater = 0; State = Installed; }; "zzzz031-72618" = { InstalledLater = 0; State = Installed; }; }; UpdateNotificationsOnly = 1; } Dec 14 08:29:38 XXXX softwareupdate_notify_agent[502]: appstoreupdateagent notified ... Jan 18 15:10:54 XXXX softwareupdate_notify_agent[459]: Notifying with params: { PostLogoutUpdatesInstalled = { "031-97120" = { InstalledLater = 0; State = Installed; }; }; UpdateNotificationsOnly = 1; } Jan 18 15:10:54 XXXX softwareupdate_notify_agent[459]: appstoreupdateagent notified ... Jan 25 11:08:18 XXXX softwareupdate_notify_agent[416]: Notifying with params: { PostLogoutUpdatesInstalled = { "031-94947" = { InstalledLater = 0; State = Installed; }; "zzzz031-94943" = { InstalledLater = 0; State = Installed; }; }; UpdateNotificationsOnly = 1; } Jan 25 11:08:18 XXXX softwareupdate_notify_agent[416]: appstoreupdateagent notified ... Mar 28 11:27:08 XXXX softwareupdate_notify_agent[3363]: Notifying with params: { PostLogoutUpdatesInstalled = { "031-96040" = { InstalledLater = 0; State = Pending; }; "031-98397" = { InstalledLater = 0; State = Pending; }; }; SoftwareUpdateCount = 2; SoftwareUpdatesAvailable = 1; UpdatesRequireRestart = 1; } Mar 28 11:27:08 XXXX softwareupdate_notify_agent[3363]: appstoreupdateagent notified ... Mar 28 18:47:15 XXXX softwareupdate_notify_agent[430]: Notifying with params: { PostLogoutUpdatesInstalled = { "031-96040" = { InstalledLater = 0; State = Installed; }; }; UpdateNotificationsOnly = 1; } Mar 28 18:47:15 XXXX softwareupdate_notify_agent[430]: appstoreupdateagent notified ... May 15 22:05:37 XXXX softwareupdate_notify_agent[634]: Notifying with params: { PostLogoutUpdatesInstalled = { "031-95400" = { InstalledLater = 0; State = Installed; }; "091-03063" = { InstalledLater = 0; State = Pending; }; "091-10728" = { InstalledLater = 0; State = Installed; }; "zzzz091-14261" = { InstalledLater = 0; State = Pending; }; "zzzz091-14333" = { InstalledLater = 0; State = Pending; }; }; UpdateNotificationsOnly = 1; } May 15 22:05:37 XXXX softwareupdate_notify_agent[634]: appstoreupdateagent notified .... Jul 25 18:40:08 XXXX softwareupdate_notify_agent[1120]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-01401" = { InstalledLater = 0; State = Installed; }; "091-22828" = { InstalledLater = 0; State = Installed; }; "zzzz091-22851" = { InstalledLater = 0; State = Installed; }; }; SoftwareUpdateCount = 0; SoftwareUpdatesAvailable = 0; } Jul 25 18:40:08 M XXXX softwareupdate_notify_agent[1120]: appstoreupdateagent notified ... Oct 31 21:40:00 XXXX softwareupdate_notify_agent[1769]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-33402" = { InstalledLater = 0; State = Pending; }; "091-41764" = { InstalledLater = 0; State = Pending; }; "zzzz091-30749" = { InstalledLater = 0; State = Pending; }; }; SoftwareUpdateCount = 3; SoftwareUpdatesAvailable = 1; UpdatesRequireRestart = 1; } Oct 31 21:40:00 XXXX softwareupdate_notify_agent[1769]: appstoreupdateagent notified ... Dec 8 10:08:20 XXXX softwareupdate_notify_agent[437]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-25500" = { InstalledLater = 0; State = Installed; }; "091-39292" = { InstalledLater = 0; State = Installed; }; "zzzz091-31210" = { InstalledLater = 0; State = Installed; }; }; UpdateNotificationsOnly = 1; } Dec 8 10:08:20 XXXX softwareupdate_notify_agent[437]: appstoreupdateagent notified ... 2018-01-11 16:32:13+01 XXXX softwareupdate_notify_agent[777]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-58876" = { InstalledLater = 0; State = ArmedForAtomicInstall; }; }; UpdateNotificationsOnly = 1; } 2018-01-11 16:32:13+01 XXXX softwareupdate_notify_agent[777]: appstoreupdateagent notified ... 2018-01-24 19:41:56+01 XXXX softwareupdate_notify_agent[527]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-62783" = { InstalledLater = 0; State = ArmedForAtomicInstall; }; "zzzz091-44971" = { InstalledLater = 0; State = Pending; }; }; UpdateNotificationsOnly = 1; } 2018-01-24 19:41:56+01 XXXX softwareupdate_notify_agent[527]: appstoreupdateagent notified ... 2018-02-23 09:47:02+01 XXXX softwareupdate_notify_agent[672]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-69251" = { InstalledLater = 0; State = ArmedForAtomicInstall; }; }; UpdateNotificationsOnly = 1; } 2018-02-23 09:47:02+01 XXXX softwareupdate_notify_agent[672]: appstoreupdateagent notified ... 018-03-30 10:34:27+02 XXXX softwareupdate_notify_agent[726]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-75535" = { ErrorCode = 112; ErrorDomain = PKInstallErrorDomain; InstalledLater = 0; State = Error; }; "091-76232" = { ErrorCode = 112; ErrorDomain = PKInstallErrorDomain; InstalledLater = 0; State = Error; }; "zzzz091-76328" = { ErrorCode = 112; ErrorDomain = PKInstallErrorDomain; InstalledLater = 0; State = Error; }; }; UpdateNotificationsOnly = 1; } ... 2018-03-31 10:07:16+02 XXXX softwareupdate_notify_agent[803]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-75535" = { ErrorCode = 112; ErrorDomain = PKInstallErrorDomain; InstalledLater = 0; State = Error; }; "091-76232" = { ErrorCode = 112; ErrorDomain = PKInstallErrorDomain; InstalledLater = 0; State = Error; }; }; UpdateNotificationsOnly = 1; } 2018-03-31 10:07:16+02 XXXX softwareupdate_notify_agent[803]: appstoreupdateagent notified ... 2018-04-03 09:46:29+02 XXXX softwareupdate_notify_agent[758]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-76232" = { ErrorCode = 112; ErrorDomain = PKInstallErrorDomain; InstalledLater = 0; State = Error; }; }; UpdateNotificationsOnly = 1; } 2018-04-03 09:46:29+02 XXXX softwareupdate_notify_agent[758]: appstoreupdateagent notified ... 2018-04-06 15:39:58+02 XXXX softwareupdate_notify_agent[760]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-76232" = { ErrorCode = 112; ErrorDomain = PKInstallErrorDomain; InstalledLater = 0; State = Error; }; }; UpdateNotificationsOnly = 1; } 2018-04-06 15:39:58+02 XXXX softwareupdate_notify_agent[760]: appstoreupdateagent notified ... 2018-04-06 20:22:10+02 XXXX softwareupdate_notify_agent[559]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-76232" = { ErrorCode = 112; ErrorDomain = PKInstallErrorDomain; InstalledLater = 0; State = Error; }; }; UpdateNotificationsOnly = 1; } 2018-04-06 20:22:10+02 XXXX softwareupdate_notify_agent[559]: appstoreupdateagent notified ... 2018-04-10 11:23:43+02 XXXX softwareupdate_notify_agent[749]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-76232" = { ErrorCode = 112; ErrorDomain = PKInstallErrorDomain; InstalledLater = 0; State = Error; }; }; UpdateNotificationsOnly = 1; } 2018-04-10 11:23:43+02 XXXX softwareupdate_notify_agent[749]: appstoreupdateagent notified ... 2018-04-10 20:52:59+02 XXXX softwareupdate_notify_agent[533]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-76232" = { ErrorCode = 112; ErrorDomain = PKInstallErrorDomain; InstalledLater = 0; State = Error; }; }; UpdateNotificationsOnly = 1; } 2018-04-10 20:52:59+02 XXXX softwareupdate_notify_agent[533]: appstoreupdateagent notified ... 2018-04-11 11:33:35+02 XXXX softwareupdate_notify_agent[489]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-76232" = { ErrorCode = 112; ErrorDomain = PKInstallErrorDomain; InstalledLater = 0; State = Error; }; }; UpdateNotificationsOnly = 1; } 2018-04-11 11:33:35+02 XXXX softwareupdate_notify_agent[489]: appstoreupdateagent notified ... 2018-04-12 10:28:26+02 XXXX softwareupdate_notify_agent[740]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-76232" = { ErrorCode = 112; ErrorDomain = PKInstallErrorDomain; InstalledLater = 0; State = Error; }; }; UpdateNotificationsOnly = 1; } 2018-04-12 10:28:26+02 XXXX softwareupdate_notify_agent[740]: appstoreupdateagent notified ... 2018-04-14 14:01:31+02 XXXX softwareupdate_notify_agent[770]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-76232" = { ErrorCode = 112; ErrorDomain = PKInstallErrorDomain; InstalledLater = 0; State = Error; }; }; UpdateNotificationsOnly = 1; } 2018-04-14 14:01:31+02 XXXX softwareupdate_notify_agent[770]: appstoreupdateagent notified ... 2018-05-04 15:36:38+02 XXXX softwareupdate_notify_agent[773]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-76232" = { ErrorCode = 112; ErrorDomain = PKInstallErrorDomain; InstalledLater = 0; State = Error; }; }; UpdateNotificationsOnly = 1; } 2018-05-04 15:36:38+02 XXXX softwareupdate_notify_agent[773]: appstoreupdateagent notified ...
Etape n°1 : Google est mon ami (Je cherche sur Google la même erreur) :
J’ai vu qu’une personne avait le même problème que moi : https://gist.github.com/johngrimes/3822c94c60c6c5babc6d42c2dff9fd89
En français cela donne :
La série d’actions qui ont finalement résolu le problème étaient:
Démarrez en mode sans échec (maintenez la touche Maj enfoncée lors de la mise sous tension ou du redémarrage).
Accédez à l’App Store et installez la mise à jour en attente.
Le redémarrage a échoué et a montré le journal d’installation. Cette fois, au lieu de cliquer sur « Redémarrer », j’ai sélectionné « Startup Disk … » dans le menu. Cette fois, quand j’ai choisi le disque dur principal, il a démarré avec succès, et ça va bien depuis.
Pas très scientifique, mais j’espère que cela aidera quelqu’un avec le même problème.
Plus loin on peut lire :
Oui, je viens aussi de récupérer de cette erreur googling pour
/Volumes/Macintosh HD/Library/Updates/AtomicUpdates/091-76232/091-76232.English.dist) ne s’est pas chargé avec l’erreur: Le fichier n’existe pas.
Tout ce que j’ai fait était l’étape 3. « disque de démarrage .. » du menu et choisissez le disque dur principal.
Si je regarde dans le répertoire :
$ ls -l /Volumes/Macintosh\ HD/Library/Updates/* -rw-r--r--@ 1 root wheel 966 4 mai 15:40 /Volumes/Macintosh HD/Library/Updates/PPDVersions.plist -rw-r--r--@ 1 root wheel 182 4 mai 15:40 /Volumes/Macintosh HD/Library/Updates/ProductMetadata.plist -rw-r--r-- 1 root wheel 260 4 mai 15:30 /Volumes/Macintosh HD/Library/Updates/index.plist
Je pense que je n’ai pas le même problème … il y a aussi ce lien : https://discussions.apple.com/thread/8339321 il a la même erreur que mois mais que la version 10.13.4 . Donc ce n’est pas le même problème.
Etape n°2 : J’analyse plus en détail les logs :
A noter l’erreur :
2018-05-04 15:29:58+02 XXXX system_installd[558]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Vérification et réutilisation du booter
2018-05-04 15:29:58+02 XXXX system_installd[558]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Réparation du système de fichiers.
2018-05-04 15:29:58+02 XXXX system_installd[558]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Formatage du booter
2018-05-04 15:29:58+02 XXXX system_installd[558]: replaceRecovery: HFS/CS EnsureRecoveryPartition: newfs_hfs: cannot create filesystem on /dev/rdisk0s3: Operation not permitted
2018-05-04 15:29:58+02 XXXX system_installd[558]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Operation 95.0% complete
2018-05-04 15:29:58+02 XXXX system_installd[558]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Détachement de l’image disque du système de base
2018-05-04 15:29:58+02 XXXX system_installd[558]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Operation fully complete
2018-05-04 15:29:58+02 XXXX system_installd[558]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Operation finished
J’ai lancé la commande sur un Terminal :
defaults write com.apple.DiskUtility DUDebugMenuEnabled 1
Puis j’ai exécuté S.O.S sur le disque « Macintosh HD » :
Etape n°3 : Je tente une première action :
$ diskutil list /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *1.1 TB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_HFS Macintosh HD 1.0 TB disk0s2 3: Apple_Boot 650.0 MB disk0s3 /dev/disk1 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme +644.2 GB disk1 1: EFI EFI 209.7 MB disk1s1 2: Apple_HFS Copies de sauvegarde... 643.9 GB disk1s2 $ sudo newfs_hfs -J -v "Recovery HD" /dev/disk0s3 newfs_hfs: cannot create filesystem on /dev/rdisk0s3: Operation not permitted $ csrutil status System Integrity Protection status: enabled. $ diskutil list /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *1.1 TB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_HFS Macintosh HD 1.0 TB disk0s2 3: Apple_Boot 650.0 MB disk0s3 /dev/disk1 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme +644.2 GB disk1 1: EFI EFI 209.7 MB disk1s1 2: Apple_HFS Copies de sauvegarde... 643.9 GB disk1s2 $ sudo newfs_hfs -J -v "Recovery HD" /dev/rdisk0s3 Password: newfs_hfs: cannot create filesystem on /dev/rdisk0s3: Operation not permitted $ fsck_hfs -l /dev/disk0s3 ** /dev/rdisk0s3 (NO WRITE) Can't open /dev/rdisk0s3: Permission denied $ fsck_hfs -r -d /dev/disk0s3 Unable to open block device /dev/disk0s3: Permission deniedjournal_replay(/dev/disk0s3) returned 13 ** /dev/rdisk0s3 (NO WRITE) Can't open /dev/rdisk0s3: Permission denied
Etape n°4 : Je tente une DEUXIEME action :
Je passe en mode sans échec (en appuyant sur shift pendant le démarrage) , ce mode est appelé sécurisé … j’ai du mal à comprendre pourquoi. Pour plus de documentation sur ce mode : https://support.apple.com/fr-fr/HT201262 : Utiliser le mode sans échec pour isoler des problèmes avec votre Mac .
Je tente donc une nouvelle installation :
Dans les logs je peux voir que cela échoue encore une fois :
... 2018-05-05 15:36:38+02 XXXX system_installd[459]: PackageKit: ----- Begin install ----- 2018-05-05 15:36:38+02 XXXX system_installd[459]: PackageKit: request=PKInstallRequest <2 packages, destination=/> 2018-05-05 15:36:38+02 XXXX system_installd[459]: PackageKit: packages=( "PKLeopardPackage <id=com.apple.pkg.macOSUpd10.13.4.RecoveryHDUpdate.17E199, version=1.0.0.0, url=file:///Library/Updates/091-76232/macOSUpd10.13.4.RecoveryHDUpdate.pkg>", "PKLeopardPackage <id=com.apple.pkg.macOSBrain, version=10.13.4.1.1.1522206870, url=file:///Library/Updates/091-76232/macOSBrain.pkg>" ) 2018-05-05 15:36:38+02 XXXX system_installd[459]: PackageKit: Failed to clear quarantine on Apple-signed package PKLeopardPackage <id=com.apple.pkg.macOSUpd10.13.4.RecoveryHDUpdate.17E199, version=1.0.0.0, url=file:///Library/Updates/091-76232/macOSUpd10.13.4.RecoveryHDUpdate.pkg>: Item not quarantined (-1) 2018-05-05 15:36:38+02 XXXX system_installd[459]: PackageKit: Failed to clear quarantine on Apple-signed package PKLeopardPackage <id=com.apple.pkg.macOSBrain, version=10.13.4.1.1.1522206870, url=file:///Library/Updates/091-76232/macOSBrain.pkg>: Item not quarantined (-1) 2018-05-05 15:36:38+02 XXXX system_installd[459]: PackageKit: Extracting file:///Library/Updates/091-76232/macOSBrain.pkg (destination=/.PKInstallSandboxManager-SystemSoftware/6D475B8B-7CD6-4A68-B3EF-0D263AF6E8EC.activeSandbox/Root, uid=0) ... 2018-05-05 15:36:46+02 XXXX diskmanagementd[454]: diskmanagement: [DMToolRecoveryPartition ensureBooter:storage:phyUDS:logUDS:phyREF:logREF:copierForRecoveryFiles:hostOSXForBootRootFiles:recBSD:percentBegin:percentEnd:]: READY TO DO CASE: case=Reuse spaceDeltaB=0 booterDeltaB=0 (adviceIfUnable=-69886) 2018-05-05 15:36:46+02 XXXX diskmanagementd[454]: diskmanagement: [DMToolRecoveryPartition populateBooter:verifyType:verifyMinSize:clearMode:copierForRecoveryFiles:hostOSXForBootRootFiles:statusReportingDisk:percentBegin:percentEnd:]: inPartitionUDS=0x70000d1396a0=disk0s3 inVfyType/MinSize=Apple_Boot/650002432 inClearMode=RepairDeletefiles inRecCopier=0x7ff157a07840 inBRHostMP=/ inStatusDisk=0x7ff157b07328=disk0s2=Macintosh HD inPct=23..87 2018-05-05 15:36:46+02 XXXX diskmanagementd[708]: diskmanagement: rawLaunch: execve(2) pid=708 /System/Library/Filesystems/hfs.fs/Contents/Resources/newfs_hfs -J -U 0 -G 0 -v Recovery HD /dev/rdisk0s3 . 2018-05-05 15:36:46+02 XXXX diskmanagementd[454]: diskmanagement: rawLaunch_block_invoke: waitpid(2) pid=708 ret/errno=708/10 status=0x00000100 exit=1 2018-05-05 15:36:46+02 XXXX diskmanagementd[454]: diskmanagement: [DMToolRecoveryPartition populateBooter:verifyType:verifyMinSize:clearMode:copierForRecoveryFiles:hostOSXForBootRootFiles:statusReportingDisk:percentBegin:percentEnd:]: retErr=-69832 2018-05-05 15:36:46+02 XXXX diskmanagementd[454]: diskmanagement: [DMToolRecoveryPartition ensureBooter:storage:phyUDS:logUDS:phyREF:logREF:copierForRecoveryFiles:hostOSXForBootRootFiles:recBSD:percentBegin:percentEnd:]: retErr=-69832 outDisk=(null) 2018-05-05 15:36:46+02 XXXX diskmanagementd[454]: diskmanagement: [DMToolRecoveryPartition ensureRecoveryPartitionForVolume:]: at exit; err=-69832 2018-05-05 15:36:46+02 XXXX diskmanagementd[454]: diskmanagement: [DMToolRecoveryPartition ensureRecoveryPartitionForVolume:]: output recoveryDiskBSD=(null) physicalDonorBSD=disk0s2 2018-05-05 15:36:46+02 XXXX diskmanagementd[454]: diskmanagement: [DMToolRecoveryPartition ensureRecoveryPartitionForVolume:] 2018-05-05 15:36:46+02 XXXX system_installd[459]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Error: File system formatter failed (-69832) 2018-05-05 15:36:46+02 XXXX system_installd[459]: replaceRecovery: ./Tools/dm - dm - Version 5 ... 2018-05-05 15:36:46+02 XXXX system_installd[459]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Vérification et réutilisation du booter 2018-05-05 15:36:46+02 XXXX system_installd[459]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Réparation du système de fichiers. 2018-05-05 15:36:46+02 XXXX system_installd[459]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Formatage du booter 2018-05-05 15:36:46+02 XXXX system_installd[459]: replaceRecovery: HFS/CS EnsureRecoveryPartition: newfs_hfs: cannot create filesystem on /dev/rdisk0s3: Operation not permitted 2018-05-05 15:36:46+02 XXXX system_installd[459]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Operation 95.0% complete ... 2018-05-05 15:36:46+02 XXXX system_installd[459]: PackageKit: releasing backupd 2018-05-05 15:36:46+02 XXXX system_installd[459]: PackageKit: allow user idle system sleep 2018-05-05 15:36:46+02 XXXX system_installd[459]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "Une erreur s’est produite pendant l’exécution des scripts du paquet « macOSUpd10.13.4.RecoveryHDUpdate.pkg »." UserInfo={NSFilePath=replaceRecovery, NSURL=file:///Library/Updates/091-76232/macOSUpd10.13.4.RecoveryHDUpdate.pkg, PKInstallPackageIdentifier=com.apple.pkg.macOSUpd10.13.4.RecoveryHDUpdate.17E199, NSLocalizedDescription=Une erreur s’est produite pendant l’exécution des scripts du paquet « macOSUpd10.13.4.RecoveryHDUpdate.pkg ».} { NSFilePath = replaceRecovery; NSLocalizedDescription = "Une erreur s\U2019est produite pendant l\U2019ex\U00e9cution des scripts du paquet \U00ab\U00a0macOSUpd10.13.4.RecoveryHDUpdate.pkg\U00a0\U00bb."; NSURL = "file:///Library/Updates/091-76232/macOSUpd10.13.4.RecoveryHDUpdate.pkg"; PKInstallPackageIdentifier = "com.apple.pkg.macOSUpd10.13.4.RecoveryHDUpdate.17E199"; } ... 2018-05-05 15:41:20+02 XXXX softwareupdated[694]: xpc_add_bundle /System/Library/PrivateFrameworks/SoftwareUpdate.framework/XPCServices/ManualProductStasherService.xpc 2018-05-05 15:41:20+02 XXXX softwareupdate_notify_agent[769]: Notifying with params: { PostLogoutUpdatesInstalled = { "091-76232" = { ErrorCode = 112; ErrorDomain = PKInstallErrorDomain; InstalledLater = 0; State = Error; }; }; UpdateNotificationsOnly = 1; } 2018-05-05 15:41:20+02 XXXX softwareupdate_notify_agent[769]: appstoreupdateagent notified ...
Il va falloir que je fasse des posts sur des blogs …
Etape n°5 : DEMANDE D’AIDE SUR Forums.macg.co :
Mon login utilisateur : CYBERNEURONES .
Demande de macomania : (Pour information SIP : System Integrity Protection à ne pas confondre avec SIP le protocole de communication … )
$ diskutil list /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *1.1 TB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_HFS Macintosh HD 1.0 TB disk0s2 3: Apple_Boot 650.0 MB disk0s3 /dev/disk1 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme +644.2 GB disk1 1: EFI EFI 209.7 MB disk1s1 2: Apple_HFS Copies de sauvegarde... 643.9 GB disk1s2 $ csrutil status System Integrity Protection status: enabled. $ csrutil disable csrutil: failed to modify system integrity configuration. This tool needs to be executed from the Recovery OS.
Solution :
« Il faut alors que tu re-démarres par internet via les 3 touches ⌘⌥R (cmd alt R) –> qui va télécharger en RAM un OS de secours 10.13. La commande csrutil sera alors valide. »
$ sudo newfs_hfs -J -v "Recovery HD" /dev/disk0s3
Initialized /dev/rdisk0s3 as a 620 MB case-insensitive HFS Plus volume with a 8192k journal
Afin J’AI PU FAIRE la MISE A JOURS :
Un grand merci au forum et à macomania !
par contre j’ai toujours le mode sans SIP :
$ csrutil status
System Integrity Protection status: disabled.
$ csrutil enable
csrutil: failed to modify system integrity configuration. This tool needs to be executed from the Recovery OS.
$ diskutil list /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *1.1 TB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_HFS Macintosh HD 1.0 TB disk0s2 3: Apple_Boot Recovery HD 650.0 MB disk0s3
Pour finir :
Souviens-toi que le SIP verrouille beaucoup de commandes à destination du disque de démarrage. Par exemple la commande gpt rien que de lecture de la table GPT. Ou gdisk (de Roderick Smith) rien qu’en lecture de la GPT aussi. Donc quand tu obtiens comme retour d’une commande sudo :
operation non permittedtu peux te dire que c’est l’effet du SIP (si tu l’as réactivé)
Etape n°6 : DEMANDE D’AIDE SUR Forums.macrumors.com :
https://forums.macrumors.com/threads/newfs_hfs-cannot-create-filesystem-on-dev-rdisk0s3-operation-not-permitted.2117778/ .
Moins réactif que le forums français …
A suivre.