2

I attempted to download openSUSE 12.1 through wget.
It stopped after 64% showing:

05:54:48 (120.30 KB/s) - `openSUSE-12.1-DVD-i586.iso' saved 4429185024/4429185024]

It appears that the download is complete but then why does it show 64% only?

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]

I attempted to start it again thinking since I had used -c option, it won't start downloading all over again if once the download is truly complete, but it did start again. What should I conclude from this?

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:~>    
2
  • Have you checked the md5sum of downloaded file with md5sum given at site ?
    – SHW
    Jun 29, 2012 at 6:17
  • 1
    Don't use wget, use bittorrent. I see that software.opensuse.org/121/en has a torrent option. I tried it, and I'm getting a reasonably fast download. Jun 29, 2012 at 9:05

1 Answer 1

4

What did $? say? Usually, checking the return value helps.

Also, try to verify md5sum of downloaded file against the one on the internet to make sure, it's OK.

4
  • Pardon my ignorance, but how to use "$?". :redface: and, ofcourse verifying midsum would help. but I wish to know how to verify the output of wget on its own. Jul 10, 2012 at 11:28
  • 1
    @AnishaKaul $? is the return value of the last executed command in the shell. It is supposed to be 0 if the command executed correctly otherwise it is non-zero. E.g you can do [ $? -eq 0 ] && echo "No error" Jul 10, 2012 at 11:35
  • @UlrichDangel that's a very nice information. thansk. I'll try and see. Jul 10, 2012 at 11:38
  • 1
    I re ran the command and this time it automatically stopped at 99%. I ran $?. It returned 0 - now I can assume that the download is successful? Jul 11, 2012 at 5:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .