falha ao instalar o sagemath no ubuntu 18.04 LTS

4

Recentemente, eu instalei o Ubuntu 64amd fazendo o boot do duak com o Windows 7 32bit. Está tudo bem, mas não consigo instalar o sagemath nele. ele diz "não é possível localizar o pacote sagemath-upstream-binary" mesmo quando o código está correto. posso saber porquê?

Aqui está o código completo que usei:

sudo apt-add-repository -y ppa:aims/sagemath
sudo apt-get update
sudo apt-get install sagemath-upstream-binary  

Abaixo estão os códigos dos terminais:

kutubuddin@kutubuddin-h81m-s:~$ sudo apt-add-repository -y ppa:aims/sagemath
[sudo] password for kutubuddin: 
Ign:1 http://ppa.launchpad.net/aims/sagemath/ubuntu bionic InRelease           
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [69.9 kB]    
Err:3 http://ppa.launchpad.net/aims/sagemath/ubuntu bionic Release             
  404  Not Found [IP: 91.189.xx.xx xx]
Hit:4 http://in.archive.ubuntu.com/ubuntu bionic InRelease                     
Hit:5 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease             
Hit:6 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease           
Reading package lists... Done                                  
E: The repository 'http://ppa.launchpad.net/aims/sagemath/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
kutubuddin@kutubuddin-h81m-s:~$ sudo apt-get update
Ign:1 http://ppa.launchpad.net/aims/sagemath/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [69.9 kB]
Hit:3 http://in.archive.ubuntu.com/ubuntu bionic InRelease                     
Err:4 http://ppa.launchpad.net/aims/sagemath/ubuntu bionic Release             
  404  Not Found [IP: 91.189.xx.xx.xx]
Get:5 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease [65.4 kB]   
Hit:6 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease           
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/aims/sagemath/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
kutubuddin@kutubuddin-h81m-s:~$ sudo apt-get install sagemath-upstream-binary
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package sagemath-upstream-binary
    
por Primo Raj 02.05.2018 / 18:08

1 resposta

5

O PPA que você mencionou não tem pacotes para 18.04 LTS.

No caso do Ubuntu 18.04 LTS Bionic Beaver você não precisa de nenhum PPA para instalar o SageMath.

Você pode simplesmente remover o PPA (se adicionado antes):

sudo apt-add-repository -r ppa:aims/sagemath

e, em seguida, instale o sagemath do repositório:

sudo apt-get install sagemath
    
por N0rbert 02.05.2018 / 18:37