On Saturday, March 24, 2012 5:04:32 AM UTC+8, Starx wrote: > > So I'm trying to upgrade my beta7 to beta9. It didn't work and I'm > not sure how to interpret what happened: > > ~/sage-dev/devel/sage-main Starx$ ../../sage -upgrade > > http://boxen.math.washington.edu/home/release/sage-5.0.beta9/sage-5.0.beta9/&usg=AFQjCNFNueKjqvL-1BX7yv9vvQV1fbl3HQ<http://boxen.math.washington.edu/home/release/sage-5.0.beta9/sage-5.0.beta9/&usg=AFQjCNFNueKjqvL-1BX7yv9vvQV1fbl3HQ> > [1] 1793 >
This is the first problem I see. Your command has been backgrounded. I am not sure how you could have backgrounded your command since I don't see any & sign above. > ~/sage-dev/devel/sage-main Starx$ Downloading packages from > ' > http://boxen.math.washington.edu/home/release/sage-5.0.beta9/sage-5.0.beta9//spkg<http://boxen.math.washington.edu/home/release/sage-5.0.beta9/sage-5.0.beta9//spkg> > '. > Reading package lists... Done! > The following packages will be upgraded: > > cvxopt-1.1.3.p1 extcode-5.0.beta9 lcalc-1.23.p10 linbox-1.1.6.p7 > maxima-5.26.0.p0 ratpoints-2.1.3.p3 sage-5.0.beta9 > sage_root-5.0.beta9 sage_scripts-5.0.beta9 singular-3-1-3-3.p6 > > ** 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]? y > -bash: y: command not found > This is the second problem. Once your command is backgrounded, it will stop taking input from stdin. This is why you get the "command not found" message. Although it appears to you that you have provided 'y' as the answer to the question, 'y' is actually being entered at the bash prompt and never reaches the script. > [1]+ Stopped ../../sage -upgrade > The script doesn't receive the input and simply stops proceeding further. Since this is running in the background you get this message that the job "[1]" has stopped. > > http://boxen.math.washington.edu/home/release/sage-5.0.beta9/sage-5.0.beta9/ > ~/sage-dev/devel/sage-main<http://boxen.math.washington.edu/home/release/sage-5.0.beta9/sage-5.0.beta9/~/sage-dev/devel/sage-main>Starx$ > > and now I'm back at the prompt. I can run sage and beta7 starts and > functions properly. Is this not how to upgrade sage? > > -Jim > > -- > Die Dunkelheit... leitet die Musik. > Die Musik... leitet die Seele. > -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org