Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installDMGPKG:46: no matches found: #130

Open
DamagedDingo opened this issue May 16, 2024 · 1 comment
Open

installDMGPKG:46: no matches found: #130

DamagedDingo opened this issue May 16, 2024 · 1 comment

Comments

@DamagedDingo
Copy link
Contributor

DamagedDingo commented May 16, 2024

I am trying to install the Nessus agent and it mounts the image, finds the DMG contains a PKG, starts the PKG installer, then fails with no match for *.mpkg..
The app is installed (I think correctly), but the script fails so it doesn't run the last line which is to connect the agent to the server, and it reports as failed in Intune.
The agent doesn't install into /Applications so that might also have something to do with it.

##############################################################
# Thu May 16 09:41:53 AEST 2024 | Logging install of [NessusAgent] to [/Library/Logs/Microsoft/IntuneScripts/InstallerScripts/NessusAgent/NessusAgent.log]
############################################################

Thu May 16 09:41:53 AEST 2024 | Checking if we need Rosetta 2 or not
Thu May 16 09:41:53 AEST 2024 | Waiting for other [/usr/sbin/softwareupdate] processes to end
Thu May 16 09:41:54 AEST 2024 | No instances of [/usr/sbin/softwareupdate] found, safe to proceed
Thu May 16 09:41:54 AEST 2024 | Intel processor installed. No need to install Rosetta.
Thu May 16 09:41:54 AEST 2024 | Aria2 already installed, nothing to do
Thu May 16 09:41:54 AEST 2024 | Checking if we need to install or update [NessusAgent]
Thu May 16 09:41:54 AEST 2024 | [NessusAgent] not installed, need to download and install
Thu May 16 09:41:55 AEST 2024 | Dock is here, lets carry on
Thu May 16 09:41:55 AEST 2024 | Starting downlading of [NessusAgent]
Thu May 16 09:41:55 AEST 2024 | Downloading NessusAgent [https://www.tenable.com/downloads/api/v1/public/pages/nessus-agents/downloads/22994/download?i_agree_to_tenable_license_agreement=true]
Thu May 16 09:41:58 AEST 2024 | Found downloaded tempfile [NessusAgent-10.6.3.dmg]
Thu May 16 09:41:58 AEST 2024 | Found DMG, looking inside...
Thu May 16 09:41:58 AEST 2024 | Mounting Image [/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.ehUfPymdQL/NessusAgent] [NessusAgent-10.6.3.dmg]
Thu May 16 09:42:02 AEST 2024 | Mounted succesfully to [/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.ehUfPymdQL/NessusAgent]
Thu May 16 09:42:02 AEST 2024 | Detected PKG, setting PackageType to DMGPKG
Thu May 16 09:42:02 AEST 2024 | Un-mounting [/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.ehUfPymdQL/NessusAgent]
Thu May 16 09:42:02 AEST 2024 | Downloaded [NessusAgent.app] to [NessusAgent-10.6.3.dmg]
Thu May 16 09:42:02 AEST 2024 | Detected install type as [DMGPKG]
Thu May 16 09:42:02 AEST 2024 | Waiting for other [/Library/NessusAgent.app/run/sbin/nessus-service] processes to end
Thu May 16 09:42:02 AEST 2024 | No instances of [/Library/NessusAgent.app/run/sbin/nessus-service] found, safe to proceed
Thu May 16 09:42:02 AEST 2024 | Installing [NessusAgent]
Thu May 16 09:42:02 AEST 2024 | Mounting Image
Thu May 16 09:42:03 AEST 2024 | Starting installer for [/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.ehUfPymdQL/NessusAgent/Install Nessus Agent.pkg]
installer: Package name is Tenable Nessus Agent
installer: Upgrading at base path /
installer: The upgrade was successful.
installDMGPKG:46: no matches found: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.ehUfPymdQL/NessusAgent/*.mpkg

NessusAgent.log
Nessus_Agent_Install cleaned.txt

@DamagedDingo
Copy link
Contributor Author

Here is another application doing the same thing. As i'm typing this I think its when i switched to using latest script so I will need to rewrite it in an older one and see if it goes away.

LatestSampleScript/installIntuneApp4.05.zsh

##############################################################
# Thu May 16 08:53:21 AEST 2024 | Logging install of [JabraDirect] to [/Library/Logs/Microsoft/IntuneScripts/installJabraDirect/JabraDirect.log]
############################################################

Thu May 16 08:53:21 AEST 2024 | Checking if we need Rosetta 2 or not
Thu May 16 08:53:21 AEST 2024 | Waiting for other [/usr/sbin/softwareupdate] processes to end
Thu May 16 08:53:21 AEST 2024 | No instances of [/usr/sbin/softwareupdate] found, safe to proceed
Thu May 16 08:53:22 AEST 2024 | Intel processor installed. No need to install Rosetta.
Thu May 16 08:53:22 AEST 2024 | Aria2 missing, lets download and install
Thu May 16 08:53:23 AEST 2024 | Downloaded aria2
Thu May 16 08:53:23 AEST 2024 | Mounting Aria DMG...
Thu May 16 08:53:32 AEST 2024 | Mounted DMG
installer: Package name is aria1 1.35.0
installer: Installing at base path /
installer: The install was successful.
Thu May 16 09:08:08 AEST 2024 | Aria2 installed
Thu May 16 09:08:19 AEST 2024 | Checking if we need to install or update [JabraDirect]
Thu May 16 09:08:19 AEST 2024 | [JabraDirect] not installed, need to download and install
Thu May 16 09:08:19 AEST 2024 | Dock is here, lets carry on
Thu May 16 09:08:19 AEST 2024 | Starting downlading of [JabraDirect]
Thu May 16 09:08:19 AEST 2024 | Downloading JabraDirect [https://jabraxpressonlineprdstor.blob.core.windows.net/jdo/JabraDirectSetup.dmg]
Thu May 16 09:08:50 AEST 2024 | Found downloaded tempfile [JabraDirectSetup.dmg]
Thu May 16 09:08:50 AEST 2024 | Found DMG, looking inside...
Thu May 16 09:08:50 AEST 2024 | Mounting Image [/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.iYWNOLPDj2/JabraDirect] [JabraDirectSetup.dmg]
Thu May 16 09:09:07 AEST 2024 | Mounted succesfully to [/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.iYWNOLPDj2/JabraDirect]
Thu May 16 09:09:07 AEST 2024 | Detected PKG, setting PackageType to DMGPKG
Thu May 16 09:09:07 AEST 2024 | Un-mounting [/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.iYWNOLPDj2/JabraDirect]
Thu May 16 09:09:13 AEST 2024 | Downloaded [Jabra Direct.app] to [JabraDirectSetup.dmg]
Thu May 16 09:09:13 AEST 2024 | Detected install type as [DMGPKG]
Thu May 16 09:09:13 AEST 2024 | Waiting for other [/Applications/Jabra Direct.app/Contents/MacOS/Jabra Direct] processes to end
Thu May 16 09:09:14 AEST 2024 | No instances of [/Applications/Jabra Direct.app/Contents/MacOS/Jabra Direct] found, safe to proceed
Thu May 16 09:09:14 AEST 2024 | Installing [JabraDirect]
Thu May 16 09:09:14 AEST 2024 | Mounting Image
Thu May 16 09:09:14 AEST 2024 | Starting installer for [/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.iYWNOLPDj2/JabraDirect/JabraDirectSetup.pkg]
installer: Package name is Jabra Direct
installer: Installing at base path /
installer: The install was successful.
installDMGPKG:46: no matches found: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.iYWNOLPDj2/JabraDirect/*.mpkg

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

No branches or pull requests

1 participant