Fórum Ubuntu Linux - PT
Área para Iniciantes => Iniciantes => Tópico iniciado por: Freitas em 30 de Agosto de 2014, 05:19
-
Fiz update : "sudo apt-get update" e apresentou esse defeito:
"Lendo listas de pacotes... Pronto
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" executo o apt de novo e repete. que fazer ?
-
tente;
sudo rm /var/lib/apt/lists/* ; sudo rm /var/lib/apt/lists/partial/* ; sudo apt-get clean ; sudo apt-get -f install ; sudo apt-get update
-
Executei esse comando "sudo rm /var/lib/apt/lists/*" e a resposta foi : "não foi possível remover “/var/lib/apt/lists/partial”: É um diretório" .
O comando
sudo apt-get clean não acusou nada.
O comando sudo apt-get -f install baixou uma porção de pacote e mostrou o mesmo defeito: "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"
executei o apt-get update e nada
-
sudo rm /var/lib/apt/lists/partial/*
Tem certeza que você não esqueceu do *?
Qualquer coisa, faça:
sudo nautilus /var/lib/apt/lists/partial
e delete todo o conteúdo dentro da pasta na janela que vai se abrir.
-
Introduza os comandos:
cat /etc/apt/sources.list
ls /etc/apt/sources.list.d
resposta do terminal copia para aqui.
-
1- se vc usa ubuntu-64bits remova repositório do google-32bits
2-se vc usa ubuntu-32bits remova repositório do google-64bits
-
clodoaldops, deb-pacote de Google Earth 64-bits não dá para instalar no Ubuntu 14.04. Tem que ser instalado i386.
-
Execute em terminal:
sudo rm -r /var/lib/apt/lists/* -vf ; sudo apt-get autoclean ; sudo apt-get autoremove --purge ; sudo apt-get update ; sudo apt-get upgrade ; sudo apt-get safe-upgrade
-
O primeiro comando deu isso :
"# deb cdrom:[Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417)]/ trusty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://br.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty-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://br.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty universe
deb http://br.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty-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://br.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://br.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
## 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://br.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-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 trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty 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 trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty mai
O segundo comando sudo ls /etc/apt/sources.list.d deu isso :
"google-chrome.list
google-chrome.list.save
google.list
google.list.save
nilarimogard-webupd8-trusty.list
nilarimogard-webupd8-trusty.list.save
ricotz-unstable-trusty.list
ricotz-unstable-trusty.list.save
the-duck-launcher-trusty.list
tsbarnes-indicator-keylock-trusty.list
tsbarnes-indicator-keylock-trusty.list.save
whatsapp-purple-ppa-trusty.list
whatsapp-purple-ppa-trusty.list.save
-
Ao meu ver, você está com fontes duplicadas da Google na sua sorce.list. Deixe me adivinhar: você utilizou aquela dica do Netflix nativo no Ubuntu via Google Chrome 37 (ou 38) recentemente? ;D
Abra a sua source.list como root e comente (adicione um # no início) uma das linhas referentes ao Google, testando em seguida se o problema sumiu. Caso ainda persista, repita o procedimento e teste novamente que deve resolver.
Caso ainda assim persista, aguarde as dicas dos demais companheiros do Fórum.
-
Agora isso:
cat /etc/apt/sources.list.d/google-chrome.list
cat /etc/apt/sources.list.d/google.list