Problema de Update [RESOLVIDO]

1. Problema de Update [RESOLVIDO]

jose neto
p.jneto

(usa Outra)

Enviado em 11/07/2012 - 03:06h

Caros colegas,

Ao intalar o Java (tuto do VOL), ocorreu um erro em meus updates.
Segue dados:

jneto@Computer-PC:~$ sudo apt-get update
Ign http://dl.google.com stable InRelease
Obter:1 http://dl.google.com stable Release.gpg [198 B]
Ign http://extras.ubuntu.com precise InRelease
Ign http://security.ubuntu.com precise-security InRelease
Obter:2 http://dl.google.com stable Release [1.347 B]
Atingido http://extras.ubuntu.com precise Release.gpg
Atingido http://security.ubuntu.com precise-security Release.gpg
Obter:3 http://dl.google.com stable/main amd64 Packages [1.248 B]
Atingido http://extras.ubuntu.com precise Release
Ign http://br.archive.ubuntu.com precise InRelease
Ign http://br.archive.ubuntu.com precise-updates InRelease
Ign http://br.archive.ubuntu.com precise-backports InRelease
Obter:4 http://dl.google.com stable/main i386 Packages [1.241 B]
Ign http://dl.google.com stable/main TranslationIndex
Atingido http://security.ubuntu.com precise-security Release
Atingido http://br.archive.ubuntu.com precise Release.gpg
Atingido http://br.archive.ubuntu.com precise-updates Release.gpg
Atingido http://extras.ubuntu.com precise/main Sources
Atingido http://br.archive.ubuntu.com precise-backports Release.gpg
Atingido http://security.ubuntu.com precise-security/main Sources
Atingido http://br.archive.ubuntu.com precise Release
Atingido http://extras.ubuntu.com precise/main amd64 Packages
Atingido http://extras.ubuntu.com precise/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Ign https://private-ppa.launchpad.net precise InRelease
Atingido http://security.ubuntu.com precise-security/restricted Sources
Atingido http://security.ubuntu.com precise-security/universe Sources
Atingido http://security.ubuntu.com precise-security/multiverse Sources
Atingido http://security.ubuntu.com precise-security/main amd64 Packages
Atingido http://security.ubuntu.com precise-security/restricted amd64 Packages
Atingido http://br.archive.ubuntu.com precise-updates Release
Atingido http://security.ubuntu.com precise-security/universe amd64 Packages
Atingido http://security.ubuntu.com precise-security/multiverse amd64 Packages
Atingido http://security.ubuntu.com precise-security/main i386 Packages
Atingido http://security.ubuntu.com precise-security/restricted i386 Packages
Atingido http://security.ubuntu.com precise-security/universe i386 Packages
Atingido http://security.ubuntu.com precise-security/multiverse i386 Packages
Atingido http://security.ubuntu.com precise-security/main TranslationIndex
Atingido http://security.ubuntu.com precise-security/multiverse TranslationIndex
Atingido http://security.ubuntu.com precise-security/restricted TranslationIndex
Atingido http://security.ubuntu.com precise-security/universe TranslationIndex
Atingido http://br.archive.ubuntu.com precise-backports Release
Atingido http://br.archive.ubuntu.com precise/main Sources
Atingido http://br.archive.ubuntu.com precise/restricted Sources
Atingido http://br.archive.ubuntu.com precise/universe Sources
Atingido http://br.archive.ubuntu.com precise/multiverse Sources
Atingido http://br.archive.ubuntu.com precise/main amd64 Packages
Atingido http://br.archive.ubuntu.com precise/restricted amd64 Packages
Atingido http://br.archive.ubuntu.com precise/universe amd64 Packages
Atingido http://br.archive.ubuntu.com precise/multiverse amd64 Packages
Atingido http://br.archive.ubuntu.com precise/main i386 Packages
Atingido http://br.archive.ubuntu.com precise/restricted i386 Packages
Atingido http://br.archive.ubuntu.com precise/universe i386 Packages
Atingido http://br.archive.ubuntu.com precise/multiverse i386 Packages
Atingido http://br.archive.ubuntu.com precise/main TranslationIndex
Atingido http://br.archive.ubuntu.com precise/multiverse TranslationIndex
Atingido http://br.archive.ubuntu.com precise/restricted TranslationIndex
Atingido http://br.archive.ubuntu.com precise/universe TranslationIndex
Atingido http://security.ubuntu.com precise-security/main Translation-en
Atingido http://security.ubuntu.com precise-security/multiverse Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/main Sources
Atingido http://br.archive.ubuntu.com precise-updates/restricted Sources
Atingido http://br.archive.ubuntu.com precise-updates/universe Sources
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Sources
Atingido http://br.archive.ubuntu.com precise-updates/main amd64 Packages
Atingido http://br.archive.ubuntu.com precise-updates/restricted amd64 Packages
Atingido http://br.archive.ubuntu.com precise-updates/universe amd64 Packages
Atingido http://br.archive.ubuntu.com precise-updates/multiverse amd64 Packages
Atingido http://br.archive.ubuntu.com precise-updates/main i386 Packages
Atingido http://br.archive.ubuntu.com precise-updates/restricted i386 Packages
Atingido http://br.archive.ubuntu.com precise-updates/universe i386 Packages
Atingido http://br.archive.ubuntu.com precise-updates/multiverse i386 Packages
Atingido http://br.archive.ubuntu.com precise-updates/main TranslationIndex
Atingido http://br.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Atingido http://br.archive.ubuntu.com precise-updates/restricted TranslationIndex
Atingido http://security.ubuntu.com precise-security/restricted Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/universe TranslationIndex
Atingido http://br.archive.ubuntu.com precise-backports/main Sources
Atingido http://br.archive.ubuntu.com precise-backports/restricted Sources
Atingido http://br.archive.ubuntu.com precise-backports/universe Sources
Atingido http://br.archive.ubuntu.com precise-backports/multiverse Sources
Atingido http://br.archive.ubuntu.com precise-backports/main amd64 Packages
Atingido http://br.archive.ubuntu.com precise-backports/restricted amd64 Packages
Atingido http://br.archive.ubuntu.com precise-backports/universe amd64 Packages
Atingido http://br.archive.ubuntu.com precise-backports/multiverse amd64 Packages
Atingido http://br.archive.ubuntu.com precise-backports/main i386 Packages
Atingido http://br.archive.ubuntu.com precise-backports/restricted i386 Packages
Atingido http://br.archive.ubuntu.com precise-backports/universe i386 Packages
Atingido http://br.archive.ubuntu.com precise-backports/multiverse i386 Packages
Atingido http://br.archive.ubuntu.com precise-backports/main TranslationIndex
Atingido http://br.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Atingido http://br.archive.ubuntu.com precise-backports/restricted TranslationIndex
Atingido http://br.archive.ubuntu.com precise-backports/universe TranslationIndex
Atingido http://br.archive.ubuntu.com precise/main Translation-pt_BR
Atingido http://security.ubuntu.com precise-security/universe Translation-en
Atingido http://br.archive.ubuntu.com precise/main Translation-pt
Atingido http://br.archive.ubuntu.com precise/main Translation-en
Atingido http://br.archive.ubuntu.com precise/multiverse Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise/multiverse Translation-pt
Atingido http://br.archive.ubuntu.com precise/multiverse Translation-en
Atingido https://private-ppa.launchpad.net precise Release.gpg
Atingido http://br.archive.ubuntu.com precise/restricted Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise/restricted Translation-pt
Atingido http://br.archive.ubuntu.com precise/restricted Translation-en
Atingido http://br.archive.ubuntu.com precise/universe Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise/universe Translation-pt
Atingido http://br.archive.ubuntu.com precise/universe Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/main Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/restricted Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/universe Translation-en
Atingido http://br.archive.ubuntu.com precise-backports/main Translation-en
Atingido http://br.archive.ubuntu.com precise-backports/multiverse Translation-en
Atingido http://br.archive.ubuntu.com precise-backports/restricted Translation-en
Atingido http://br.archive.ubuntu.com precise-backports/universe Translation-en
Atingido https://private-ppa.launchpad.net precise Release
Atingido https://private-ppa.launchpad.net precise/main amd64 Packages
Ign http://dl.google.com stable/main Translation-pt_BR
Ign http://dl.google.com stable/main Translation-pt
Atingido https://private-ppa.launchpad.net precise/main i386 Packages
Ign http://dl.google.com stable/main Translation-en
Ign https://private-ppa.launchpad.net precise/main TranslationIndex
Ign http://extras.ubuntu.com precise/main Translation-pt_BR
Ign http://extras.ubuntu.com precise/main Translation-pt
Ign http://extras.ubuntu.com precise/main Translation-en
Ign https://private-ppa.launchpad.net precise/main Translation-pt_BR
Ign https://private-ppa.launchpad.net precise/main Translation-pt
Ign https://private-ppa.launchpad.net precise/main Translation-en
Baixados 4.034 B em 26s (155 B/s)
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 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: 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
jneto@Computer-PC:~$




