Re: [sage-devel] [Bug] Sage 7.0 from the PPA fails to install

2016-02-04 Thread Jan Groenewald
Hi

This should be fixed by 7.0.1 or 7.1.

In the meantime use the larger version

sudo apt-get install sagemath-upstream-binary-full

Regards,
Jan

On 4 February 2016 at 11:28, Marcin M.  wrote:

> The log follows:
>
> $ sudo apt-get install sagemath-upstream-binary
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Recommended packages:
>>   gfortran dvipng texlive
>> The following NEW packages will be installed:
>>   sagemath-upstream-binary
>> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>> Need to get 0 B/510 MB of archives.
>> After this operation, 3477 MB of additional disk space will be used.
>> Selecting previously unselected package sagemath-upstream-binary.
>> (Reading database ... 303545 files and directories currently installed.)
>> Preparing to unpack
>> .../sagemath-upstream-binary_7.0~aimsppa1~qa201602031255151_amd64.deb ...
>> Unpacking sagemath-upstream-binary (7.0~aimsppa1~qa201602031255151) ...
>> Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
>> Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
>> Processing triggers for mime-support (3.54ubuntu1.1) ...
>> Setting up sagemath-upstream-binary (7.0~aimsppa1~qa201602031255151) ...
>> Running Sage once as root to set paths
>>
>> Rewriting paths for your new installation directory
>> ===
>>
>> This might take a few minutes but only has to be done once.
>>
>> patching /usr/lib/sagemath/src/build/cythonized/sage/rings/real_arb.c
>> Traceback (most recent call last):
>>   File "/usr/lib/sagemath/relocate-once.py", line 85, in 
>> p('src/build/cythonized/sage/rings/real_arb.c').substitute().save()
>>   File "/usr/lib/sagemath/relocate-once.py", line 70, in __call__
>> return FilePatch(self, filename)
>>   File "/usr/lib/sagemath/relocate-once.py", line 21, in __init__
>> self.st = os.stat(filename)
>> OSError: [Errno 2] No such file or directory:
>> '/usr/lib/sagemath/src/build/cythonized/sage/rings/real_arb.c'
>> ┌┐
>> │ SageMath Version 7.0, Release Date: 2016-01-19 │
>> │ Type "notebook()" for the browser-based notebook interface.│
>> │ Type "help()" for help.│
>> └┘
>>
>> ERROR:  The Sage installation tree has moved
>>
>> from
>> /mnt/highperf/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidma
>>   to /usr/lib/sagemath
>>
>> This is not supported, and Sage will not work. To install Sage from a
>> binary package:
>>
>> 1. Open the .tar.bz2 archive (or .dmg on OSX)
>>
>> 2. Move the SageMath folder/app to where you want it to be. You can
>>also rename the directory now.
>>
>> 3. Start sage for the first time. This will then automatically patch
>>paths in binaries.
>>
>> After starting Sage for the first time you cannot change the
>> installation any more. To install Sage elsewhere, start over from the
>> binary package. Or recompile Sage from scratch in the new location
>> ("make distclean && make")
>>
>> 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-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 https://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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] [Bug] Sage 7.0 from the PPA fails to install

2016-02-04 Thread Marcin M.
The log follows:

$ sudo apt-get install sagemath-upstream-binary
> Reading package lists... Done
> Building dependency tree   
> Reading state information... Done
> Recommended packages:
>   gfortran dvipng texlive
> The following NEW packages will be installed:
>   sagemath-upstream-binary
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B/510 MB of archives.
> After this operation, 3477 MB of additional disk space will be used.
> Selecting previously unselected package sagemath-upstream-binary.
> (Reading database ... 303545 files and directories currently installed.)
> Preparing to unpack 
> .../sagemath-upstream-binary_7.0~aimsppa1~qa201602031255151_amd64.deb ...
> Unpacking sagemath-upstream-binary (7.0~aimsppa1~qa201602031255151) ...
> Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
> Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
> Processing triggers for mime-support (3.54ubuntu1.1) ...
> Setting up sagemath-upstream-binary (7.0~aimsppa1~qa201602031255151) ...
> Running Sage once as root to set paths
>
> Rewriting paths for your new installation directory
> ===
>
> This might take a few minutes but only has to be done once.
>
> patching /usr/lib/sagemath/src/build/cythonized/sage/rings/real_arb.c
> Traceback (most recent call last):
>   File "/usr/lib/sagemath/relocate-once.py", line 85, in 
> p('src/build/cythonized/sage/rings/real_arb.c').substitute().save()
>   File "/usr/lib/sagemath/relocate-once.py", line 70, in __call__
> return FilePatch(self, filename)
>   File "/usr/lib/sagemath/relocate-once.py", line 21, in __init__
> self.st = os.stat(filename)
> OSError: [Errno 2] No such file or directory: 
> '/usr/lib/sagemath/src/build/cythonized/sage/rings/real_arb.c'
> ┌┐
> │ SageMath Version 7.0, Release Date: 2016-01-19 │
> │ Type "notebook()" for the browser-based notebook interface.│
> │ Type "help()" for help.│
> └┘
>
> ERROR:  The Sage installation tree has moved
>
> from 
> /mnt/highperf/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidma
>   to /usr/lib/sagemath
>
> This is not supported, and Sage will not work. To install Sage from a
> binary package:
>
> 1. Open the .tar.bz2 archive (or .dmg on OSX)
>
> 2. Move the SageMath folder/app to where you want it to be. You can
>also rename the directory now.
>
> 3. Start sage for the first time. This will then automatically patch
>paths in binaries.
>
> After starting Sage for the first time you cannot change the
> installation any more. To install Sage elsewhere, start over from the
> binary package. Or recompile Sage from scratch in the new location
> ("make distclean && make")
>
> 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-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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.