Skip to content

riscv64-port installs sagemath unsuccessfully.

$ sudo apt-get install sagemath                                                 
[sudo] password for larry:                                                                               
Reading package lists... Done                                                                            
Building dependency tree... Done                                                                         
Reading state information... Done                                                                        
Some packages could not be installed. This may mean that you have                                        
requested an impossible situation or if you are using the unstable                                       
distribution that some required packages have not yet been created                                       
or been moved out of Incoming.                                                                           
The following information may help to resolve the situation:                                             
                                                                                                         
The following packages have unmet dependencies:                                                          
 sagemath : Depends: python3-sage (>= 9.5-4build3) but it is not installable                             
            Depends: python3-sage (< 9.5-4build3.1~) but it is not installable                           
            Recommends: sagemath-doc (= 9.5-4build3) but it is not going to be installed                 
            Recommends: sagemath-jupyter (= 9.5-4build3) but it is not going to be installed             
            Recommends: sagetex but it is not going to be installed                                      
E: Unable to correct problems, you have held broken packages.       
$ sudo apt-get install python3-sage                                                      
Reading package lists... Done                                                                            
Building dependency tree... Done                                                                         
Reading state information... Done                                                                        
Package python3-sage is not available, but is referred to by another package.                            
This may mean that the package is missing, has been obsoleted, or                                        
is only available from another source                                                                    
                                                                                                         
E: Package 'python3-sage' has no installation candidate     
$ lsb_release -rd
Description: Ubuntu 22.04 LTS
Release: 22.04

$ apt-cache policy sagemath
sagemath:
  Installed: (none)
  Candidate: 9.5-4
  Version table:
     9.5-4 500
        500 https://mirrors.bfsu.edu.cn/ubuntu-ports jammy/universe riscv64 Packages