Bug#923166: sagemath-common: sage -version doesn't work

John Scott jscott at posteo.net
Sun Feb 24 16:48:24 GMT 2019


Package: sagemath-common
Version: 8.6-5
Severity: normal
Control: affects -1 cantor-backend-sage

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

sage -v tries to source sage-version.sh, but neither
$SAGE_SCRIPTS_DIR nor $SAGE_ROOT are set, so
  $ sage -v
  /usr/bin/sage: line 16: /src/bin/sage-version.sh: No such file or directory
from trying to open $SAGE_ROOT/src/bin/sage-version.sh.
I found that this affects Cantor's backend [1] with
help there.

Here's a hideous workaround that works for me.
  # mkdir -p /src/bin/
  # ln -s /usr/share/sagemath/bin/sage-version.sh /src/bin/sage-version.sh
  $ sage -v
  SageMath version 8.6, Release Date: 2019-01-15

[1] https://bugs.kde.org/show_bug.cgi?id=404752

- -- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sagemath-common depends on:
ii  python  2.7.15-4

sagemath-common recommends no packages.

sagemath-common suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEAXEkn09uX7g8Tv8W3qerYfa4vJcFAlxyytQACgkQ3qerYfa4
vJfAcQgAh5AM8mfolBFQu6UK/bKQdS13MMtgkNW1oTOFWDBSeSjLgydZHURnL9K1
hTeldgPRsHtZG1W/giapiv8tN4xVuUhSSAv22SoIb8QHFkrPtiba27mioB7dFVlD
QansTshy2mpTT/82epTk6TTdCNXfgC5ZvG9E0ZJNCuvvNvfyVrZTTcn2L32MOJbp
7dT3YkcAxvOWiVHgQkWok8ipRXaLhLbbTTjQlMlpJT9p9AjZYmSTttyhqfI0xY0P
OYMaiZcSB3DqQcTkS6hpP8kAtsZnnyP25qpWUIx++yjydMz89JpaCWxBdMhdU8xR
yoXfLfQV1o5i3yPXQJwZNrvkoomkmQ==
=hMIB
-----END PGP SIGNATURE-----



More information about the debian-science-maintainers mailing list