Xcode is not currently available from the Software Update server

后端 未结 15 2241
[愿得一人]
[愿得一人] 2020-11-28 02:01

I have problems with my macport after update to OS X 10.9.

I try to follow this manual https://trac.macports.org/wiki/Migration to fix them.

But when I inst

相关标签:
15条回答
  • 2020-11-28 02:37

    I faced same problem of Can't install the software because it is currently not available from the Software Update Server. You may try following steps instead to make the Software Update initiate update for the Command Line Tools.

    1. Check if Command Line Tools Update is mentioned in your list of softwares to be updated by using following command: softwareupdate -l
    2. If Command Line Tools Update is not mentioned in that list, then manually make it part of the list using following command which will create a temporary file: sudo touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
    3. Verify that the list now has the Command Line Tools mentioned by running softwareupdate -l again.
    4. Now, press Cmd+Space to initiate Mac's Spotlight Search. Search for Software Update. Start the Software Update.
    5. That will show you following kind of dialog for installing the Command Line Tools. Install away the update and be merry. :)
    6. Remove the temporary file created in Step 2: sudo rm /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress.
    0 讨论(0)
  • 2020-11-28 02:39

    You can download the command line tools for OS X Mavericks manually from here:

    • https://developer.apple.com/downloads/index.action?name=for%20Xcode
    0 讨论(0)
  • 2020-11-28 02:41

    I just got the same error after I upgraded to 10.14 Mojave and had to reinstall command line tools (I don't use the full Xcode IDE and wanted command line tools a la carte).

    My xcode-select -p path was right, per Basav's answer, so that wasn't the issue.

    I also ran sudo softwareupdate --clear-catalog per Lambda W's answer and that reset to Apple Production, but did not make a difference.

    What worked was User 92's answer to visit https://developer.apple.com/download/more/.

    From there I was able to download a .dmg file that had a GUI installer wizard for command line tools :)

    I installed that, then I restarted terminal and everything was back to normal.

    0 讨论(0)
  • The command

    xcode-select --install

    proposes 3 options: Get Xcode; Not Now; Install.

    When I choose to get full Xcode the command finished successfully. It took a while, but this way I was able to complete all macports migration instructions.

    0 讨论(0)
  • 2020-11-28 02:44

    I know this is an old post but I also ran into this problem today. I found out that when I executed sudo softwareupdate -l the Command Line Tools were listed as an update, so I installed them using sudo softwareupdate -i -a.

    0 讨论(0)
  • 2020-11-28 02:46

    Had the same issue and was getting the same error. When i ran xcode-select -p, it gave output as /Library/Developer/CommandLineTools. So that means xcode was already installed in my system. Then i ran steps as given on this answer. After which any command which required xcode ran successfully.

    0 讨论(0)
提交回复
热议问题