我嘗試透過 wget 下載 openSUSE 12.1。
它在 64% 顯示後停止:
05:54:48 (120.30 KB/s) - `openSUSE-12.1-DVD-i586.iso' saved 4429185024/4429185024]
看起來已經下載完成了,但為什麼只顯示64%呢?
anisha@linux-2gbt:~> wget -c http://ftp.uni-bremen.de/pub/mirrors/opensuse/distribution/openSUSE-stable/iso/openSUSE-12.1-DVD-i586.iso
--11:39:58-- http://ftp.uni-bremen.de/pub/mirrors/opensuse/distribution/openSUSE-stable/iso/openSUSE-12.1-DVD-i586.iso
=> `openSUSE-12.1-DVD-i586.iso'
Resolving ftp.uni-bremen.de... 134.102.228.70
Connecting to ftp.uni-bremen.de|134.102.228.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,429,185,024 (4.1G) [application/x-iso9660-image]
47% [===========================================> ] 2,425,434,388 --.--K/s ETA 8:59:38
19:55:21 (79.70 KB/s) - Read error at byte 2425434388/4429185024 (Connection timed out). Retrying.
--19:55:22-- http://ftp.uni-bremen.de/pub/mirrors/opensuse/distribution/openSUSE-stable/iso/openSUSE-12.1-DVD-i586.iso
(try: 2) => `openSUSE-12.1-DVD-i586.iso'
Connecting to ftp.uni-bremen.de|134.102.228.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,429,185,024 (4.1G) [application/x-iso9660-image]
64% [===========================================================> ] 4,429,185,024 192.61K/s ETA 5:28:09
05:54:48 (120.30 KB/s) - `openSUSE-12.1-DVD-i586.iso' saved [4429185024/4429185024]
我嘗試再次啟動它,因為我使用了-c
選項,如果下載真正完成,它不會再次開始下載,但它確實再次開始。我應該從中得到什麼結論?
anisha@linux-2gbt:~> wget -c http://ftp.uni-bremen.de/pub/mirrors/opensuse/distribution/openSUSE-stable/iso/openSUSE-12.1-DVD-i586.iso
--08:50:56-- http://ftp.uni-bremen.de/pub/mirrors/opensuse/distribution/openSUSE-stable/iso/openSUSE-12.1-DVD-i586.iso
=> `openSUSE-12.1-DVD-i586.iso'
Resolving ftp.uni-bremen.de... 134.102.228.70
Connecting to ftp.uni-bremen.de|134.102.228.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,429,185,024 (4.1G) [application/x-iso9660-image]
2% [=> ] 207,066,532 93.31K/s ETA 15:56:35^C
anisha@linux-2gbt:~>
答案1
說什麼了$?
?通常,檢查返回值會有所幫助。
另外,請嘗試根據互聯網上的文件驗證下載檔案的 md5sum,以確保沒問題。