Re: [sage-devel] Re: dpkg: error processing package sagemath-upstream-binary (--configure):

2015-05-30 Thread Erick Matsen
For what it's worth, I did not have success on Xubuntu 14.04 with 

sudo add-apt-repository ppa:aims/sagemath
sudo apt-get update
sudo apt-get install sagemath-upstream-binary=6.6ppa1

It reported that the package version was not found. 

But I did succeed with downloading the deb from the link above and calling

sudo dpkg -i sagemath-upstream-binary_6.6ppa1_amd64.deb


On Saturday, May 30, 2015 at 3:57:33 AM UTC-7, Jan Groenewald wrote:

 Hi

 Unfortunately 6.7ppa8revert6.6 has the same problem :( You should be able 
 to do

 sudo apt-get install sagemath-upstream-binary=6.6ppa1
 sudo apt-mark hold sagemath-upstream-binary

 to have a working system while the PPA is broken. Once it is fixed, I will 
 let you know, you can,

 sudo apt-mark hold sagemath-upstream-binary

 I'll be looking for apt/dpkg/ppa help from colleagues over the next week 
 to try and get a fixed version, any version, in the PPA, to prevent 
 breaking further people's installations. To prevent this in future, we'll 
 probably start a separate development PPA. Apologies for the inconvenience. 
 There will be maybe only one more test this weekend; 6.7ppa9revert6.6 where 
 I try a dpkg quilt format rather than native.

 Volker, I would very much like to get the buildslave binaries from 
 snapperkob to test. Will they be uploaded to the sagemath download mirror 
 (even though Thierry's binaries are there already)?

 Regards,
 Jan




 On 30 May 2015 at 02:34, Dow Drake dowd...@gmail.com javascript: 
 wrote:

 Thanks Jan!  I was having the same issue with 6.7.  The 6.6 deb you 
 posted installed fine.

 Best,
 Dow Drake

 On Friday, May 29, 2015 at 8:42:26 AM UTC-7, Jan Groenewald wrote:

 The sage installation tree has moved is *probably* unrelated. It always 
 says that on upgrade. I suspect two possibilities
 1) it is from Thierry's binary not a buildslave binary
 2) I changed the dpkg-source format from quilt to native to solve (1)'s 
 impact on dpkg, and at the same time removed .git (had to) and then much 
 more unneeded files.

 6.7ppa7 is uploading with all the build and config and other folders 
 back in the package (but not all the languages in docs). Should be there 
 soon. I can still try going back to 6.6 to test that. Since the PPA is now 
 broken:(, I might as well upload my tests there.

 If someone wants the working deb, it is at: 
 https://launchpad.net/~aims/+archive/ubuntu/sagemath/+build/7362961/+files/sagemath-upstream-binary_6.6ppa1_amd64.deb
 You can download and dpkg -i that for a working installation (I think)

 Regards,
 Jan

 On 29 May 2015 at 17:18, Adrian Lam adrian...@gmail.com wrote:

 On Friday, May 29, 2015 at 2:50:02 PM UTC+1, Jan Groenewald wrote:

 Hi

 I'm working on this but compressing, building debs, and uploading 
 takes quite long. Any feedback on any new version working or not working 
 is 
 useful.

 If I don't have it working by end of weekend I'll probably revert to 
 6.6 with a version number like 6.7ppa14revertsage6.6 in the PPA and make 
 a 
 new dev PPA.

 Apologies for the inconvenience.

 Regards,
 Jan


  
 Ubuntu 14.04.2, tried upgrading to 6.7ppa6 (from 6.7ppa4), still not 
 working.

 By the way, since no one else has mentioned, upon FIRST attempt to 
 upgrade, the log actually has 3 more lines:

 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


 It has the The Sage installation tree has moved... line. Don't know 
 whether it'll be useful though.

 Thanks.

 -- 
 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+...@googlegroups.com.
 To post to this group, send email to sage-...@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-devel.
 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-devel group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to sage-devel+...@googlegroups.com javascript:.
 To post to this group, send email to 

Re: [sage-devel] Re: dpkg: error processing package sagemath-upstream-binary (--configure):

2015-05-28 Thread Erick Matsen
I wasn't especially thoughtful about this, but a simple copy paste of 

sudo dpkg -i /var/cache/apt/archives/sagemath*6.7ppa4*deb


did not lead to happiness for me (running Xubuntu Trusty): 

 mus » sudo dpkg -i /var/cache/apt/archives/sagemath*6.7ppa4*deb   
[211/692]
(Reading database ... 781170 files and directories currently installed.)
Preparing to unpack .../sagemath-upstream-binary_6.7ppa4_amd64.deb ...
Unpacking sagemath-upstream-binary (6.7ppa4) over (6.7ppa4) ...
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.│
└┘
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 (--install):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Errors were encountered while processing:
 sagemath-upstream-binary
mus » 

-- 
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.