autopkg / hjuutilainen-recipes

Recipes for AutoPkg
MIT License
49 stars 74 forks source link

Packages recipe giving CodeVerification error #269

Closed jelockwood closed 9 months ago

jelockwood commented 9 months ago

Error in local.munki.Packages: Processor: CodeSignatureVerifier: Error: Error processing path '/private/tmp/dmg.VHMvk4/packages/Packages.pkg' with glob.

The download recipe is successfully downloading the disk image but then gives the above error. (The disk image mounts fine.)

I am guessing the source website http://s.sudre.free.fr/Software/Packages/about.html has made a change.

randomName0815 commented 9 months ago

same here
i don´t have a old DMG to verify, but it seems like the PKG Path in the DMG has changed from %pathname%/packages/Packages.pkg to %pathname%/Install Packages.pkg had to replace the Path in .dmg and .pkg to fix this.

I am unfortunately not yet familiar with pull requests, would be great if someone could test and create it

randomName0815 commented 9 months ago

just found a old DMG and could verify that the "Install Packages" was an alias to the hidden packages folder before, now it is the pkg

jelockwood commented 9 months ago

@hjuutilainen Any joy on an official fix to your recipe?

randomName0815 commented 9 months ago

it is already updated, check your used .pkg recipe, in my case it is from another repository, did my first pull request for this :) https://github.com/autopkg/rtrouton-recipes/pull/181

jelockwood commented 9 months ago

@randomName0815 @hjuutilainen Ah yes so it is fixed. My override recipe had been generated from the old bad recipe and was upsetting things, I deleted my override and created a new one and it is now working.

Thanks!