Application failing to install

28 views
Skip to first unread message

Siddhant Mishra

unread,
Feb 11, 2024, 9:52:55 AMFeb 11
to munki-dev
I see following error logged in install.log while trying to install a package via munki :

```
2024-01-24 14:44:54-05 MacBook-Pro shove[12079]: Error relinking file (primary): /Library/InstallerSandboxes/.PKInstallSandboxManager/30C4A3A1-D353-4DC2-9E0D-7D144233A02E.activeSandbox/Root/Library/Preferences/Logging/Subsystems/com.proofpoint.ecd.plist to /Library/Preferences/Logging/Subsystems/com.proofpoint.ecd.plist, error = 1
    srcPath = /Library/InstallerSandboxes/.PKInstallSandboxManager/30C4A3A1-D353-4DC2-9E0D-7D144233A02E.activeSandbox/Root/Library/Preferences/Logging/Subsystems/com.proofpoint.ecd.plist  
```

```
2024-01-24 14:53:13-05 MacBook-Pro installd[499]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=120 "An unexpected error occurred while moving files to the final destination." UserInfo={NSLocalizedDescription=An unexpected error occurred while moving files to the final destination., arguments=(
        "-f",
        "-s",
        "/Library/InstallerSandboxes/.PKInstallSandboxManager/97A37314-1EDF-4A75-B246-9194EE66689B.activeSandbox/Root",
        "/"
    ), NSUnderlyingError=0x137812af0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}} {
        NSLocalizedDescription = "An unexpected error occurred while moving files to the final destination.";
        NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=1 \"Operation not permitted\"";
        arguments =     (
            "-f",
            "-s",
            "/Library/InstallerSandboxes/.PKInstallSandboxManager/97A37314-1EDF-4A75-B246-9194EE66689B.activeSandbox/Root",
            "/"
        );
    }
```

Same package gets installed successfully using below command:
`sudo /usr/sbin/installer -verboseR -pkg <file> -target /`

I am seeing this issue in every 2 out of 10 devices which includes mostly Arm devices  and different OS versions(Monterey, Sonoma).

Any idea what could be wrong here ?

Gregory Neagle

unread,
Feb 11, 2024, 10:32:06 AMFeb 11
to munk...@googlegroups.com
This topic is better suited for the munki-discuss mailing list. 


Sent from my iPhone

On Feb 11, 2024, at 6:53 AM, Siddhant Mishra <siddhant....@gmail.com> wrote:

I see following error logged in install.log while trying to install a package via munki :
--
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 on the web visit https://groups.google.com/d/msgid/munki-dev/3b10c6cb-afe9-4389-ad85-2e6c280fed95n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages