hjuutilainen-recipes icon indicating copy to clipboard operation
hjuutilainen-recipes copied to clipboard

TeamViewer wrong version detection

Open ofirgalcon opened this issue 3 years ago • 4 comments

It appear to download the latest version but calls it v1.0

ofirgalcon avatar Mar 03 '21 01:03 ofirgalcon

If you talk about the munki recipe, this seems to be fixed with the last version updated a few hours ago.

But i had to delete and remake the override. Probably because the parent hierarchy changed ???

jpiel avatar Mar 03 '21 07:03 jpiel

@hansen-m @hjuutilainen Looks like it still does not work and is stuck in an update loop. I have deleted the repo cache on my Autopkg installation to fetch the newest Teamviewer.munki.recipe and I removed all TeamViewer from my munki Repo. After the recipe was executed, TeamViewer was again present in the muni repo, but the clients are fetching and running the pkg constantly. This is especially bugging because the TeamViewer app opens after each update run.

opus-nbonenberger avatar Mar 08 '21 07:03 opus-nbonenberger

It seems that the recipe is not creating a Munki installs item correctly so Munki is expecting all of the package receipts to be present after installation. Probably some of them are skipped when installing the package and Munki keeps reinstalling it over and over again. You can correct this immediately by adding an installs item to your pkginfo (use /Applications/TeamViewer.app) or marking some of the receipts as optional. I'll update the recipe so that future AutoPkg runs will create the item correctly.

hjuutilainen avatar Mar 08 '21 08:03 hjuutilainen

@hjuutilainen Can it be inherited from here? https://github.com/autopkg/hjuutilainen-recipes/blob/master/TeamViewer/TeamViewer.pkg.recipe#L62

hansen-m avatar Mar 08 '21 13:03 hansen-m