preload
Apr 02

很奇怪,這幾天要用 MacPorts 裝工具軟體都失敗。

lauct$ sudo port install lynx
Password:
---> Fetching lynx
---> Attempting to fetch 2.8.5rel.2.patch.gz from http://lynx.isc.org/lynx2.8.5/patches/
(略...)
---> Attempting to fetch lynx2.8.5.tar.bz2 from http://distfiles-bay13.opendarwin.org/
Error: Target com.apple.fetch returned: fetch failed
Error: Status 1 encountered during processing.
lauct$

問題好像出在 Apple 那邊?

溫故知新

載入中…

歷史上的今天..

沒有相關文章.

4 Responses to “dports 軟體安裝失敗錯誤訊息”

  1. Chun Says:

    砍掉重練,結果:

    sudo port selfupdate

    Error: /opt/local/bin/port: selfupdate failed: Couldn’t sync dports tree: sync failed doing rsync

  2. candyz Says:

    你有 port sync 過嗎?
    opendarwin.org 已經沒什麼在用了(DarwinPorts 改成 MacPorts 後)

    [candyz@mb:~] sudo port install lynx
    —> Fetching lynx
    —> Attempting to fetch lynx2.8.6.tar.bz2 from http://lynx.isc.org/lynx2.8.6/
    —> Verifying checksum(s) for lynx
    —> Extracting lynx
    —> Applying patches to lynx
    —> Configuring lynx
    —> Building lynx with target all
    —> Staging lynx into destroot
    —> Installing lynx 2.8.6rel.4_0
    —> Activating lynx 2.8.6rel.4_0
    —> Cleaning lynx

    一切正常啊……

  3. Chun Says:

    剛才我試了以下的命令

    $ port info lynx
    Warning: Can’t open index file for source: rsync://rsync.darwinports.org/dpupdate/dports
    Error: search for portname lynx failed: No index(es) found! Have you synced your source indexes?

    $ port sync
    port sync failed: sync failed doing rsync

    $ sudo port -d sync
    Synchronizing from rsync://rsync.darwinports.org/dpupdate/dports
    rsync: failed to connect to rsync.darwinports.org: Operation timed out (60)
    rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-24.1/rsync/clientserver.c(94)
    DEBUG: sync failed doing rsync
    while executing
    “dportsync”
    port sync failed: sync failed doing rsync

    我 ping 了一下 rsync.darwinports.org,沒反應噎,不曉得是不給 ping 還是掛掉了。
    $ ping rsync.darwinports.org
    PING rsync.darwinports.org (204.152.184.197): 56 data bytes

  4. Chun Says:

    剛才 sudo port -d sync & sudo port -d selfupdate 都正常了。

    開始懷疑是我家 Hinet 的問題。

Leave a Reply