Skip to content

update fails for TestFlight #1105

@jerryc127

Description

@jerryc127

Configuration

mas ▁▁▁▁ 4.1.0
arch ▁▁▁ x86_64
from ▁▁▁ homebrew/core/mas
origin ▁ https://github.com/mas-cli/mas.git
rev ▁▁▁▁ 4fa8f4c1f5f2ae7e9a554451621d054bba0c7057
swift ▁▁ 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
driver ▁ 1.115.1
region ▁ HK
macos ▁▁ 15.7.2 (24G325)
mac ▁▁▁▁ iMac20,1
cpu ▁▁▁▁ Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz

Bug description

❯ mas upgrade
Error: Failed to install TestFlight (4.1.0) from /var/folders/5b/2qwrskzx03db7rfxhtzr49mm0000gn/T/TemporaryItems/NSIRD_mas_popiUQ/899247664-pxs7575530779163193042.pkg
Exit status: 1

Standard output:
installer: Package name is TestFlight
installer: Upgrading at base path /
installer: The upgrade failed. (「安裝程式」遇到導致安裝失敗的錯誤。請聯絡軟件製造商來尋求協助。 將檔案移到最後的目標時發生無法預期的錯誤。)

Standard error:
Dec 11 21:28:41  installer[6180] <Debug>: Product archive /var/folders/5b/2qwrskzx03db7rfxhtzr49mm0000gn/T/TemporaryItems/NSIRD_mas_popiUQ/899247664-pxs7575530779163193042.pkg trustLevel=401
Dec 11 21:28:41  installer[6180] <Debug>: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
Dec 11 21:28:41  installer[6180] <Debug>: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/var/folders/5b/2qwrskzx03db7rfxhtzr49mm0000gn/T/TemporaryItems/NSIRD_mas_popiUQ/899247664-pxs7575530779163193042.pkg#TestFlight.pkg
Dec 11 21:28:41  installer[6180] <Info>: Set authorization level to root for session
Dec 11 21:28:41  installer[6180] <Info>: Authorization is being checked, waiting until authorization arrives.
Dec 11 21:28:41  installer[6180] <Info>: Administrator authorization granted.
Dec 11 21:28:41  installer[6180] <Info>: Packages have been authorized for installation.
Dec 11 21:28:41  installer[6180] <Debug>: Will use PK session
Dec 11 21:28:41  installer[6180] <Debug>: Using authorization level of root for IFPKInstallElement
Dec 11 21:28:41  installer[6180] <Info>: Starting installation:
Dec 11 21:28:41  installer[6180] <Notice>: Configuring volume "Macintosh HD"
Dec 11 21:28:41  installer[6180] <Info>: Preparing disk for local booted install.
Dec 11 21:28:41  installer[6180] <Notice>: Free space on "Macintosh HD": 805.48 GB (805483941888 bytes).
Dec 11 21:28:41  installer[6180] <Notice>: Create temporary directory "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T//Install.6180XRUFeR"
Dec 11 21:28:41  installer[6180] <Notice>: IFPKInstallElement (1 packages)
Dec 11 21:28:41  installer[6180] <Info>: Current Path: /usr/sbin/installer
Dec 11 21:28:41  installer[6180] <Notice>: PackageKit: Enqueuing install with framework-specified quality of service (utility)
Dec 11 21:28:43  installer[6180] <Debug>: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=120 "將檔案移到最後的目標時發生無法預期的錯誤。" UserInfo={NSUnderlyingError=0x60000336df50 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}, NSLocalizedDescription=將檔案移到最後的目標時發生無法預期的錯誤。, arguments=(
	    "-f",
	    "-s",
	    "/Library/InstallerSandboxes/.PKInstallSandboxManager/1CBA2A85-EFE8-4396-9129-7B0BFA628316.activeSandbox/Root",
	    "/"
	)}
Dec 11 21:28:43  installer[6180] <Error>: Install failed: 「安裝程式」遇到導致安裝失敗的錯誤。請聯絡軟件製造商來尋求協助。

Steps to reproduce

mas upgrade

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions