Ficando frustrado ao tentar atualizar o R-base

1

Li as perguntas / guias semelhantes:

Eu estou supondo que há algumas suposições gerais que eu estou perdendo nas instruções que eles estão dando, porque eu estou saindo perdida.

Pergunta 1:

Estou correndo 12.04 então saindo do guia do CRAN se eu colocar

deb http://cran.rstudio.com/bin/linux/ubuntu quantal/

em /etc/apt/sources.list ? Pode ir em qualquer linha vazia ou há uma ordem que eu preciso seguir?

Pergunta 2:

Quando eu sigo o próximo passo no guia CRAN, eu faço uma atualização e instalo. Estou seguindo o guia como eu o entendo, mas há 'cardos em minhas meias'. Eu não sei o que está errado. Eu ainda estou carregando para 2.14 quando eu carrego em R.

XXXXXXXXXXXXXXx:~$ sudo apt-get update
Ign http://cran.cnr.Berkeley.edu quantal/ Release.gpg
Hit http://security.ubuntu.com precise-security Release.gpg                    
Hit http://us.archive.ubuntu.com precise Release.gpg                           
Get:1 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]         
Get:2 http://us.archive.ubuntu.com precise-backports Release.gpg [198 B]       
Ign http://cran.cnr.Berkeley.edu quantal/ Release                              
Hit http://security.ubuntu.com precise-security Release                        
Hit http://us.archive.ubuntu.com precise Release                               
Hit http://extras.ubuntu.com precise Release.gpg                               
Get:3 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]           
Hit http://security.ubuntu.com precise-security/main Sources                   
Hit http://extras.ubuntu.com precise Release                                   
Hit http://security.ubuntu.com precise-security/restricted Sources             
Hit http://security.ubuntu.com precise-security/universe Sources               
Hit http://security.ubuntu.com precise-security/multiverse Sources             
Hit http://security.ubuntu.com precise-security/main amd64 Packages            
Hit http://security.ubuntu.com precise-security/restricted amd64 Packages      
Hit http://security.ubuntu.com precise-security/universe amd64 Packages        
Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages      
Hit http://security.ubuntu.com precise-security/main i386 Packages             
Hit http://security.ubuntu.com precise-security/restricted i386 Packages       
Hit http://security.ubuntu.com precise-security/universe i386 Packages         
Get:4 http://us.archive.ubuntu.com precise-backports Release [49.6 kB]         
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages       
Hit http://security.ubuntu.com precise-security/main TranslationIndex          
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex    
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex    
Hit http://security.ubuntu.com precise-security/universe TranslationIndex      
Hit http://extras.ubuntu.com precise/main Sources                              
Hit http://us.archive.ubuntu.com precise/main Sources                          
Hit http://us.archive.ubuntu.com precise/restricted Sources                    
Hit http://us.archive.ubuntu.com precise/universe Sources                      
Hit http://us.archive.ubuntu.com precise/multiverse Sources                    
Hit http://us.archive.ubuntu.com precise/main amd64 Packages                   
Ign http://ppa.launchpad.net precise Release.gpg                               
Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages             
Hit http://us.archive.ubuntu.com precise/universe amd64 Packages               
Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages             
Hit http://us.archive.ubuntu.com precise/main i386 Packages                    
Hit http://security.ubuntu.com precise-security/main Translation-en            
Hit http://security.ubuntu.com precise-security/multiverse Translation-en      
Hit http://security.ubuntu.com precise-security/restricted Translation-en      
Hit http://extras.ubuntu.com precise/main amd64 Packages                       
Hit http://extras.ubuntu.com precise/main i386 Packages                        
Ign http://extras.ubuntu.com precise/main TranslationIndex                     
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages              
Hit http://us.archive.ubuntu.com precise/universe i386 Packages                
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages              
Hit http://us.archive.ubuntu.com precise/main TranslationIndex                 
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex           
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex           
Hit http://security.ubuntu.com precise-security/universe Translation-en        
Ign http://ppa.launchpad.net precise Release                                   
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex             
Get:5 http://us.archive.ubuntu.com precise-updates/main Sources [454 kB]       
Ign http://ppa.launchpad.net precise/main TranslationIndex                     
Get:6 http://us.archive.ubuntu.com precise-updates/restricted Sources [8,028 B]
Get:7 http://us.archive.ubuntu.com precise-updates/universe Sources [106 kB]   
Err http://cran.cnr.Berkeley.edu quantal/ Packages                             
  404  Not Found
