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 And, this time, it's definitively *NOT* the clownish firewall : this file is a regular vanilla tar bzipped archive.. Unless I goofed somewhere (I don't see where), I have a semi-borked system. My previous installation (good up to 6.7beta4, IIRC) won't be able to download the necessary tarballs to update to 6.7, and starting from scratch gives me a system where I can't install packages. What should I do ? -- Emmanuel Charpentier Le dimanche 17 mai 2015 19:39:00 UTC+2, Volker Braun a écrit : > > Fixed in Sage 6.7-rc0 and later... 6.7 should be out today. > > > On Sunday, May 17, 2015 at 6:43:20 PM UTC+2, Luis Garcia-Puente wrote: >> >> After installing sage 6.6, I tried to install the optional packages 4ti2, >> macaulay2, and nauty but the command >> >> sage -i 4ti2 >> >> returns: >> >> /Applications/sage/src/bin/sage-spkg: line 312: cd: >> /Applications/sage/upstream: No such file or directory >> Attempting to download package 4ti2 >> >>> Checking online list of optional packages. >> [Traceback (most recent call last): >> File "<stdin>", line 35, in <module> >> File "/Applications/sage/local/lib/python/urllib.py", line 240, in >> retrieve >> fp = self.open(url, data) >> File "/Applications/sage/local/lib/python/urllib.py", line 208, in open >> return getattr(self, name)(url) >> File "/Applications/sage/local/lib/python/urllib.py", line 359, in >> open_http >> return self.http_error(url, fp, errcode, errmsg, headers) >> File "/Applications/sage/local/lib/python/urllib.py", line 376, in >> http_error >> return self.http_error_default(url, fp, errcode, errmsg, headers) >> File "<stdin>", line 17, in http_error_default >> IOError: [Errno 404] Not Found: '//www.sagemath.org/spkg/optional/list' >> Error: failed to download http://www.sagemath.org/spkg/optional/list, >> aborting >> >> I get the same output for the other two packages. Furthermore, the webpage >> >> http://www.sagemath.org/spkg/optional/list >> >> returns the error: 404 Error: page not found >> > -- 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.