Como corrigir?

Abraço


  


2. MELHOR RESPOSTA

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 11/07/2012 - 03:49h

Quase certeza de que o PPA do Google está duplicado.

Confira assim:

cat /etc/apt/sources.list.d/google-chrome.list

e compare com:

cat /etc/apt/sources.list.d/google.list

Se forem iguais no conteúdo, apague um e tudo se resolve.



3. Re: Problema de Update [RESOLVIDO]

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 11/07/2012 - 03:19h

Poste aqui o conteúdo de /etc/apt/sources.list.d

E o texto do arquivo /etc/apt/sources.list

Faça assim:

ls /etc/apt/sources.list.d

(copie e poste a saída ou resultado)

cat /etc/apt/sources.list

(idem)


4. informações

jose neto
p.jneto

(usa Outra)

Enviado em 11/07/2012 - 03:30h

Segue informações:

1. comando:

jneto@Computer-PC:~$ ls /etc/apt/sources.list.d
google-chrome.list
google.list
private-ppa.launchpad.net_commercial-ppa-uploaders_tiberiumalliances_ubuntu.list





2. comando:

jneto@Computer-PC:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/main/binary-i386/

# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ precise 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/ precise main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-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/ precise universe
deb-src http://br.archive.ubuntu.com/ubuntu/ precise universe
deb http://br.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-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/ precise multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://br.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-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/ precise-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-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 precise partner
# deb-src http://archive.canonical.com/ubuntu precise 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 precise main
deb-src http://extras.ubuntu.com/ubuntu precise main



