ddodds / instadmg

Automatically exported from code.google.com/p/instadmg
0 stars 0 forks source link

CreateUser package error #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Package name is createUser 
         Installing at base path /private/tmp/InstaDMG_temp_folder.Xs6ujN/mount_point.s5hwK1 
        PHASE:Preparing for installation… 
         -[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost 
         -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Users/jeremym/Projects/Qivliq/Imaging/AutoImage/InstaDMG/./InstallerFiles/CustomPKG/01/createUser.pkg 
         Will use PK session 
         Starting installation: 
        PHASE:Preparing the disk… 
         Configuring volume "InstaDMG" 
         Preparing disk for local booted install. 
         Free space on "InstaDMG": 24.6 GB (24602951680 bytes). 
         Create temporary directory "/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-//Install.63378BNIkTr" 
         IFPKInstallElement (1 packages) 
        PHASE:Preparing createUser… 
        PHASE:Waiting for other installations to complete… 
         PackageKit: ----- Begin install ----- 
         PackageKit: request=PKInstallRequest <1 packages, destination=/tmp/InstaDMG_temp_folder.Xs6ujN/mount_point.s5hwK1> 
         PackageKit: packages=( 
            "PKJaguarPackage <file://localhost/Users/jeremym/Projects/Qivliq/Imaging/AutoImage/InstaDMG/./InstallerFiles/CustomPKG/01/createUser.pkg>" 
        ) 
        PHASE:Configuring the installation… 
        STATUS: 
         PackageKit: Extracting /Users/jeremym/Projects/Qivliq/Imaging/AutoImage/InstaDMG/InstallerFiles/CustomPKG/01/createUser.pkg/Contents/Archive.pax.gz (destination=/private/tmp/InstaDMG_temp_folder.Xs6ujN/mount_point.s5hwK1/.PKInstallSandbox-tmp/Root, uid=0) 
         PackageKit: Shoving /private/tmp/InstaDMG_temp_folder.Xs6ujN/mount_point.s5hwK1/.PKInstallSandbox-tmp/Root (0 items) to /tmp/InstaDMG_temp_folder.Xs6ujN/mount_point.s5hwK1 
         PackageKit: Executing script "./postflight" in /Users/jeremym/Projects/Qivliq/Imaging/AutoImage/InstaDMG/InstallerFiles/CustomPKG/01/createUser.pkg/Contents/Resources 
         ./postflight: OS 10.6.4 not supported 
         PackageKit: Install Failed: PKG: post-flight scripts for "edu.uc.daap.createuser.pkg" 
        Error Domain=PKInstallErrorDomain Code=112 UserInfo=0x100542ea0 "An error occurred while running scripts from the package “createUser.pkg”." { 
            NSFilePath = "./postflight"; 
            NSLocalizedDescription = "An error occurred while running scripts from the package U201ccreateUser.pkgU201d."; 
            NSURL = "file://localhost/Users/jeremym/Projects/Qivliq/Imaging/AutoImage/InstaDMG/./InstallerFiles/CustomPKG/01/createUser.pkg"; 
            PKInstallPackageIdentifier = "edu.uc.daap.createuser.pkg"; 
        } 
         install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 UserInfo=0x100542ea0 "An error occurred while running scripts from the package “createUser.pkg”." 
        %97.750000 
         Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. 
         The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.) 
    Folder 01 done (20:36:28)

Original issue reported on code.google.com by jeremy.m...@gmail.com on 15 Jul 2010 at 11:49

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hey Mr. Matthews, that's an older version of createUser... please use the one 
from svn or afp548.com's downloads section, keeping in mind the fact that the 
one on afp548 has an issue if you're trying to hide the user you create:
in the postflight script, line 241, it should be "-array-add" instead of 
"-array"(which, incidentally, is right in your older version).  

Please do try to include more background info next time, at least the svn rev 
number, additionally what OS you're booted from and hardware, and what OS 
you're trying to build(build number of BaseOS, even).

And please don't build deep in your home folder, since 10.6 the chroot jail 
isn't an option, and you don't want rogue installers looking at the booted OS 
and spewing files where they don't belong...

Original comment by allister...@gtempaccount.com on 16 Jul 2010 at 3:12

GoogleCodeExporter commented 8 years ago
gotcha - I must have grabbed the wrong version.

So...no building deep within the home folder...any suggestions on where to 
build?
Something shallow, like a folder at the root of the drive?

Apologies for not giving greater detail...I had originally copies that readout 
from the log and did not paste it into the page here...my bad.

Thanks,
j

Original comment by jeremy.m...@gmail.com on 16 Jul 2010 at 2:47

GoogleCodeExporter commented 8 years ago
There are two errors here:

1) The latest version of createUser.pkg does use --array-add, and has for some 
time. There was one revision were it got reverted, but then quickly came back.

2) I am going to disagree about the depth-of-build bit. My development copies 
are all a few layers into my home folder. And unless you are going to start to 
push up against the maximum path length (1024 characters) then this is not 
going to be an issue. The only thing to be careful of is having permissions 
that don't allow root into a folder along the way.

Original comment by kuehn.k...@gmail.com on 16 Jul 2010 at 3:44