Err http://ppa.launchpad.net precise/main Sources                              
  404  Not Found
Err http://ppa.launchpad.net precise/main amd64 Packages                       
  404  Not Found
Err http://ppa.launchpad.net precise/main i386 Packages                        
  404  Not Found
Ign http://cran.cnr.Berkeley.edu quantal/ Translation-en_US                    
Ign http://extras.ubuntu.com precise/main Translation-en_US                    
Ign http://cran.cnr.Berkeley.edu quantal/ Translation-en                       
Get:8 http://us.archive.ubuntu.com precise-updates/multiverse Sources [8,909 B]
Ign http://extras.ubuntu.com precise/main Translation-en                       
Get:9 http://us.archive.ubuntu.com precise-updates/main amd64 Packages [764 kB]
Ign http://ppa.launchpad.net precise/main Translation-en_US                   
Ign http://ppa.launchpad.net precise/main Translation-en
Get:10 http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages [12.2 kB]
Get:11 http://us.archive.ubuntu.com precise-updates/universe amd64 Packages [239 kB]
Get:12 http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages [15.3 kB]
Get:13 http://us.archive.ubuntu.com precise-updates/main i386 Packages [788 kB]
Get:14 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [12.2 kB]
Get:15 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [244 kB]
Get:16 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [15.4 kB]
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex         
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex   
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex   
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex     
Get:17 http://us.archive.ubuntu.com precise-backports/main Sources [4,850 B]   
Get:18 http://us.archive.ubuntu.com precise-backports/restricted Sources [14 B]
Get:19 http://us.archive.ubuntu.com precise-backports/universe Sources [37.8 kB]
Get:20 http://us.archive.ubuntu.com precise-backports/multiverse Sources [5,311 B]
Get:21 http://us.archive.ubuntu.com precise-backports/main amd64 Packages [6,183 B]
Get:22 http://us.archive.ubuntu.com precise-backports/restricted amd64 Packages [14 B]
Get:23 http://us.archive.ubuntu.com precise-backports/universe amd64 Packages [39.2 kB]
Get:24 http://us.archive.ubuntu.com precise-backports/multiverse amd64 Packages [5,206 B]
Get:25 http://us.archive.ubuntu.com precise-backports/main i386 Packages [6,182 B]
Get:26 http://us.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Get:27 http://us.archive.ubuntu.com precise-backports/universe i386 Packages [39.0 kB]
Get:28 http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages [5,178 B]
Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex       
Hit http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex 
Hit http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex 
Hit http://us.archive.ubuntu.com precise-backports/universe TranslationIndex   
Hit http://us.archive.ubuntu.com precise/main Translation-en                   
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en             
Hit http://us.archive.ubuntu.com precise/restricted Translation-en             
Hit http://us.archive.ubuntu.com precise/universe Translation-en               
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en           
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en     
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en     
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en       
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en         
Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en   
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en   
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en     
Fetched 2,916 kB in 21s (135 kB/s)                                             
W: Failed to fetch http://cran.cnr.Berkeley.edu/CRAN/bin/linux/ubuntu/quantal/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/chromium-daily/ppa/ubuntu/dists/precise/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/chromium-daily/ppa/ubuntu/dists/precise/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/chromium-daily/ppa/ubuntu/dists/precise/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
XXXXXXXXXXXXXXXx:~$ sudo apt-get install r-base
Reading package lists... Done
Building dependency tree       
Reading state information... Done
r-base is already the newest version.
The following packages were automatically installed and are no longer required:
  efibootmgr gir1.2-ubuntuoneui-3.0 libubuntuoneui-3.0-1
  thunderbird-globalmenu
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    
por cylondude 13.04.2014 / 21:17

1 resposta

0

Parece que a resposta à minha primeira pergunta é sim, basta colocar a linha em qualquer parte do documento em sua própria linha.

E embora eu não tenha um bom conhecimento de como isso funcionava, siga as etapas do link funcionou para mim.

Eu então tive um problema com o funcionamento dos pacotes de dependências que você pode ler em: link

    
por cylondude 14.04.2014 / 01:52