Install errors when installing in Debian GNU/Linux 13 (trixie)

asked 2026-08-14 01:31:20 +0200

Brucec gravatar image

I received these errors (and more): The following packages have unmet dependencies: sagemath-jupyter: Depends: jupyter-nbextension-jupyter-js-widgets but it is not installable python3-sage: Depends: python3 (< 3.12) but 3.13.5-1 is to be installed Depends: python3-cypari2 (>= 2.1) but it is not going to be installed Depends: python3-numpy-abi9

I would appreciate any comments please.

edit retag flag offensive close merge delete

Comments

Copilot answer:

The errors come from Debian Trixie using Python 3.13, while the SageMath Debian packages are still built for older Python versions. This is why you see:

python3-sage requires python3 < 3.12

python3-cypari2 and python3-numpy-abi9 cannot be installed

jupyter-nbextension-jupyter-js-widgets no longer exists in Trixie

So SageMath cannot be installed via apt on Trixie at the moment.

Workarounds:

install SageMath from source

use the official binary tarball

or run SageMath in a Docker container

Debian Testing often breaks SageMath until packages are rebuilt.

ortollj gravatar imageortollj ( 2026-08-27 06:46:05 +0200 )edit