Hi, Same problem on Linux Mint 17 with the new version in the ppa (sagemath-upstream-binary_6.7ppa6_amd64.deb). As in the other cases, Sage was working perfectly fine yesterday. Thank you all,
(Reading database ... 383085 files and directories currently installed.) Preparing to unpack .../sagemath-upstream-binary_6.7ppa6_amd64.deb ... Unpacking sagemath-upstream-binary (6.7ppa6) over (6.7ppa5) ... 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) ... Setting up sagemath-upstream-binary (6.7ppa6) ... Running Sage once as root to set paths ┌────────────────────────────────────────────────────────────────────┐ │ SageMath Version 6.7, Release Date: 2015-05-17 │ │ Type "notebook()" for the browser-based notebook interface. │ │ Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ The Sage installation tree has moved from /opt/sagemath_tmonteil-ubuntu-trusty-64/sage-6.7 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/local/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) A package failed to install. Trying to recover: Setting up sagemath-upstream-binary (6.7ppa6) ... Running Sage once as root to set paths ┌────────────────────────────────────────────────────────────────────┐ │ SageMath Version 6.7, Release Date: 2015-05-17 │ │ Type "notebook()" for the browser-based notebook interface. │ │ Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ Traceback (most recent call last): File "/usr/lib/sagemath/local/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 Best, Pol El divendres, 29 maig de 2015 1:05:58 UTC+2, rou...@wfu.edu va escriure: > > Greetings- > > I've had the same issue installing sage 6.7 from the Ubuntu PPA on two > different computers - one for which sage was previously installed, and the > other where sage was being installed for the first time. Both computers are > running Ubuntu 14.04. (Incidentally, things worked fine yesterday with > version 6.6.) > > Best, > > Jeremy Rouse > > On Thursday, May 28, 2015 at 5:52:28 AM UTC-4, Denny Fuchs wrote: >> >> hi, >> >> I wanted to upgrade the system (Linux Mint 17), but SageMath >> "sagemath-upstream-binary" fails: >> >> >> ================= >> # aptitude upgrade >> The following partially installed packages will be configured: >> sagemath-upstream-binary >> No packages will be installed, upgraded, or removed. >> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. >> Need to get 0 B of archives. After unpacking 0 B will be used. >> Setting up sagemath-upstream-binary (6.7ppa4) ... >> Running Sage once as root to set paths >> ┌────────────────────────────────────────────────────────────────────┐ >> │ SageMath Version 6.7, Release Date: 2015-05-17 │ >> │ Type "notebook()" for the browser-based notebook interface. │ >> │ Type "help()" for help. │ >> └────────────────────────────────────────────────────────────────────┘ >> Traceback (most recent call last): >> File "/usr/lib/sagemath/local/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) >> A package failed to install. Trying to recover: >> Setting up sagemath-upstream-binary (6.7ppa4) ... >> Running Sage once as root to set paths >> ┌────────────────────────────────────────────────────────────────────┐ >> │ SageMath Version 6.7, Release Date: 2015-05-17 │ >> │ Type "notebook()" for the browser-based notebook interface. │ >> │ Type "help()" for help. │ >> └────────────────────────────────────────────────────────────────────┘ >> Traceback (most recent call last): >> File "/usr/lib/sagemath/local/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 >> ================================== >> >> any suggestions? >> >> cu denny >> > -- 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/d/optout.