Hi Dan

On 15 March 2012 02:05, Dan Drake <dr...@kaist.edu> wrote:

>  > sudo apt-add-repository ppa:aims/sagemath
> > sudo apt-get update
> > sudo apt-get install sagemath-upstream-binary
>
> I tried this in a 11.10 virtual machine, and it created the user's .sage
> directory as owned by root -- with 700 permissions, so when I try to
> start Sage, it fails because it can't read that directory.
>
> In another virtual machine, I got something similar, where the
> matplotlib directory was owned by root.
>
> This may be related to having used Sage previously on those machines,
> but in any case we shouldn't create root-owned things in the user's
> directory!
>
>
Thanks, I will look into it. Are the steps to reproduce 1) install new OS,
2) install Sage from PPA, 3) run sage as user?

I had previous .sage directories and the 64bit install on precise did not
cause this problem. I now moved my .sage out the way and ran sage,
and .sage was not created with root permissions.  I then removed my
.sage, aptitude reinstall sagemath-upstream-binary, ran sage,
but am not able to reproduce this problem.

I can't really think how the deb could cause this,
but will try reproduce on a fresh OS install in a VM
in a week or two.



An update on the previous dpkg version problem. I have dropped lucid
support
on that PPA, as it is the only Ubuntu version requiring an older dpkg, and
that
older dpkg does not support xz compression. The difference between xz
compression
and gz compression is roughly 80M for the deb alone. dpkg 1.15.6 started
supporting
this.

I did however add 32bit and changed to supporting natty, oneiric, and
precise.

The 32bit is really compiled for i686 (not i386 as expected by debhelper)
so I had to disable stripping the binary, so the 32bit deb package is 70M
larger than the 64bit deb package. The latter is around 370M. The unpacked
space usage is 1.6G.

Anyway, the from-upstream-binary (that is the compiled binaries for Ubuntu
10.04.3
from sagemath.org) was just a hack to get something out quickly, I would
like
to move efforts on to a from-source PPA soon. I will however fix bugs as I
can.

The PPA has reached its 2G space limit on launchpad. I asked for more space
on 6th
March:  https://answers.launchpad.net/launchpad/+question/189847
The project is pretty much standing still until that space problem is
sorted out.

Regards,
Jan



-- 
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to