OK! Success!

I have now moved .sage to .sage.backup and that fixed it...
Regards,

KnS


On Wed, Nov 14, 2012 at 5:15 PM, Jan Groenewald <j...@aims.ac.za> wrote:

> Hi KnS,
>
> Please stop sage, try this command
>
> sudo mv /home/knsam/.sage/tmp{.broken-permissions}
>
> And try run sage again.
>
> Regards,
> Jan
>
>
>
>
>
>
> On 14 November 2012 13:15, Kannappan Sampath <kntri...@gmail.com> wrote:
>
>> Dear Jan,
>> I get the following message:
>>
>> ii  sagemath-upstream-binary                     5.4
>>
>> Sage is a free open-source mathematics software system
>>
>> But, please do take a look at the Sage_Crash_report (the link to pastebin
>> in my previous message). Thanks for responding promptly.
>>
>> On this note, I'd like to tell you that, I can run Sage with Sudo
>> permissions but not otherwise.
>>
>> The status of the problem is as described here:
>> http://ask.sagemath.org/question/1978/updating-to-54-from-ubuntu-ppa
>>
>> Thank you.
>>
>> ~KnS.
>>
>>
>>
>> On Wed, Nov 14, 2012 at 3:24 PM, Jan Groenewald <j...@aims.ac.za> wrote:
>>
>>> Dear KnS,
>>>
>>> We are already busy testing a fix for this.
>>>
>>> In the meantime, I don't see that your problem is directly related. In
>>> fact it is possibly something different altogether.
>>>
>>> If your system is broken due to this error, then you will see the
>>> following output:
>>>
>>> $ dpkg -l |grep sagemath-upstream-binary
>>> iF  sagemath-upstream-binary
>>> 5.4                                     Sage is a free open-source
>>> mathematics software system
>>>
>>> If you don't see above, I think your error is unrelated. Can you try
>>> move .sage aside to .sage.backup and see whether you still get that error?
>>>
>>> Regards,
>>> Jan
>>>
>>>
>>>
>>>
>>>
>>> On 14 November 2012 05:43, kannappan sampath <kntri...@gmail.com> wrote:
>>>
>>>> I am also facing the same problem while updating Sage from the Ubuntu
>>>> PPA. Running sudo dpkg-reconfigure sagemath-upstream-binary produced the
>>>> following output for me.
>>>>
>>>> Removing previous path, rm -rf /usr/lib/sage (new path
>>>> /usr/lib/sagemath)
>>>> Running Sage once as root to set paths
>>>> ----------------------------------------------------------------------
>>>> | Sage Version 5.4, Release Date: 2012-11-09                         |
>>>> | Type "notebook()" for the browser-based notebook interface.        |
>>>> | Type "help()" for help.                                            |
>>>> ----------------------------------------------------------------------
>>>> sage: Exiting Sage (CPU time 0m0.07s, Wall time 0m0.07s).
>>>>
>>>> When I try to run Sage on the terminal, I get a name error: sage_prompt
>>>> is not defined. It also guesses that I might want to run %upgrade and I do
>>>> this each time but to no avail. (Error message: Error importing
>>>> ipy_profile_sage - perhaps you should run %upgrade? WARNING: Loading of
>>>> ipy_profile_sage failed.)
>>>>
>>>> Here is the Sage Crash Report: http://pastebin.com/tGuWA2Zz
>>>>
>>>> Regards,
>>>> KnS
>>>>
>>>>
>>>> On Tuesday, November 13, 2012 5:25:29 AM UTC+5:30, JJS137 wrote:
>>>> > The Sage 5.4 installation on Ubuntu 12.04 LTS using Update Manager
>>>> fails with the following messages:
>>>> >
>>>> > installArchives() failed: (Reading database ...
>>>> > (Reading database ... 5%%
>>>> > (Reading database ... 10%%
>>>> > (Reading database ... 15%%
>>>> > (Reading database ... 20%%
>>>> > (Reading database ... 25%%
>>>> > (Reading database ... 30%%
>>>> > (Reading database ... 35%%
>>>> > (Reading database ... 40%%
>>>> > (Reading database ... 45%%
>>>> > (Reading database ... 50%%
>>>> > (Reading database ... 55%%
>>>> > (Reading database ... 60%%
>>>> > (Reading database ... 65%%
>>>> > (Reading database ... 70%%
>>>> > (Reading database ... 75%%
>>>> > (Reading database ... 80%%
>>>> > (Reading database ... 85%%
>>>> > (Reading database ... 90%%
>>>> > (Reading database ... 95%%
>>>> > (Reading database ... 100%%
>>>> > (Reading database ... 717630 files and directories currently
>>>> installed.)
>>>> > Preparing to replace libav-tools 4:0.8.3-0ubuntu0.12.04.1 (using
>>>> .../libav-tools_4%%3a0.8.4-0ubuntu0.12.04.1_i386.deb) ...
>>>> > Unpacking replacement libav-tools ...
>>>> > Preparing to replace libpostproc52 4:0.8.3-0ubuntu0.12.04.1 (using
>>>> .../libpostproc52_4%%3a0.8.4-0ubuntu0.12.04.1_i386.deb) ...
>>>> > Unpacking replacement libpostproc52 ...
>>>> > Preparing to replace libavfilter2 4:0.8.3-0ubuntu0.12.04.1 (using
>>>> .../libavfilter2_4%%3a0.8.4-0ubuntu0.12.04.1_i386.deb) ...
>>>> > Unpacking replacement libavfilter2 ...
>>>> > Preparing to replace libswscale2 4:0.8.3-0ubuntu0.12.04.1 (using
>>>> .../libswscale2_4%%3a0.8.4-0ubuntu0.12.04.1_i386.deb) ...
>>>> > Unpacking replacement libswscale2 ...
>>>> > Preparing to replace libavdevice53 4:0.8.3-0ubuntu0.12.04.1 (using
>>>> .../libavdevice53_4%%3a0.8.4-0ubuntu0.12.04.1_i386.deb) ...
>>>> > Unpacking replacement libavdevice53 ...
>>>> > Preparing to replace libavformat53 4:0.8.3-0ubuntu0.12.04.1 (using
>>>> .../libavformat53_4%%3a0.8.4-0ubuntu0.12.04.1_i386.deb) ...
>>>> > Unpacking replacement libavformat53 ...
>>>> > Preparing to replace libavcodec53 4:0.8.3-0ubuntu0.12.04.1 (using
>>>> .../libavcodec53_4%%3a0.8.4-0ubuntu0.12.04.1_i386.deb) ...
>>>> > Unpacking replacement libavcodec53 ...
>>>> > Preparing to replace libavutil51 4:0.8.3-0ubuntu0.12.04.1 (using
>>>> .../libavutil51_4%%3a0.8.4-0ubuntu0.12.04.1_i386.deb) ...
>>>> > Unpacking replacement libavutil51 ...
>>>> > Preparing to replace libproxy1-plugin-networkmanager 0.4.7-0ubuntu4
>>>> (using .../libproxy1-plugin-networkmanager_0.4.7-0ubuntu4.1_i386.deb) ...
>>>> > Unpacking replacement libproxy1-plugin-networkmanager ...
>>>> > Preparing to replace libproxy1-plugin-gsettings 0.4.7-0ubuntu4 (using
>>>> .../libproxy1-plugin-gsettings_0.4.7-0ubuntu4.1_i386.deb) ...
>>>> > Unpacking replacement libproxy1-plugin-gsettings ...
>>>> > Preparing to replace libproxy1 0.4.7-0ubuntu4 (using
>>>> .../libproxy1_0.4.7-0ubuntu4.1_i386.deb) ...
>>>> > Unpacking replacement libproxy1 ...
>>>> > Preparing to replace ffmpeg 4:0.8.3-0ubuntu0.12.04.1 (using
>>>> .../ffmpeg_4%%3a0.8.4-0ubuntu0.12.04.1_all.deb) ...
>>>> > Unpacking replacement ffmpeg ...
>>>> > Preparing to replace sagemath-upstream-binary 5.1 (using
>>>> .../sagemath-upstream-binary_5.4_i386.deb) ...
>>>> > Unpacking replacement sagemath-upstream-binary ...
>>>> > Preparing to replace python-libproxy 0.4.7-0ubuntu4 (using
>>>> .../python-libproxy_0.4.7-0ubuntu4.1_all.deb) ...
>>>> > Unpacking replacement python-libproxy ...
>>>> > Processing triggers for man-db ...
>>>> > Processing triggers for bamfdaemon ...
>>>> > Rebuilding /usr/share/applications/bamf.index...
>>>> > Processing triggers for desktop-file-utils ...
>>>> > Processing triggers for gnome-menus ...
>>>> > Setting up libavutil51 (4:0.8.4-0ubuntu0.12.04.1) ...
>>>> > Setting up libavcodec53 (4:0.8.4-0ubuntu0.12.04.1) ...
>>>> > Setting up libavformat53 (4:0.8.4-0ubuntu0.12.04.1) ...
>>>> > Setting up libavdevice53 (4:0.8.4-0ubuntu0.12.04.1) ...
>>>> > Setting up libswscale2 (4:0.8.4-0ubuntu0.12.04.1) ...
>>>> > Setting up libavfilter2 (4:0.8.4-0ubuntu0.12.04.1) ...
>>>> > Setting up libpostproc52 (4:0.8.4-0ubuntu0.12.04.1) ...
>>>> > Setting up libav-tools (4:0.8.4-0ubuntu0.12.04.1) ...
>>>> > Setting up libproxy1 (0.4.7-0ubuntu4.1) ...
>>>> > Setting up libproxy1-plugin-networkmanager (0.4.7-0ubuntu4.1) ...
>>>> > Setting up libproxy1-plugin-gsettings (0.4.7-0ubuntu4.1) ...
>>>> > Setting up ffmpeg (4:0.8.4-0ubuntu0.12.04.1) ...
>>>> > Setting up sagemath-upstream-binary (5.4) ...
>>>> > Removing previous path, rm -rf /usr/lib/sage (new path
>>>> /usr/lib/sagemath)
>>>> > Running Sage once as root to set paths
>>>> > Error: environment variable $HOME is not set.
>>>> > Error setting environment variables by sourcing
>>>> '/usr/lib/sagemath/spkg/bin/sage-env';
>>>> > possibly contact sage-devel (see
>>>> http://groups.google.com/group/sage-devel).
>>>> > dpkg: error processing sagemath-upstream-binary (--configure):
>>>> >  subprocess installed post-installation script returned error exit
>>>> status 1
>>>> > No apport report written because MaxReports is reached already
>>>> > Setting up python-libproxy (0.4.7-0ubuntu4.1) ...
>>>> > Processing triggers for libc-bin ...
>>>> > ldconfig deferred processing now taking place
>>>> > Errors were encountered while processing:
>>>> >  sagemath-upstream-binary
>>>> > Error in function:
>>>> > SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
>>>> > Setting up sagemath-upstream-binary (5.4) ...
>>>> > Removing previous path, rm -rf /usr/lib/sage (new path
>>>> /usr/lib/sagemath)
>>>> > Running Sage once as root to set paths
>>>> > Error: environment variable $HOME is not set.
>>>> > Error setting environment variables by sourcing
>>>> '/usr/lib/sagemath/spkg/bin/sage-env';
>>>> > possibly contact sage-devel (see
>>>> http://groups.google.com/group/sage-devel).
>>>> > dpkg: error processing sagemath-upstream-binary (--configure):
>>>> >  subprocess installed post-installation script returned error exit
>>>> status 1
>>>> >
>>>> > Is there a work around or fix for this problem?
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "sage-support" group.
>>>> To post to this group, send email to sage-support@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> sage-support+unsubscr...@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/sage-support?hl=en.
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>   .~.
>>>   /V\     Jan Groenewald
>>>  /( )\    www.aims.ac.za
>>>  ^^-^^
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "sage-support" group.
>>> To post to this group, send email to sage-support@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> sage-support+unsubscr...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/sage-support?hl=en.
>>>
>>>
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "sage-support" group.
>> To post to this group, send email to sage-support@googlegroups.com.
>> To unsubscribe from this group, send email to
>> sage-support+unsubscr...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/sage-support?hl=en.
>>
>>
>>
>
>
>
> --
>   .~.
>   /V\     Jan Groenewald
>  /( )\    www.aims.ac.za
>  ^^-^^
>
>  --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To post to this group, send email to sage-support@googlegroups.com.
> To unsubscribe from this group, send email to
> sage-support+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support?hl=en.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to