erro no update

Iniciado por drosophila, 18 de Julho de 2014, 18:57

tópico anterior - próximo tópico

drosophila

Alguém poderia me auxiliar por gentileza com a correção do seguinte erro?

W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main amd64 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-amd64_Packages)

W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main i386 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-i386_Packages)
W: Você terá que executar apt-get update para corrigir estes problemas

Já olhei em alguns outros sites, mas as respostas que encontrei estavam em termos avançados demais para mim, e como sou iniciante (utilizo o ubuntu a no máximo 1 mês)...

san-alex

CitarW: Você terá que executar apt-get update para corrigir estes problemas
Já fez isso?

selvaking

Citação de: drosophila online 18 de Julho de 2014, 18:57
W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main amd64 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-amd64_Packages)

W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main i386 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-i386_Packages)
W: Você terá que executar apt-get update para corrigir estes problemas

Já olhei em alguns outros sites, mas as respostas que encontrei estavam em termos avançados demais para mim, e como sou iniciante (utilizo o ubuntu a no máximo 1 mês)...

Vc tem uma entrada duplicada de uma fonte(um mesmo servidor) em seus arquivos /etc/apt/sources.list e em algum arquivo na pasta /etc/apt/sources.list.d/

O linux ver todos estes arquivos como um arquivo único e se aparece o mesmo fonte, ele mostra este erro.

Solução: Descomente uma das entradas para "http://dl.google.com/linux/chrome/deb/" usando uma "#"
Dê-me um computador com o Tux que movo o mundo!

Linux User #323049

clodoaldops

-se vc está usando ubuntu-64bits remova o repositório do google-chrome-32bits
-se vc está usando ubuntu-32bits remova o repositório do google-chrome-64bis
-para isso vá em configurações/sistema >> sistema >> programas-atualizaçoes >>outros-programas >> desmarque o repositório


drosophila

sim, só que dai agora aparece outro erro.

o ubuntu é um pocou complicado para lidar, mas eu quero aprender!!!

