Closed opus-nbonenberger closed 1 year ago
Also encountering this error. Not sure if TeamViewerApp is no longer a pkg.
TeamViewerApp.pkg is also no able to open via suspicious package Also expanding it via pkgutil does not work.
It might be the same issue as with MacOS updates maybe? https://exchangetuts.com/how-to-extract-contents-from-payload-file-in-a-apple-macos-update-package-1639690271789286
This issue is related to the PkgPayloadUnpacker
processor included with Autopkg when attempting to decompress Payloads of modern macOS Packages.
There is a pull request (autopkg/autopkg#804) that addresses this issue by substituting commands ditto
with aa
when a failure is detected and aa
is present. The aa
command is able to decompress these newer archives without issue.
Using Autopkg 2.7.2
Still get the error with "PkgPayloadUnpacker" or "PBXZPayloadUnpacker", both don't work.
PkgPayloadUnpacker: The following recipes failed: TeamViewer.munki Error in local.munki.TeamViewer: Processor: PkgPayloadUnpacker: Error: extraction of /Users/Shared/Jenkins/Library/AutoPkg/Cache/local.munki.TeamViewer/unpack/TeamViewerApp.pkg/Payload with ditto failed: ditto: cpio read error: bad file format
PBXZPayloadUnpacker: The following recipes failed: TeamViewer.munki Error in local.munki.TeamViewer: Processor: PBXZPayloadUnpacker: Error: extraction of /Users/Shared/Jenkins/Library/AutoPkg/Cache/local.munki.TeamViewer/unpack/TeamViewerApp.pkg/Payload with ditto failed: ditto: cpio read error: bad file format
Am i missing something or ist this still broken ? Should this work with the processor PBXZPayloadUnpacker ?
All my issues are solved with autoPKG 2.7.2 and the latest update from this recipe which included PBXZPayloadUnpacker Are you sure you have a valid override?
Just tested the recipe and it downloads and updates munki flawless with the latest version TeamViewer-15.37.3.pkg
good luck :)
Yes i deleted all overrides, that why I was wondering... hjuutilainen-recipes is up do date.
even run-in without an override, same result.
@jannheider It's working OK for me, too. Could you post the full output of what happens when you run your override (not running the recipe directly), with the -v
flag?
Ok, it works now... it turned out that I was connected to one of our older Jenkins build servers, it was running on Catalina.
In Catalina you don't have "aa", on our newer servers everything is working fine.
So I thing this issue can now be closed as it is fixed.
Nice, I'm glad you got it working! Tagging @hjuutilainen to close this issue, if he's OK with it.
Closing, thanks everyone!
Autopkg 2.4.1
I don't know what to make of it.