I had set up sage-git in two ways. The first one was by following the quickstartguide [1]. The second way was by using the sage-6.0 tarball.

First method (Quickstartguide):
-------------------------------

Now, with the first method, it seems impossible to run sage -upgrade and have it behave properly. Here is an example output:

~/Installations/sage» ./sage -upgrade develop
fatal: 'develop' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
There was a failure downloading Sage's sources. Please make sure you are connected to the internet. Aborting...
~/Installations/sage [1] »


This error is present even though the develop branch is present in the remote repository:

~/Installations/sage [1] » git branch -r | grep origin
  origin/HEAD -> origin/master
  origin/develop
  origin/master
  origin/upstream

The following command partially works:

~/Installations/sage» ./sage -upgrade g...@trac.sagemath.org:sage.git develop
From trac.sagemath.org:sage
 * [new branch]      develop    -> zKYBy6_CBUB4D3fkr1eEgEY5-lmwod6sahiGr0V8
Already up-to-date.
Deleted branch zKYBy6_CBUB4D3fkr1eEgEY5-lmwod6sahiGr0V8 (was 036984d).
/mnt/usb/Installations/sage/local/bin/sage-upgrade: line 59: sage-real-upgrade: command not found

Followed this by a "make" and it recompiled maxima, and other than that I do not see any other changes.

Second method (sage-6.0 tarball):
---------------------------------

With the second method it is all very smooth. I did a

.../src/sage/sage-6.0.server> git fetch origin

followed by

.../src/sage/sage-6.0.server> ./sage -upgrade develop



The main problem:
-----------------

After a bit more investigating, it turns out that most of the scripts in SAGE_ROOT/local/bin are all at some old version from Dec 14. A bunch of questions:

1. So, even though I started out with sage-git from pre-6.0 version, at some point sage itself got upgraded but not installed (at least the scripts)?

2. How can I (manually) install the new scripts? Should I just copy the files from src/bin?

3. How can I prevent this problem from recurring in the future?


[1] http://trac.sagemath.org/wiki/QuickStartSageGit

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

Reply via email to