--
To post to this group, send email to sage-s...@googlegroups.com
To unsubscribe from this group, send email to sage-support...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
Maybe the selected upgrade mirror did not later respond during package
download? If you still have it, could you paste the entire output of
'sage -upgrade'? That could help to narrow the list of possibilities.
We should handle this exception, though I'm not sure about what exactly
is causing it. Could you try
sage -upgrade ask
? Harald, do you happen to see what's going on?
What happens if you completely disable SELinux, at least temporarily,
and try again? On Fedora 12, at least, I can disable it with
echo 0 >| /selinux/enforce
and renable it with
echo 0 >| /selinux/enforce
By the way, this is what I see when I try upgrading from 4.5.1 on
sage.math.washington.edu:
sage-4.5.1$ ./sage -upgrade
Testing mirrors...
[2 ] boxen.math.washington.edu 49 [ms]
[16] www.cecm.sfu.ca 57 [ms]
[13] modular.math.jmu.edu 160 [ms]
[12] modular.fas.harvard.edu 171 [ms]
[4 ] ftp.kaist.ac.kr 253 [ms]
[3 ] echidna.maths.usyd.edu.au 295 [ms]
[6 ] ftp.sh.cvut.cz 357 [ms]
[8 ] mirror.aarnet.edu.au 357 [ms]
[9 ] mirror.switch.ch 371 [ms]
[17] www.mirrorservice.org 387 [ms]
[11] mirrors.fe.up.pt 430 [ms]
[14] sagemath.c3sl.ufpr.br 500 [ms]
[15] sunsite.rediris.es 547 [ms]
[5 ] ftp.leg.uct.ac.za 846 [ms]
[10] mirror.yandex.ru 1229 [ms]
[7 ] mira.sunsite.utk.edu 1780 [ms]
Automatically selected server www.cecm.sfu.ca (http://www.cecm.sfu.ca/sage/)
Downloading packages from http://www.cecm.sfu.ca/sage//spkg
Reading package lists.......... Done!
The following packages will be upgraded:
cvxopt-0.9.p9 examples-4.5.2 extcode-4.5.2 lcalc-20100428-1.23.p1
pari-2.3.5.p2 sage-4.5.2 sage_scripts-4.5.2 sagenb-0.8.2
** WARNING: This is a source-based upgrade, which could take hours,
** fail, and render your Sage install useless!!
Do you want to continue [y/N]?
I'm surprised that you don't see the mirror test, but the urllib problem
seems more fundamental. Could you also report what happens with
sage: import urllib
sage: urllib.urlretrieve('http://www.sagemath.org//spkg', 'test.html')
('test.html', <httplib.HTTPMessage instance at 0x47788c0>)
sage:
This should write a file test.html in the current directory.
Just to be sure, is http://www.sagemath.org//spkg accessible from a browser?
Thanks!
The re-enabling command should be
echo 1 >| /selinux/enforce