munkiadmin icon indicating copy to clipboard operation
munkiadmin copied to clipboard

Error when importing payload free package

Open mattiasvdm opened this issue 10 years ago • 1 comments

When importing a payload free package in MunkiAdmin on 10.10, it gives the error:

Invalid pkginfo Failed to create a pkginfo.

This issue is already addressed in Munki. If you import the package with the munkiimport command it now gives you the warning:

WARNING: No valid Distribution or PackageInfo found. WARNING: pkginfo for 'SomePackage' contains no installation check info! No useful receipts were detected, and no 'installs' items were provided. If you do not add an 'installs' item or an installcheck_script, Munki will have no way to determine the item's installation state. This can result in repeated installation attempts or failure to attempt installation at all.

Maybe this could also be implemented in MunkiAdmin

mattiasvdm avatar Apr 22 '15 13:04 mattiasvdm

Thanks for reporting. MunkiAdmin currently just "blindly" calls makepkginfo and reads the output. The whole importing process is going to get attention at some point but can't promise any timeframe.

hjuutilainen avatar Apr 22 '15 14:04 hjuutilainen