Skip to content

xcode-select cannot install XCode (Unable to write to tmp folder) #1606

@RuiFPB

Description

@RuiFPB

Expected Result
XCode Command Line Tools to Install

Actual Result
xcode-select fails to install CLTools

Steps To Reproduce

  1. Follow curl hangs due to DNS resolution #1220 to enable DNS resolution in darling shell
  2. Shutdown and restart shell
  3. Run xcode-select --install
Darling [~]$ xcode-select --install
You are about to download and install Apple Command Line Tools covered by the following license:
https://www.apple.com/legal/sla/docs/xcode.pdf

Do you agree with the terms of the license? (y/n) y
Downloading packages...
Downloading CLTools_Executables.pkg...
Installing...
installer: Installing package com.apple.pkg.CLTools_Executables version 9.2.0.0.1.1510905681 (597942 KB)
Cannot create temporary directory for scripts
Installation failed with exit code 1

System Information

Software Version
Linux Kernel 6.15.5-200.fc42.x86_64
Distribution Fedora KDE Workstation 42
Darling 5faf581
Build Options -DTARGET_i386=OFF

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions