Errore non identificabile durante l'installazione di xcode su Lion 10.7

0

Quindi due settimane fa avevo acquistato il 10.6 xcode dall'app store. Oggi lo stavo aggiornando dopo che ho appena ottenuto lion (7GB di download totali in una settimana per una app.

Attraverso l'installazione, ricevo un messaggio nel programma di installazione:

Errore rilevato controllo di /var/log/install.log:

Non sono sicuro di cosa stia succedendo, ma mi piacerebbe farlo riparare.

Ahmed-Dassoukis-MacBook-Pro:djig ahmed old$ cat /var/log/install.log
Jul 24 22:30:08 Ahmed-Dassoukis-MacBook-Pro newsyslog[9508]: logfile turned over due to size>1000K
Jul 24 22:30:34 Ahmed-Dassoukis-MacBook-Pro installd[9474]: PackageKit: Extracting file://localhost/Applications/Install%20Xcode.localized/Install%20Xcode.app/Contents/Resources/Packages/iPhoneSDK3_1_3.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root, uid=0)
Jul 24 22:30:40 Ahmed-Dassoukis-MacBook-Pro installd[9474]: PackageKit: Extracting file://localhost/Applications/Install%20Xcode.localized/Install%20Xcode.app/Contents/Resources/Packages/iPhoneSDK3_1_2.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root, uid=0)
Jul 24 22:30:46 Ahmed-Dassoukis-MacBook-Pro installd[9474]: PackageKit: Extracting file://localhost/Applications/Install%20Xcode.localized/Install%20Xcode.app/Contents/Resources/Packages/iPhoneSDK3_1.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root, uid=0)
Jul 24 22:30:51 Ahmed-Dassoukis-MacBook-Pro installd[9474]: PackageKit: Extracting file://localhost/Applications/Install%20Xcode.localized/Install%20Xcode.app/Contents/Resources/Packages/iPhoneSDK3_0.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root, uid=0)
Jul 24 22:30:55 Ahmed-Dassoukis-MacBook-Pro installd[9474]: PackageKit: Extracting file://localhost/Applications/Install%20Xcode.localized/Install%20Xcode.app/Contents/Resources/Packages/XcodeiPhonePlugins.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root, uid=0)
Jul 24 22:30:59 Ahmed-Dassoukis-MacBook-Pro installd[9474]: PackageKit: Executing script "./preinstall" in /private/tmp/PKInstallSandbox.IPAL84/Scripts/com.apple.pkg.DeveloperToolsLeo.aGdVUx
Jul 24 22:31:00 Ahmed-Dassoukis-MacBook-Pro _securityagent[9518]: Running Install Scripts . . .
Jul 24 22:31:00 Ahmed-Dassoukis-MacBook-Pro _securityagent[9520]: Begin script: AlertAll.sh
Jul 24 22:31:00 Ahmed-Dassoukis-MacBook-Pro installd[9474]: ./preinstall: sudo: unknown user: ahmed
Jul 24 22:31:00 Ahmed-Dassoukis-MacBook-Pro _securityagent[9523]: End script: AlertAll.sh
Jul 24 22:31:00 Ahmed-Dassoukis-MacBook-Pro _securityagent[9524]: Begin script: preflight
Jul 24 22:31:00 Ahmed-Dassoukis-MacBook-Pro _securityagent[9527]: End script: preflight
Jul 24 22:31:00 Ahmed-Dassoukis-MacBook-Pro _securityagent[9528]: Begin script: writelocation
Jul 24 22:31:00 Ahmed-Dassoukis-MacBook-Pro _securityagent[9531]: End script: writelocation
Jul 24 22:31:00 Ahmed-Dassoukis-MacBook-Pro _securityagent[9532]: Begin script: zzzcleanup
Jul 24 22:31:01 Ahmed-Dassoukis-MacBook-Pro _securityagent[9536]: End script: zzzcleanup
Jul 24 22:31:01 Ahmed-Dassoukis-MacBook-Pro _securityagent[9537]: 4 Install Scripts run.
Jul 24 22:31:33 Ahmed-Dassoukis-MacBook-Pro installd[9474]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “DeveloperTools.pkg”." UserInfo=0x7f8b56174d70 {NSFilePath=./preinstall, NSURL=file://localhost/Applications/Install%20Xcode.localized/Install%20Xcode.app/Contents/Resources/Packages/DeveloperTools.pkg, PKInstallPackageIdentifier=com.apple.pkg.DeveloperToolsLeo, NSLocalizedDescription=An error occurred while running scripts from the package “DeveloperTools.pkg”.} {
        NSFilePath = "./preinstall";
        NSLocalizedDescription = "An error occurred while running scripts from the package \U201cDeveloperTools.pkg\U201d.";
        NSURL = "file://localhost/Applications/Install%20Xcode.localized/Install%20Xcode.app/Contents/Resources/Packages/DeveloperTools.pkg";
        PKInstallPackageIdentifier = "com.apple.pkg.DeveloperToolsLeo";
    }
Jul 24 22:31:33 Ahmed-Dassoukis-MacBook-Pro installer[9465]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “DeveloperTools.pkg”." UserInfo=0x7ff9d8e61240 {NSFilePath=./preinstall, NSURL=file://localhost/Applications/Install%20Xcode.localized/Install%20Xcode.app/Contents/Resources/Packages/DeveloperTools.pkg, PKInstallPackageIdentifier=com.apple.pkg.DeveloperToolsLeo, NSLocalizedDescription=An error occurred while running scripts from the package “DeveloperTools.pkg”.}
Jul 24 22:31:34 Ahmed-Dassoukis-MacBook-Pro installer[9465]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
    
posta dassouki 25.07.2011 - 04:10
fonte

3 risposte

1

Sembra che ci sia un problema con il tuo nome sudo:

./preinstall: sudo: unknown user: ahmed

Suggerirei:

  1. apri un nuovo account amministratore (nelle Preferenze di Sistema)
  2. Accedi con questo nuovo account
  3. Prova ad installare XCode con esso. (Copia il tuo pacchetto "Installa XCode" in una cartella comune come /var/tmp )
  4. Se l'installazione ha esito positivo, torna al tuo vecchio account e verifica quali potrebbero essere potenzialmente i problemi con questo account.
  5. Se non ci dai un commento.
risposta data 09.09.2011 - 09:09
fonte
0

Ho visto questo "funkiness" quando iTunes non è stato ancora aggiornato. Hai eseguito aggiornamenti software su iTunes / Quicktime dopo aver installato Lion, riavviato e provato di nuovo l'installer?

    
risposta data 09.08.2011 - 22:39
fonte
-1

cambia il tuo mac giorno sulla tua versione di Xcode come 4.2 = 12/10/2012

    
risposta data 10.12.2012 - 07:30
fonte

Leggi altre domande sui tag