luiz-menezes@Education:~$ sudo apt-get update
Ign http://br.archive.ubuntu.com trusty InRelease
Ign http://br.archive.ubuntu.com trusty-updates InRelease                     
Ign http://dl.google.com stable InRelease                                     
Ign http://br.archive.ubuntu.com trusty-backports InRelease                   
Atingido http://br.archive.ubuntu.com trusty Release.gpg                       
Obter:1 http://br.archive.ubuntu.com trusty-updates Release.gpg [933 B]       
Atingido http://br.archive.ubuntu.com trusty-backports Release.gpg             
Atingido http://dl.google.com stable Release.gpg                               
Atingido http://br.archive.ubuntu.com trusty Release                           
Atingido http://repository.spotify.com stable InRelease                       
Obter:2 http://br.archive.ubuntu.com trusty-updates Release [58,5 kB]         
Ign http://archive.canonical.com trusty InRelease                             
Ign http://security.ubuntu.com trusty-security InRelease                       
Atingido http://dl.google.com stable Release                                   
Atingido http://br.archive.ubuntu.com trusty-backports Release                 
Ign http://extras.ubuntu.com trusty InRelease                                 
Ign http://ppa.launchpad.net trusty InRelease                                 
Ign http://archive.canonical.com trusty InRelease                             
Atingido http://security.ubuntu.com trusty-security Release.gpg               
Atingido http://br.archive.ubuntu.com trusty/main Sources                     
Atingido http://br.archive.ubuntu.com trusty/restricted Sources               
Atingido http://br.archive.ubuntu.com trusty/universe Sources                 
Atingido http://br.archive.ubuntu.com trusty/multiverse Sources               
Atingido http://extras.ubuntu.com trusty Release.gpg                           
Atingido http://repository.spotify.com stable/non-free amd64 Packages         
Ign http://ppa.launchpad.net trusty InRelease                                 
Atingido http://br.archive.ubuntu.com trusty/main amd64 Packages               
Atingido http://archive.canonical.com trusty Release.gpg                       
Atingido http://br.archive.ubuntu.com trusty/restricted amd64 Packages         
Atingido http://security.ubuntu.com trusty-security Release                   
Atingido http://dl.google.com stable/main amd64 Packages                       
Atingido http://br.archive.ubuntu.com trusty/universe amd64 Packages           
Atingido http://repository.spotify.com stable/non-free i386 Packages           
Atingido http://br.archive.ubuntu.com trusty/multiverse amd64 Packages         
Atingido http://extras.ubuntu.com trusty Release                               
Atingido http://br.archive.ubuntu.com trusty/main i386 Packages               
Atingido http://archive.canonical.com trusty Release.gpg                       
Ign http://ppa.launchpad.net trusty InRelease                                 
Atingido http://br.archive.ubuntu.com trusty/restricted i386 Packages         
Atingido http://security.ubuntu.com trusty-security/main Sources               
Atingido http://dl.google.com stable/main i386 Packages                       
Atingido http://br.archive.ubuntu.com trusty/universe i386 Packages           
Atingido http://br.archive.ubuntu.com trusty/multiverse i386 Packages         
Atingido http://archive.canonical.com trusty Release                           
Atingido http://extras.ubuntu.com trusty/main Sources                         
Ign http://ppa.launchpad.net trusty InRelease                                 
Atingido http://br.archive.ubuntu.com trusty/main Translation-pt_BR           
Atingido http://br.archive.ubuntu.com trusty/main Translation-pt               
Atingido http://security.ubuntu.com trusty-security/restricted Sources         
Atingido http://br.archive.ubuntu.com trusty/main Translation-en               
Atingido http://br.archive.ubuntu.com trusty/multiverse Translation-pt_BR     
Atingido http://br.archive.ubuntu.com trusty/multiverse Translation-pt         
Atingido http://archive.canonical.com trusty Release                           
Atingido http://extras.ubuntu.com trusty/main amd64 Packages                   
Atingido http://ppa.launchpad.net trusty Release.gpg                           
Atingido http://br.archive.ubuntu.com trusty/multiverse Translation-en         
Atingido http://br.archive.ubuntu.com trusty/restricted Translation-pt_BR     
Atingido http://br.archive.ubuntu.com trusty/restricted Translation-pt         
Atingido http://security.ubuntu.com trusty-security/universe Sources           
Atingido http://br.archive.ubuntu.com trusty/restricted Translation-en         
Atingido http://archive.canonical.com trusty/partner Sources                   
Atingido http://br.archive.ubuntu.com trusty/universe Translation-pt_BR       
Atingido http://extras.ubuntu.com trusty/main i386 Packages                   
Atingido http://br.archive.ubuntu.com trusty/universe Translation-pt           
Atingido http://ppa.launchpad.net trusty Release.gpg                           
Atingido http://br.archive.ubuntu.com trusty/universe Translation-en           
Obter:3 http://br.archive.ubuntu.com trusty-updates/main Sources [92,4 kB]     
Atingido http://security.ubuntu.com trusty-security/multiverse Sources         
Atingido http://archive.canonical.com trusty/partner amd64 Packages           
Obter:4 http://br.archive.ubuntu.com trusty-updates/restricted Sources [14 B] 
Atingido http://ppa.launchpad.net trusty Release.gpg                           
Obter:5 http://br.archive.ubuntu.com trusty-updates/universe Sources [61,8 kB]
Obter:6 http://br.archive.ubuntu.com trusty-updates/multiverse Sources [2.693 B]
Atingido http://archive.canonical.com trusty/partner i386 Packages             
Atingido http://security.ubuntu.com trusty-security/main amd64 Packages       
Atingido http://ppa.launchpad.net trusty Release.gpg                           
Obter:7 http://br.archive.ubuntu.com trusty-updates/main amd64 Packages [227 kB]
Atingido http://security.ubuntu.com trusty-security/restricted amd64 Packages 
Atingido http://ppa.launchpad.net trusty Release                               
Obter:8 http://br.archive.ubuntu.com trusty-updates/restricted amd64 Packages [14 B]
Obter:9 http://br.archive.ubuntu.com trusty-updates/universe amd64 Packages [156 kB]
Obter:10 http://br.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [7.392 B]
Atingido http://ppa.launchpad.net trusty Release                               
Obter:11 http://br.archive.ubuntu.com trusty-updates/main i386 Packages [223 kB]
Atingido http://ppa.launchpad.net trusty Release                               
Obter:12 http://br.archive.ubuntu.com trusty-updates/restricted i386 Packages [14 B]
Ign http://repository.spotify.com stable/non-free Translation-pt_BR           
Obter:13 http://br.archive.ubuntu.com trusty-updates/universe i386 Packages [156 kB]
Ign http://repository.spotify.com stable/non-free Translation-pt               
Atingido http://security.ubuntu.com trusty-security/universe amd64 Packages   
Obter:14 http://br.archive.ubuntu.com trusty-updates/multiverse i386 Packages [7.587 B]
Atingido http://archive.canonical.com trusty/partner amd64 Packages           
Atingido http://ppa.launchpad.net trusty Release                               
Atingido http://br.archive.ubuntu.com trusty-updates/main Translation-en       
Ign http://repository.spotify.com stable/non-free Translation-en               
Atingido http://archive.canonical.com trusty/partner i386 Packages             
Atingido http://security.ubuntu.com trusty-security/multiverse amd64 Packages 
Atingido http://ppa.launchpad.net trusty/main amd64 Packages                   
Atingido http://br.archive.ubuntu.com trusty-updates/multiverse Translation-en
Atingido http://br.archive.ubuntu.com trusty-updates/restricted Translation-en
Atingido http://security.ubuntu.com trusty-security/main i386 Packages         
Atingido http://br.archive.ubuntu.com trusty-updates/universe Translation-en   
Atingido http://security.ubuntu.com trusty-security/restricted i386 Packages   
Atingido http://br.archive.ubuntu.com trusty-backports/main Sources           
Ign http://dl.google.com stable/main Translation-pt_BR                         
Atingido http://br.archive.ubuntu.com trusty-backports/restricted Sources     
Atingido http://br.archive.ubuntu.com trusty-backports/universe Sources       
Atingido http://br.archive.ubuntu.com trusty-backports/multiverse Sources     
Atingido http://ppa.launchpad.net trusty/main i386 Packages                   
Atingido http://security.ubuntu.com trusty-security/universe i386 Packages     
Ign http://dl.google.com stable/main Translation-pt                           
Atingido http://br.archive.ubuntu.com trusty-backports/main amd64 Packages     
Atingido http://br.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Atingido http://br.archive.ubuntu.com trusty-backports/universe amd64 Packages
Ign http://dl.google.com stable/main Translation-en                           
Atingido http://security.ubuntu.com trusty-security/multiverse i386 Packages   
Atingido http://br.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Atingido http://br.archive.ubuntu.com trusty-backports/main i386 Packages     
Atingido http://br.archive.ubuntu.com trusty-backports/restricted i386 Packages
Atingido http://br.archive.ubuntu.com trusty-backports/universe i386 Packages 
Atingido http://br.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Atingido http://br.archive.ubuntu.com trusty-backports/main Translation-en     
Ign http://extras.ubuntu.com trusty/main Translation-pt_BR                     
Atingido http://br.archive.ubuntu.com trusty-backports/multiverse Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-pt                       
Atingido http://security.ubuntu.com trusty-security/main Translation-en       
Atingido http://ppa.launchpad.net trusty/main amd64 Packages                   
Atingido http://br.archive.ubuntu.com trusty-backports/restricted Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en                       
Atingido http://br.archive.ubuntu.com trusty-backports/universe Translation-en
Atingido http://ppa.launchpad.net trusty/main i386 Packages                   
Atingido http://security.ubuntu.com trusty-security/multiverse Translation-en 
Atingido http://ppa.launchpad.net trusty/main amd64 Packages                   
Atingido http://security.ubuntu.com trusty-security/restricted Translation-en 
Atingido http://ppa.launchpad.net trusty/main i386 Packages                   
Atingido http://security.ubuntu.com trusty-security/universe Translation-en   
Atingido http://ppa.launchpad.net trusty/main amd64 Packages                   
Atingido http://ppa.launchpad.net trusty/main i386 Packages                   
Ign http://archive.canonical.com trusty/partner Translation-pt_BR             
Ign http://archive.canonical.com trusty/partner Translation-pt                 
Ign http://archive.canonical.com trusty/partner Translation-en                 
Ign http://archive.canonical.com trusty/partner Translation-pt_BR             
Ign http://br.archive.ubuntu.com trusty-updates/main Translation-pt_BR         
Ign http://br.archive.ubuntu.com trusty-updates/main Translation-pt           
Ign http://br.archive.ubuntu.com trusty-updates/multiverse Translation-pt_BR   
Ign http://archive.canonical.com trusty/partner Translation-pt                 
Ign http://br.archive.ubuntu.com trusty-updates/multiverse Translation-pt     
Ign http://br.archive.ubuntu.com trusty-updates/restricted Translation-pt_BR   
Ign http://br.archive.ubuntu.com trusty-updates/restricted Translation-pt     
Ign http://br.archive.ubuntu.com trusty-updates/universe Translation-pt_BR     
Ign http://br.archive.ubuntu.com trusty-updates/universe Translation-pt       
Ign http://archive.canonical.com trusty/partner Translation-en                 
Ign http://br.archive.ubuntu.com trusty-backports/main Translation-pt_BR       
Ign http://br.archive.ubuntu.com trusty-backports/main Translation-pt         
Ign http://br.archive.ubuntu.com trusty-backports/multiverse Translation-pt_BR
Ign http://br.archive.ubuntu.com trusty-backports/multiverse Translation-pt   
Ign http://br.archive.ubuntu.com trusty-backports/restricted Translation-pt_BR
Ign http://br.archive.ubuntu.com trusty-backports/restricted Translation-pt   
Ign http://br.archive.ubuntu.com trusty-backports/universe Translation-pt_BR   
Ign http://br.archive.ubuntu.com trusty-backports/universe Translation-pt     
Ign http://security.ubuntu.com trusty-security/main Translation-pt_BR         
Ign http://security.ubuntu.com trusty-security/main Translation-pt
Ign http://security.ubuntu.com trusty-security/multiverse Translation-pt_BR
Ign http://security.ubuntu.com trusty-security/multiverse Translation-pt
Ign http://security.ubuntu.com trusty-security/restricted Translation-pt_BR
Ign http://security.ubuntu.com trusty-security/restricted Translation-pt
Ign http://security.ubuntu.com trusty-security/universe Translation-pt_BR
Ign http://security.ubuntu.com trusty-security/universe Translation-pt
Ign http://ppa.launchpad.net trusty/main Translation-pt_BR   
Ign http://ppa.launchpad.net trusty/main Translation-pt
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-pt_BR
Ign http://ppa.launchpad.net trusty/main Translation-pt
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-pt_BR
Ign http://ppa.launchpad.net trusty/main Translation-pt
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-pt_BR
Ign http://ppa.launchpad.net trusty/main Translation-pt
Ign http://ppa.launchpad.net trusty/main Translation-en
Baixados 993 kB em 22s (44,2 kB/s)
E: Não foi possível obter trava /var/lib/dpkg/lock - open (11: Recurso temporariamente indisponível)
E: Não foi possível obter acesso exclusivo ao directório de administração (/var/lib/dpkg/), outro processo está a utilizá-lo?


Obrigado!!!

Tota

CitarE: Não foi possível obter acesso exclusivo ao directório de administração (/var/lib/dpkg/), outro processo está a utilizá-lo?

Você só pode ter uma instância de sudo por vez.

Feche todos os aplicativos abertos e tente apenas com o terminal aberto.

drosophila