Quick help wanted

111 views
Skip to first unread message

Gregory Neagle

unread,
Mar 26, 2025, 1:18:08 PMMar 26
to munki-discuss, munki-dev
Please see https://github.com/munki/munki/pull/1238

It would be very helpful if people could check their Munki repos and see if they have any packages with a Distribution file named anything other than exactly “Distribution”. One way to do that would be to cd into your repo’s pkg directory and run this:

find . -name "*.pkg" -type f -exec xar -tf {} \; | grep Distribution
If anything other than “Distribution” is printed on any line, I’d love to know what that is.
-Greg

Vaughn Miller

unread,
Mar 26, 2025, 1:31:23 PMMar 26
to munki-...@googlegroups.com
Ran this test against my repo, and did not find any instance of a Distribution file named anything other than Distribution.

Vaughn

--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/munki-discuss/66A526DE-4AD4-49A5-8E38-8943DB519929%40mac.com.

John Altonen

unread,
Mar 26, 2025, 1:33:47 PMMar 26
to munki-...@googlegroups.com
got a couple of these:

.svn/prop-base/Distribution.svn-base

Gregory Neagle

unread,
Mar 26, 2025, 1:51:18 PMMar 26
to munki-...@googlegroups.com
Those are almost certainly ignorable: I’d expect that the package also has a file named “Distribution” at the top-level of the expanded package.

-Greg

Daniel Moore

unread,
Mar 26, 2025, 1:51:43 PMMar 26
to munki-...@googlegroups.com

Patrick Gallagher

unread,
Mar 26, 2025, 2:35:42 PMMar 26
to munki-...@googlegroups.com
Got one non-"Distribution" hit:

Error opening xar archive: ./munki_repo/pkgs/apps/ciscojabber/CiscoJabberMac-12.9.6.305455.pkg

Elliot Jordan

unread,
Mar 26, 2025, 4:33:54 PMMar 26
to munki-...@googlegroups.com
No results other than "Distribution" here.

Elliot

hfi...@gmail.com

unread,
Mar 26, 2025, 5:03:04 PMMar 26
to munki-discuss
None here.

David Vandenborn

unread,
Mar 27, 2025, 7:33:45 AMMar 27
to munki-...@googlegroups.com
Only pure Distribution files in our repo.

David


--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/munki-dev/66A526DE-4AD4-49A5-8E38-8943DB519929%40mac.com.

Rick Davis

unread,
Mar 27, 2025, 8:26:08 AMMar 27
to munki-discuss
Not sure if this is an indication that I need to cleanup my repo. Or if this is what you are looking for. I have 49 lines that begin with: "Error opening xar archive:" 

Rick

On Wednesday, March 26, 2025 at 1:18:08 PM UTC-4 Gregory Neagle wrote:

pa...@palindrome.com

unread,
Mar 27, 2025, 9:11:11 AMMar 27
to munki-discuss
Just Distribution on several repos.

Antony Nelson

unread,
Mar 27, 2025, 11:16:11 AMMar 27
to munki-...@googlegroups.com
As you are grep'ing for Distribution surely the only line you would get would be ones containing the string Distribution?  (it's likely I don't fully understand)

The only other lines I got std error along the lines of

Error opening xar archive: ./subdirectory/._packagename.pkg


--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/munki-discuss/66A526DE-4AD4-49A5-8E38-8943DB519929%40mac.com.


--
Antony Nelson

Alan

unread,
Mar 27, 2025, 1:48:26 PMMar 27
to munki-...@googlegroups.com

Gregory Neagle

unread,
Mar 27, 2025, 2:27:10 PMMar 27
to munki-...@googlegroups.com
To better understand, please read the issue I posted with my original request:


Those of you seeing "Error opening xar archive” — this is likely nothing to worry about and is not relevant to the issue I’m looking at. The most likely cause is you have stored packages on a non-HFS+ and non-APFS filesystem, and some of the packages have extended attributes that are being stored in “._foo.pkg” files.

-Greg

hild...@columbusacademy.org

unread,
Apr 1, 2025, 10:05:46 AMApr 1
to munki-discuss
I also got a couple of -

.svn/prop-base/Distribution.svn-base

.svn/text-base/Distribution.svn-base


The rest came back as Distribution


Reply all
Reply to author
Forward
0 new messages