Skip to content

AdobeReader.munki: force munki version via --pkgvers (new installer filename breaks version detection) - #564

Open
mikeknight85 wants to merge 1 commit into
autopkg:masterfrom
mikeknight85:fix-adobereader-version
Open

AdobeReader.munki: force munki version via --pkgvers (new installer filename breaks version detection)#564
mikeknight85 wants to merge 1 commit into
autopkg:masterfrom
mikeknight85:fix-adobereader-version

Conversation

@mikeknight85

Copy link
Copy Markdown

Adobe renamed the Reader installer from AcroRdrDC_<version>_MUI.dmg to AdobeReader<version>.dmg (current: AdobeReader2600121662.dmg).

With the new naming, makepkginfo's name/version heuristic splits the trailing digits off the pkg name, so the imported pkginfo gets version: 2600121662 instead of 26.001.21662. The receipts keep the dotted versions (the Distribution has no product version attribute), but the item version is wrong.

This is worse than cosmetic: munki's version comparison treats 2600121662 as a single huge number, so this item sorts above every future 26.x/27.x release — clients stick to it and never see another Reader update.

Repro:

% makepkginfo AdobeReader2600121662.dmg | plutil -extract version raw -o - -- -
2600121662

Fix: pass the properly dotted version that AdobeReaderURLProvider already returns (from Adobe's RDC API, e.g. 26.001.21662) to makepkginfo via additional_makepkginfo_options --pkgvers. Older installers with the previous naming are unaffected by this change — the explicit version matches what the heuristic used to fall back to.

Adobe renamed the installer from AcroRdrDC_<version>_MUI.dmg to
AdobeReader<version>.dmg (e.g. AdobeReader2600121662.dmg). With the new
name, makepkginfo's name/version heuristic splits the trailing digits
off the pkg name and the imported pkginfo gets version "2600121662"
instead of "26.001.21662". Since munki compares that as a single huge
number, such an item sorts above every future 26.x/27.x release and
blocks all further updates.

Pass the properly dotted version from AdobeReaderURLProvider to
makepkginfo via --pkgvers so the pkginfo version always matches the
actual release version.
mikeknight85 pushed a commit to SRGSSR/recipes that referenced this pull request Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant