Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to download Mac OS X v10.10.5's combo updater file with Terminal's curl command?

3 views
Skip to first unread message

Ant

unread,
Jul 22, 2016, 5:46:35 PM7/22/16
to
Hello.

Is it me or is Apple blocking Terminal's curl command? I am trying to
download http://support.apple.com/downloads/DL1832/en_US/osxupdcombo10.10.5.dmg,
but I get 0 byte file right away as shown below:

$ curl -O
http://support.apple.com/downloads/DL1832/en_US/osxupdcombo10.10.5.dmg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

I had no problems downloading other random files from other servers
though.

Thank you in advance. :)
--
Quote of the Week: "I don't believe in evil, I believe only in horror.
In nature there is no evil, only an abundance of horror: the plagues and
the blights and the ants and the maggots." --Isak Dinesen
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
/\___/\ Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
/ /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
| |o o| |
\ _ / Please nuke ANT if replying by e-mail privately. If credit-
( ) ing, then please kindly use Ant nickname and AQFL URL/link.

David Empson

unread,
Jul 22, 2016, 6:49:09 PM7/22/16
to
Ant <ANT...@zimage.com> wrote:

> Hello.
>
> Is it me or is Apple blocking Terminal's curl command? I am trying to
> download http://support.apple.com/downloads/DL1832/en_US/osxupdcombo10.10.5
> .dmg, but I get 0 byte file right away as shown below:
>
> $ curl -O
> http://support.apple.com/downloads/DL1832/en_US/osxupdcombo10.10.5.dmg
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left
> Speed
> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
>
> I had no problems downloading other random files from other servers
> though.
>
> Thank you in advance. :)

As JR said, that isn't the actual download URL. It does a series of HTTP
redirects to the actual download.

That means you need to tell curl to follow redirects, by adding the -L
(or --location) option, e.g. (all on one line):

curl -OL
http://support.apple.com/downloads/DL1832/en_US/osxupdcombo10.10.5.dmg

This worked for me (at least for starting to download the actual dmg - I
aborted it as I don't need another copy).

--
David Empson
dem...@actrix.gen.nz

Ant

unread,
Jul 22, 2016, 9:32:14 PM7/22/16
to
Thanks guys! I didn't know it was redirecting. :) I also added "-C -"
parameters to be able to resume since my Internet connection was
unstable (related to the crazy 100F degrees heat wave?). :(

I am used to old wget, but I couldn't get it compiled so I decided to
try curl command. :)
0 new messages