Hi There is a new working deb on the Sage PPA (sage 6.6, our version 6.7ppa10revert6.6.aims6-2).
We also have a separate sage-dev repository: https://launchpad.net/~aims/+archive/ubuntu/sagemath-dev If you enable both PPAs sagemath and sagemath-dev, you will get the new versions faster, and still be able to go apt-get install sagemath-upstream-binary=6.6. (for example) as the stable PPA will still be serving 6.6 for a while, especially if there is a broken version in sagemath-dev. It'd be great to have a few people out there running both to help us test. There will not be any extra space usage, just an additional sources.list.d/aims-sagemath-dev.list You can now go ahead and sudo apt-mark unhold sagemath-upstream binary Debian Details: The package was fixed by reverting dpkg-source format from quilt to native to get rid of all the version control errors, and then from native to 1.0 to prevent removal of all the shared object files (which caused the cannot import from _struct errors). In the next few days the package (first on sagemath-dev) will upgrade to 6.7, 64bit and 32bit, and halve in size. They will start to exclude most things outside of local/, except EN and FR docs, and we're also removing the built-in git. Regards, Jan On 2 June 2015 at 04:56, Huayi Wei <weihu...@xtu.edu.cn> wrote: > Hi, Jan, > > Thanks very much. My sage can work well now. > > Best > > Huayi > > On 2015年06月01日 14:15, Jan Groenewald wrote: > > Hi > > Please do to revert to 6.6: > > wget > https://launchpad.net/~aims/+archive/ubuntu/sagemath/+build/7362961/+files/sagemath-upstream-binary_6.6ppa1_amd64.deb > <https://launchpad.net/%7Eaims/+archive/ubuntu/sagemath/+build/7362961/+files/sagemath-upstream-binary_6.6ppa1_amd64.deb> > sudo dpkg -i > https://launchpad.net/~aims/+archive/ubuntu/sagemath/+build/7362961/+files/sagemath-upstream-binary_6.6ppa1_amd64.deb > <https://launchpad.net/%7Eaims/+archive/ubuntu/sagemath/+build/7362961/+files/sagemath-upstream-binary_6.6ppa1_amd64.deb> > sudo apt-mark hold sagemath-upstream-binary > > And we can unhold the version-hold when we have a working PPA again. > Hopefully within a few days. Apologies for the inconvenience. > > Regards, > Jan > > On 1 June 2015 at 01:06, Huayi Wei <weihu...@xtu.edu.cn> wrote: > >> >> Hi, there, >> >> I met the following error when I install sage from ppa. My system is >> Ubuntu 14.04 LTS 64bit. >> >> I need your help. Thanks very much. >> >> Best >> >> Huayi >> >> ``` >> :~$ sudo apt-get install sagemath-upstream-binary >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> The following NEW packages will be installed: >> sagemath-upstream-binary >> 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded. >> Need to get 270 MB of archives. >> After this operation, 2,055 MB of additional disk space will be used. >> Get:1 http://ppa.launchpad.net/aims/sagemath/ubuntu/ trusty/main >> sagemath-upstream-binary amd64 6.7ppa8revert6.6 [270 MB] >> Fetched 270 MB in 8min 44s (514 kB/s) >> Selecting previously unselected package sagemath-upstream-binary. >> (Reading database ... 819671 files and directories currently installed.) >> Preparing to unpack >> .../sagemath-upstream-binary_6.7ppa8revert6.6_amd64.deb ... >> Unpacking sagemath-upstream-binary (6.7ppa8revert6.6) ... >> Processing triggers for mime-support (3.54ubuntu1.1) ... >> Processing triggers for gnome-menus (3.10.1-0ubuntu2) ... >> Processing triggers for desktop-file-utils (0.22-1ubuntu1) ... >> Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ... >> Rebuilding /usr/share/applications/bamf-2.index... >> Setting up sagemath-upstream-binary (6.7ppa8revert6.6) ... >> Running Sage once as root to set paths >> ┌────────────────────────────────────────────────────────────────────┐ >> │ SageMath Version 6.6, Release Date: 2015-04-14 │ >> │ Type "notebook()" for the browser-based notebook interface. │ >> │ Type "help()" for help. │ >> └────────────────────────────────────────────────────────────────────┘ >> The Sage installation tree has moved >> from /home/buildbot/build/sage/snapperkob/sage_git/build >> to /usr/lib/sagemath >> Updating various hardcoded paths... >> (Please wait at most a few minutes.) >> DO NOT INTERRUPT THIS. >> Done updating paths. >> Traceback (most recent call last): >> File "/usr/lib/sagemath/src/bin/sage-ipython", line 7, in <module> >> from sage.repl.interpreter import SageTerminalApp >> File >> "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/__init__.py", >> line 3, in <module> >> from sage.repl.ipython_extension import load_ipython_extension >> File >> >> "/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/repl/ipython_extension.py", >> line 59, in <module> >> from IPython.core.magic import Magics, magics_class, line_magic >> File >> "/usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/__init__.py", >> line 45, in <module> >> from .config.loader import Config >> File >> >> "/usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/config/__init__.py", >> line 6, in <module> >> from .application import * >> File >> >> "/usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/config/application.py", >> line 9, in <module> >> import json >> File "/usr/lib/sagemath/local/lib/python/json/__init__.py", line 108, >> in <module> >> from .decoder import JSONDecoder >> File "/usr/lib/sagemath/local/lib/python/json/decoder.py", line 5, in >> <module> >> import struct >> File "/usr/lib/sagemath/local/lib/python/struct.py", line 1, in <module> >> from _struct import * >> ImportError: No module named _struct >> dpkg: error processing package sagemath-upstream-binary (--configure): >> subprocess installed post-installation script returned error exit status >> 1 >> Errors were encountered while processing: >> sagemath-upstream-binary >> E: Sub-process /usr/bin/dpkg returned an error code (1) >> >> ``` >> >> >> >> >> >> -- >> 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. >> > > > > -- > .~. > /V\ Jan Groenewald > /( )\ www.aims.ac.za > ^^-^^ > -- > 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. > > > -- > 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. > -- .~. /V\ Jan Groenewald /( )\ www.aims.ac.za ^^-^^ -- 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.