5. resposta

jose neto
p.jneto

(usa Outra)

Enviado em 11/07/2012 - 10:45h

Segue informações dos comandos.

1. Comando:
jneto@Computer-PC:~$ cat /etc/apt/sources.list.d/google-chrome.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb http://dl.google.com/linux/chrome/deb/ stable main





2. Comando:
jneto@Computer-PC:~$ cat /etc/apt/sources.list.d/google.list
deb http://dl.google.com/linux/chrome/deb/ stable main
deb http://dl.google.com/linux/chrome/deb/ stable main


Dúvida: Qual eu apago?
Como faço isso pelo terminal?


Obrigado


6. Re: Problema de Update [RESOLVIDO]

Marcelo Rodrigo de Castro
marcelo.castro.l

(usa Ubuntu)

Enviado em 11/07/2012 - 10:49h

Basta ler o arquivo pelo "vi", "nano" ou um editor de sua preferencia e comentar as linhas que estão fora do padrão.
Após de um:
#apt-get update

Seja feliz...


7. Re: Problema de Update [RESOLVIDO]

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 12/07/2012 - 17:45h

p.jneto escreveu:

Segue informações dos comandos.

1. Comando:
jneto@Computer-PC:~$ cat /etc/apt/sources.list.d/google-chrome.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb http://dl.google.com/linux/chrome/deb/ stable main





2. Comando:
jneto@Computer-PC:~$ cat /etc/apt/sources.list.d/google.list
deb http://dl.google.com/linux/chrome/deb/ stable main
deb http://dl.google.com/linux/chrome/deb/ stable main


Dúvida: Qual eu apago?
Como faço isso pelo terminal?


Obrigado


Apague o segundo, pois o primeiro é o original, criado na instalação do google-chrome.

Apagando pelo terminal:

rm -rf /etc/apt/sources.list.d/google.list

Escolha a melhor resposta, se couber.








Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts