munki / createOSXinstallPkg

Tools for packaging OS X installers
Other
317 stars 47 forks source link

createOSXinstallPkg + First Boot Package Install Generator - install error- The package %@ is missing or invalid #20

Open MAJ007 opened 8 years ago

MAJ007 commented 8 years ago

Hi

I have noticed on certain machines during an upgrade when tailing the install log i see the following error:

installer[60829]: External component packages (1) trustLevel=100 (trust evaluation failed: Error Domain=PKInstallErrorDomain Code=106 "The package “%@” is missing or invalid." UserInfo=0x7faee8cd74e0 {NSLocalizedDescription=The package “%@” is missing or invalid., identifier=com.googlecode.munki.installosx.pkg})

I used First Boot Package Install Generator to create distribution style first boot package. I am not sure why its only happening on certain machines.

Any idea?

full error report here: http://www.wepaste.com/installerror/

If prompted for pwd leave field blank.

gregneagle commented 8 years ago

Is there an actual problem here? Looking at the error report you pointed to, the pkg seems to install normally after printing that warning.

I don't use First Boot Package Install Generator, and I have not seen this. Of course, if this is just log noise and the pkg does install properly, it's possible it's happening and I just haven't noticed.

MAJ007 commented 8 years ago

Thanks for the response Greg. Its a bit of a strange one as i see it from time to time on random machines. I know the full log says its installed but the machine reboots back into 10.10 (original OS). Ill then try install the package again and it will work no explanation. The subsequent successful install wont have the line in the install.log...“%@” is missing or invalid."

gregneagle commented 8 years ago

That seems to imply a bad download/file transfer of some sort -- if it fails once, but succeeds later with the same package and the same hardware. I also notice you are using Casper, which adds yet another variable to the process.

MAJ007 commented 8 years ago

Its an https pull from a webdav file share... Im leaning towards an issue with the transfer or when the machine extracts the downloaded pkg.zip. Thanks for your help though... I've been using createosxinstallpkg since it was son-of-installlion-pkg. I owe you multiple beverages.