Fazendo o download de R em problemas do Ubuntu

0

Estou tentando instalar o R no Ubuntu 11.04. Eu tentei fazer isso no gerenciador Synaptics. No entanto, quando escolhi o r-base-core, recebi o seguinte:

r-base-core: Depends: r-base-dev but it is not going to be installed Depends: gfortran but it is not installable Depends: libblas-dev but it is not installable or libatlas-base-dev but it is not going to be installed Depends: liblapack-dev but it is not installable or libatlas-base-dev but it is not going to be installed Depends: libncurses5-dev but it is not installable Depends: libreadline-dev but it is not installable Depends: libjpeg62-dev but it is not installable Depends: libpcre3-dev but it is not installable Depends: libpng12-dev but it is not going to be installed Depends: zlib1g-dev but it is not installable Depends: libbz2-dev but it is not installable Depends: dpatch but it is not installable

Eu também fiz isso no terminal GNOME com o "sudo apt", novamente obtendo o mesmo resultado.

Quando eu digitei "cat" eu peguei

deb cdrom:[Ubuntu 11.04 Natty Narwhal - Release i386

(20110427.1)]/ natty main restricted

See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade

to

newer versions of the distribution. deb

http://us.archive.ubuntu.com/ubuntu/ natty main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ natty main restricted

Major bug fix updates produced after the final release of the

distribution. deb http://us.archive.ubuntu.com/ubuntu/

natty-updates main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ natty-updates main restricted

N.B. software from this repository is ENTIRELY UNSUPPORTED by the

Ubuntu

team. Also, please note that software in universe WILL NOT receive

any

review or updates from the Ubuntu security team. deb

http://us.archive.ubuntu.com/ubuntu/ natty universe deb-src http://us.archive.ubuntu.com/ubuntu/ natty universe deb http://us.archive.ubuntu.com/ubuntu/ natty-updates universe deb-src http://us.archive.ubuntu.com/ubuntu/ natty-updates universe

N.B. software from this repository is ENTIRELY UNSUPPORTED by the

Ubuntu

team, and may not be under a free licence. Please satisfy yourself

as to

your rights to use the software. Also, please note that software in

multiverse WILL NOT receive any review or updates from the Ubuntu

security team. deb http://us.archive.ubuntu.com/ubuntu/ natty

multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ natty multiverse deb http://us.archive.ubuntu.com/ubuntu/ natty-updates multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ natty-updates multiverse

Uncomment the following two lines to add software from the

'backports'

repository.

N.B. software from this repository may not have been tested as

extensively as that contained in the main release, although it

includes

newer versions of some applications which may provide useful

features.

Also, please note that software in backports WILL NOT receive any

review

or updates from the Ubuntu security team.

deb http://us.archive.ubuntu.com/ubuntu/ natty-backports main

restricted universe multiverse

deb-src http://us.archive.ubuntu.com/ubuntu/ natty-backports main

restricted universe multiverse

deb http://security.ubuntu.com/ubuntu natty-security main restricted deb-src http://security.ubuntu.com/ubuntu natty-security main restricted deb http://security.ubuntu.com/ubuntu natty-security universe deb-src http://security.ubuntu.com/ubuntu natty-security universe deb http://security.ubuntu.com/ubuntu natty-security multiverse deb-src http://security.ubuntu.com/ubuntu natty-security multiverse

Uncomment the following two lines to add software from Canonical's

'partner' repository.

This software is not part of Ubuntu, but is offered by Canonical

and the

respective vendors as a service to Ubuntu users.

deb http://archive.canonical.com/ubuntu natty partner

deb-src http://archive.canonical.com/ubuntu natty partner

This software is not part of Ubuntu, but is offered by third-party

developers who want to ship their latest software. deb

http://extras.ubuntu.com/ubuntu natty main deb-src http://extras.ubuntu.com/ubuntu natty main deb http://cran.stat.ucla.edu/bin/linux/ubuntu natty/ deb-src http://cran.cnr.Berkeley.edu/bin/linux/ubuntu maverick/

Note que já adicionei os repositórios R na parte inferior.

O que devo fazer? Obrigado.

    
por GTyler 26.08.2011 / 05:40

2 respostas

3

Leia as instruções detalhadas neste README que funcionou para milhares de usuários. Adicione a entrada apt-get sources para seu sabor, execute apt-get update e instale.

Se isso falhar, precisamos de melhores mensagens de erro com mais detalhes sobre o que você fez como do que apenas a saída acima.

    
por 26.08.2011 / 05:44
0

Parece que você está perdendo alguns repositórios básicos para o Ubuntu. Se a resposta do Dirks não ajudar, informe-nos sobre o ubuntu que você está usando e suas fontes, ou seja, a saída de

cat /etc/apt/sources.list

e, se houver arquivos relacionados ao R em

ls /etc/apt/sources/sources.list.d/

seu conteúdo também.

    
por 26.08.2011 / 10:55