On Tuesday, May 19, 2015 at 2:14:59 AM UTC-7, Emmanuel Charpentier wrote:
>
> Something is definitely out of joint in packages management.
>
> Thanks to the current migration of sagemath.org, I rebuilt from scratch 
> (= from the tarball) sage 6.7 on a slow machine. The resultant system :
> charpent@SAP5057241:/usr/local/sage-6.7$ sage --version
> SageMath Version 6.7, Release Date: 2015-05-17
>
> passes all testlong sucssefully.
>
> But it won't install optional packages :
>
> First attempt : via the normal mechanisms :
>
> charpent@SAP5057241:/usr/local/sage-6.7$ sage -i database_gap
> Found local metadata for database_gap-4.7.7
> Attempting to download package database_gap-4.7.7
> Downloading the Sage mirror list
> Searching fastest mirror
> Traceback (most recent call last):
>   File "/usr/local/sage-6.7/src/bin/sage-download-file", line 417, in 
> <module>
>     mirror_list = MirrorList()
>   File "/usr/local/sage-6.7/src/bin/sage-download-file", line 140, in 
> __init__
>     self._rank_mirrors()
>   File "/usr/local/sage-6.7/src/bin/sage-download-file", line 200, in 
> _rank_mirrors
>     print('Fastest mirror: ' + self.fastest)
>   File "/usr/local/sage-6.7/src/bin/sage-download-file", line 204, in 
> fastest
>     return self.mirrors[0]
> IndexError: list index out of range
> Error: spkg file '/usr/local/sage-6.7/upstream/database_gap-4.7.7.tar.bz2' 
> not found.
> This shouldn't happen, it is a bug in the sage-spkg script.
>
> OK, that might be my damn corporate firewall acting up (it never did for 
> that since yesterday...).
>
> Second attempt : download the tarball from the british mirror, and try to 
> install it :
>
> charpent@SAP5057241:/usr/local/sage-6.7$ sage -i ~/Téléchargements/
> database_gap-4.7.7.tar.bz2 
> database_gap-4.7.7.tar.bz2
> ====================================================
> Extracting package /home/charpent/Téléchargements/database_gap-4.7.7.tar.
> bz2
> -rw-r--r-- 1 charpent charpent 61932816 Feb 20 23:04 /home/charpent/Télé
> chargements/database_gap-4.7.7.tar.bz2
> Finished extraction
> /usr/local/sage-6.7/src/bin/sage-spkg: line 596: cd: database_gap-4.7.
> 7.tar.bz2: No such file or directory
> Error: after extracting, the directory database_gap-4.7.7.tar.bz2 does not 
> exist
>
>
I think in this case you should put the tarball in SAGE_ROOT/upstream and 
run "sage -i database_gap-4.7.7" or just "sage -i database_gap".

-- 
John

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to