Ask Your Question

pipedream0's profile - activity

2018-02-05 09:51:45 -0500 received badge  Good Answer (source)
2017-08-21 01:47:15 -0500 answered a question Read-only Sage" Error

How did you install Sage? From source, binary, as root or not?

2016-08-16 18:18:53 -0500 received badge  Nice Answer (source)
2016-08-12 14:42:15 -0500 received badge  Nice Answer (source)
2016-08-10 18:22:37 -0500 received badge  Necromancer (source)
2016-08-09 23:16:25 -0500 received badge  Editor (source)
2016-08-09 23:15:37 -0500 answered a question Problems Installing TOPCOM

I am the sagemath PPA maintainer.

The PPA (and even the binary tarballs downloaded from sagemath) is not really intended for adding optional packages but it is possible.

It is dangerous to build everything as root, as you found from the sage error!
Changing the ownership may essentially break apt, or on a multi-user system be insecure for your user.

You need sagemath-upstream-binary-full, which does include the src and build and git folders if you really want to do this.

If you regularly use optional packages, it is preferred to install from source, (fix permissions on a multi-user system to a new user like sagemath or root), sage -i your packages (fix permissions after), and join the low-traffic sage-release mailing list which will announce new releases, and use sage -upgrade which will only download and compile parts that changed.

2016-08-09 23:13:45 -0500 answered a question Installing Cryptominisat

Hi

I am the sagemath PPA maintainer.

The PPA (and even the binary tarballs downloaded from sagemath) is not really intended for adding optional packages but it is possible.

  1. It is dangerous to build everything as root, as you found from the sage error!
  2. Changing the ownership may essentially break apt, or on a multi-user system be insecure for your user.

I think when you installed extra packages from synaptic you added what you need: sagemath-upstream-binary-full, which does include the src and build and git folders.

If you regularly use optional packages, it is preferred to install from source, (fix permissions on a multi-user system to a new user like sagemath or root), sage -i your packages (fix permissions after), and join the low-traffic sage-release mailing list which will announce new releases, and use sage -upgrade which will only download and compile parts that changed.

Regards, Jan

2016-02-04 00:59:12 -0500 commented answer Rewriting paths gives OSError before launching Sage

Hi

Please update to sagemath-upstream-binary-full 7.0 to fix this.

The smaller version, sagemath-upstream-binary, will be fixed at the latest by 7.1, but maybe sooner.

Regards, Jan

2016-02-03 13:03:42 -0500 received badge  Nice Answer (source)
2016-02-03 00:54:04 -0500 answered a question Rewriting paths gives OSError before launching Sage

Hi

This error message is specific to the PPA. At the moment we have not traced further errors caused by this and have held off on reverting to 6.9.

The relocate-once.py introduced recently is not compatible with how we have been using debian package building, but we are investigating fixes for this.

Please post any other error which might be a result of this message.

Regards, Jan

2015-06-22 13:10:55 -0500 received badge  Necromancer (source)
2015-06-22 13:10:55 -0500 received badge  Teacher (source)
2015-06-22 01:41:03 -0500 answered a question Error typesetting

Hi

This is fixed in the latest PPA (but does not always get fixed during upgrades due to a low level dpkg issue with folders changing to symlinks).

To fix an existing install do: sudo -i cd /usr/lib/sagemath/local/lib/python2.7/site-packages/sagenb-0.11.4-py2.7.egg/sagenb/data/ rm -rf mathjax ln -s ../../../../../../share/mathjax/

Close and open sage again.