Posted on 08-07-2012 08:21 AM
I have an Apple Package that installs a Configuration Profile for 802.1x. When I run this package using installer -pkg /path/to/package.pkg -target / it works great.
I import the package into Casper Admin, make a policy for it and manually trigger it. When it runs, it throws this error:
Executing Policy 802.1x Wired Test...
Mounting afp://server/CasperShare to /Volumes/CasperShare 1...
Copying 802.1x_ethernet_profile-1.0.0.pkg...
Installing 802.1x_ethernet_profile-1.0.0.pkg...
Installation failed. The installer reported: installer: Package name is 802.1x_ethernet_profile
installer: Upgrading at base path /
installer: The upgrade failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
Unmounting file server...
And in install.log:
Aug 7 11:09:57 computername installd[99073]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “802.1x_ethernet_profile-1.0.0.pkg”." UserInfo=0x10c0ae8a0 {NSFilePath=./postflight, NSURL=file://localhost/Library/Application%20Support/JAMF/Downloads/802.1x_ethernet_profile-1.0.0.pkg, PKInstallPackageIdentifier=com.company.802.1x_ethernet_profile, NSLocalizedDescription=An error occurred while running scripts from the package “802.1x_ethernet_profile-1.0.0.pkg”.} {
NSFilePath = "./postflight";
NSLocalizedDescription = "An error occurred while running scripts from the package U201c802.1x_ethernet_profile-1.0.0.pkgU201d.";
NSURL = "file://localhost/Library/Application%20Support/JAMF/Downloads/802.1x_ethernet_profile-1.0.0.pkg";
PKInstallPackageIdentifier = "com.company.802.1x_ethernet_profile";
}
Aug 7 11:09:57 computername installer[99014]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “802.1x_ethernet_profile-1.0.0.pkg”." UserInfo=0x7fdd039077b0 {NSFilePath=./postflight, NSURL=file://localhost/Library/Application%20Support/JAMF/Downloads/802.1x_ethernet_profile-1.0.0.pkg, PKInstallPackageIdentifier=com.company.802.1x_ethernet_profile, NSLocalizedDescription=An error occurred while running scripts from the package “802.1x_ethernet_profile-1.0.0.pkg”.}
Aug 7 11:09:57 computername installer[99014]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Anyone run into this before?
Thanks,
Nate