<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Quando uso o Atualizador de programas para atualizar o R ele me retorna a seguinte mensagem:</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
<br></div><div class="gmail_default"><div class="gmail_default"><font face="verdana, sans-serif">"Verifique se você está utilizando repositórios de terceiros. Se estiver, desabilite-os, já que normalmente são fonte de problemas.</font></div>
<div class="gmail_default"><font face="verdana, sans-serif">Além disso, execute o seguinte comando em um Terminal: apt-get install -f"</font></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div>
<div class="gmail_default"><font face="verdana, sans-serif">Rodo o comando '</font><span style="font-family:verdana,sans-serif">apt-get install -f'</span><span style="font-family:verdana,sans-serif"> no terminal e ele retorna o seguinte:</span></div>
<div class="gmail_default"><font face="verdana, sans-serif">"luciano@luciano:~$ apt-get install -f</font></div><div class="gmail_default"><font face="verdana, sans-serif">E: Não foi possível abrir arquivo de trava /var/lib/dpkg/lock - open (13: Permissão negada)</font></div>
<div class="gmail_default"><font face="verdana, sans-serif">E: Não foi possível criar acesso exclusivo ao directório de administração (/var/lib/dpkg/), é root?"</font></div><div class="gmail_default"><br></div><div class="gmail_default">
<div class="gmail_default"><br></div><div class="gmail_default">já quando eu tento instalar o pacote 'vegan'</div><div class="gmail_default"><br></div><div class="gmail_default">Veja o que acontece:<br></div><div class="gmail_default">
<span class="" style="border-collapse:separate;color:rgb(0,0,0);font-family:'Ubuntu Mono';font-size:17px;line-height:19px;white-space:pre-wrap;border-spacing:0px;background-color:rgb(225,226,229)"><pre tabindex="0" class="" style="font-family:'Ubuntu Mono';outline:none;border:none;margin-top:0px;margin-bottom:0px;line-height:1.2;font-size:12.4pt!important;white-space:pre-wrap!important">
<span class="" style="white-space:pre;color:blue">> </span><span class="" style="color:blue">install.packages('vegan')
</span><span class="" style="color:rgb(197,6,11)">Installing package into ‘/home/luciano/R/i686-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
</span><span class="" style="color:rgb(197,6,11)">tentando a URL '<a href="http://cran.rstudio.com/src/contrib/vegan_2.0-9.tar.gz">http://cran.rstudio.com/src/contrib/vegan_2.0-9.tar.gz</a>'
</span><span class="" style="color:rgb(197,6,11)">Content type 'application/x-gzip'</span><span class="" style="color:rgb(197,6,11)"> length 1939696 bytes (1.8 Mb)
</span><span class="" style="color:rgb(197,6,11)">URL aberta
</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">=</span><span class="" style="color:rgb(197,6,11)">
</span><span class="" style="color:rgb(197,6,11)">downloaded 1.8 Mb
</span><span class="" style="color:rgb(197,6,11)">* installing *source* package ‘vegan’ ...
</span><span class="" style="color:rgb(197,6,11)">** package ‘vegan’ successfully unpacked and MD5 sums checked
</span><span class="" style="color:rgb(197,6,11)">** libs
</span>gfortran -fpic -O3 -pipe -g -c cepin.f -o cepin.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c data2hill.c -o data2hill.o
gfortran -fpic -O3 -pipe -g -c decorana.f -o decorana.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c goffactor.c -o goffactor.o
gfortran -fpic -O3 -pipe -g -c monoMDS.f -o monoMDS.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c nestedness.c -o nestedness.o
gfortran -fpic -O3 -pipe -g -c ordering.f -o ordering.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c pnpoly.c -o pnpoly.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c stepacross.c -o stepacross.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c vegdist.c -o vegdist.o
gcc -std=gnu99 -shared -o vegan.so cepin.o data2hill.o decorana.o goffactor.o monoMDS.o nestedness.o ordering.o pnpoly.o stepacross.o vegdist.o -lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR
<span class="" style="color:rgb(197,6,11)">installing to /home/luciano/R/i686-pc-linux-gnu-library/3.0/vegan/libs
</span><span class="" style="color:rgb(197,6,11)">** R
</span><span class="" style="color:rgb(197,6,11)">** data
</span><span class="" style="color:rgb(197,6,11)">** inst
</span><span class="" style="color:rgb(197,6,11)">** preparing package for lazy loading
</span><span class="" style="color:rgb(197,6,11)">Error : package ‘lattice’ was built before R 3.0.0: please re-install it
</span><span class="" style="color:rgb(197,6,11)">ERROR: lazy loading failed for package ‘vegan’
</span><span class="" style="color:rgb(197,6,11)">* removing ‘/home/luciano/R/i686-pc-linux-gnu-library/3.0/vegan’
</span>Warning in install.packages :
installation of package ‘vegan’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpBQbvDv/downloaded_packages’</pre></span></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default">ok, tento instalar o lattice e mas o erro continua.</div><div class="gmail_default">
<br></div><div class="gmail_default"><br></div><div class="gmail_default">Instalando o pacote lme4 o erro final é o seguinte:</div><div class="gmail_default"><br></div><div class="gmail_default"><span class="" style="border-collapse:separate;color:rgb(0,0,0);font-family:'Ubuntu Mono';font-size:17px;line-height:19px;white-space:pre-wrap;border-spacing:0px;background-color:rgb(225,226,229)"><pre tabindex="0" class="" style="font-family:'Ubuntu Mono';outline:none;border:none;margin-top:0px;margin-bottom:0px;line-height:1.2;font-size:12.4pt!important;white-space:pre-wrap!important">
<span class="" style="color:rgb(197,6,11)">installing to /home/luciano/R/i686-pc-linux-gnu-library/3.0/Rcpp/libs
</span><span class="" style="color:rgb(197,6,11)">** R
</span><span class="" style="color:rgb(197,6,11)">** inst
</span><span class="" style="color:rgb(197,6,11)">** preparing package for lazy loading
</span><span class="" style="color:rgb(197,6,11)">Error : package ‘codetools’ was built before R 3.0.0: please re-install it
</span><span class="" style="color:rgb(197,6,11)">Error : unable to load R code in package ‘Rcpp’
</span><span class="" style="color:rgb(197,6,11)">ERROR: lazy loading failed for package ‘Rcpp’
</span><span class="" style="color:rgb(197,6,11)">* removing ‘/home/luciano/R/i686-pc-linux-gnu-library/3.0/Rcpp’
</span>Warning in install.packages :
installation of package ‘Rcpp’ had non-zero exit status
<span class="" style="color:rgb(197,6,11)">ERROR: dependency ‘Rcpp’ is not available for package ‘minqa’
</span><span class="" style="color:rgb(197,6,11)">* removing ‘/home/luciano/R/i686-pc-linux-gnu-library/3.0/minqa’
</span>Warning in install.packages :
installation of package ‘minqa’ had non-zero exit status
<span class="" style="color:rgb(197,6,11)">ERROR: dependency ‘Rcpp’ is not available for package ‘RcppEigen’
</span><span class="" style="color:rgb(197,6,11)">* removing ‘/home/luciano/R/i686-pc-linux-gnu-library/3.0/RcppEigen’
</span>Warning in install.packages :
installation of package ‘RcppEigen’ had non-zero exit status
<span class="" style="color:rgb(197,6,11)">ERROR: dependencies ‘minqa’, ‘Rcpp’, ‘RcppEigen’ are not available for package ‘lme4’
</span><span class="" style="color:rgb(197,6,11)">* removing ‘/home/luciano/R/i686-pc-linux-gnu-library/3.0/lme4’
</span>Warning in install.packages :
installation of package ‘lme4’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpBQbvDv/downloaded_packages’</pre></span></div><div class="gmail_default"><br></div><div class="gmail_default">Abraços,</div><div class="gmail_default">Luciano</div></div></div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">Em 28 de outubro de 2013 22:01, Daniel C Bezerra <span dir="ltr"><<a href="mailto:danielcbezerra@gmail.com" target="_blank">danielcbezerra@gmail.com</a>></span> escreveu:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Qual o problema? O que aparece?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/28 Luciano F. Sgarbi <span dir="ltr"><<a href="mailto:luciano.f.sgarbi@gmail.com" target="_blank">luciano.f.sgarbi@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
Prezados,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
Sou novo no uso do OS linux e estou com problemas na atualização do R (versão 3.0.2) e na instalação de qualquer pacote no R. Meu sistema operacional é o UBUNTU 13.04, 32-bit.</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Se alguém puder dar uma força serei grato.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Abraços,</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Luciano</div><span><font color="#888888"><div><br></div>-- <br><div dir="ltr"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
</blockquote><div><font color="#444444" face="courier new, monospace"><i><span style="font-size:12.727272033691406px">Luciano F. Sgarbi</span><br>
</i></font></div><div><font color="#444444" face="courier new, monospace"><i><a href="http://lattes.cnpq.br/9788198135883354" target="_blank"> Currículo Lattes</a><br style="font-size:12.727272033691406px">
</i></font><i style="color:rgb(68,68,68);font-family:'courier new',monospace"><span style="font-size:12.727272033691406px">Dep. Ecologia, </span><span style="font-size:12.727272033691406px">Instituto de Ciências Biológicas I</span></i><font color="#444444" face="courier new, monospace"><i><br>
</i></font><div><i><font color="#444444"><font style="font-size:12.727272033691406px" face="courier new, monospace">Universidade Federal de Goiás, campus II, Goiânia-GO, </font><font face="courier new, monospace">Brasil</font></font></i></div>
</div></div>
</font></span></div>
<br></div></div>_______________________________________________<br>
R-br mailing list<br>
<a href="mailto:R-br@listas.c3sl.ufpr.br" target="_blank">R-br@listas.c3sl.ufpr.br</a><br>
<a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>
Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.<br></blockquote></div><br></div>
<br>_______________________________________________<br>
R-br mailing list<br>
<a href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a><br>
<a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>
Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>
<div dir="ltr"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"></blockquote><div><font face="courier new, monospace" color="#444444"><i><span style="font-size:12.727272033691406px">Luciano F. Sgarbi</span><br>
</i></font></div><div><font face="courier new, monospace" color="#444444"><i><a href="http://lattes.cnpq.br/9788198135883354" target="_blank"> Currículo Lattes</a><br style="font-size:12.727272033691406px;background-color:rgb(255,255,255)">
</i></font><i style="color:rgb(68,68,68);font-family:'courier new',monospace"><span style="font-size:12.727272033691406px">Dep. Ecologia, </span><span style="font-size:12.727272033691406px">Instituto de Ciências Biológicas I</span></i><font face="courier new, monospace" color="#444444"><i><br>
</i></font><div style="background-color:rgb(255,255,255)"><i><font color="#444444"><font face="courier new, monospace" style="font-size:12.727272033691406px">Universidade Federal de Goiás, campus II, Goiânia-GO, </font><font face="courier new, monospace">Brasil</font></font></i></div>
</div></div>
</div>