On Monday, 21 March 2016 20:34:09 UTC, vdelecroix wrote:
>
> It seems that there are permissions issue with the ppa that mixes badly 
> with Sage behavior. 
>
> Because it's the ppa, I guess that "sudo sage -p THE_PACKAGE" is the 
> good way. But the point is that this command should be run from a 
> directory that belongs to the group root (this is something weird from 
> Sage side). You could try (without guarantee) 
>
>     $ sudo su 
>     # mv THE_PACKAGE /root 
>     # cd /root 
>     # sage -p THE_PACKAGE 
>     # exit 
>     $ 
>


This is what I get:

 pwd
/root
sage -p abelfunctions.spkg 
abelfunctions
====================================================
Extracting package /root/abelfunctions.spkg
-rw-rw-r-- 1 user user 110915 Mar 21 19:54 /root/abelfunctions.spkg
Finished extraction
/usr/lib/sagemath/build/bin/sage-spkg: line 573: cd: abelfunctions: No such 
file or directory
Error: after extracting, the directory abelfunctions does not exist

Raphael


> If it does not work, could you check wether the permissions for the 
> repository /usr/lib/sagemath/ and its subrepositories are consistent? 
>
> Vincent 
>
> On 21/03/16 17:24, Raphael C wrote: 
> > 
> > 
> > On Monday, 21 March 2016 20:16:15 UTC, vdelecroix wrote: 
> >> 
> >> Hello, 
> >> 
> >> sage -p THE_PACKAGE 
> >> 
> >> is the *good* way. But there is a permission problem related to your 
> >> Sage installation. How did you install Sage by yourself? You used the 
> >> ubuntu ppa? 
> >> 
> >> 
> > I installed sagemath-upstream-binary-full from the ubuntu ppa. 
> > 
> > 
> >> A sided remark: if you are working within the repository /tmp/ with 
> Sage 
> >> you will always get into troubles. 
> >> 
> >> 
> > I don't think I am doing that. 
> > 
> > Raphael 
> > 
>

-- 
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 https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to