Fórum Ubuntu Linux - PT

Suporte Técnico => Distribuições Derivadas do Ubuntu => Tópico iniciado por: julianoazevedo em 28 de Julho de 2010, 00:22

Título: [resolvido] W: Duplicate sources.list entry
Enviado por: julianoazevedo em 28 de Julho de 2010, 00:22
Quando terminei de instalar alguns programas pelo Synaptic através do Kubuntu apareceu as seguintes mensagens:
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_main_binary-amd64_Packages)

W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid/main Translation-pt_BR (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_main_i18n_Translation-pt%5fBR)

W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_restricted_binary-amd64_Packages)

W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid/restricted Translation-pt_BR (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_restricted_i18n_Translation-pt%5fBR)

Como resolver?
Título: Re: W: Duplicate sources.list entry
Enviado por: wendelmineiro em 28 de Julho de 2010, 00:34
não tenho certeza, mas vc verificou c tem algum repositório q está repetido no source.list, para verificar basta verificar no terminal digitando: sudo gedit /etc/apt/source.list ...depois tenta dar um update, digitando sudo apt-get update (digitando no terminal) talvez ele lhe dê alguma informação...t+
Título: Re: W: Duplicate sources.list entry
Enviado por: Tota em 28 de Julho de 2010, 07:14
Até a versão 9.10 existia um sources.list
Na 10.04 não.

Então seria bom dizer ao fórum qual sua versão do Ubuntu.

[]'s
Título: Re: W: Duplicate sources.list entry
Enviado por: clcampos em 28 de Julho de 2010, 08:12
Até a versão 9.10 existia um sources.list
Na 10.04 não.
...

Como é que é Vô Tota? O seu 10.04 ai não tem sources.list? O meu aqui tem, igualzinho a antes... caramba, to ficando muito afastado do suporte.
Título: Re: W: Duplicate sources.list entry
Enviado por: julianoazevedo em 28 de Julho de 2010, 20:33
Instalei o Kubuntu 10.04

sudo gedit /etc/apt/sources.list

# deb cdrom:[Kubuntu 10.04 LTS _Lucid Lynx_ - Release amd64 (20100427)]/ lucid 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/ lucid main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ lucid main restricted

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

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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/ lucid-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe 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 lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://packages.medibuntu.org/ lucid free non-free
deb http://archive.ubuntu.com/ubuntu/ lucid main restricted
deb http://archive.ubuntu.com/ubuntu/ lucid main restricted
Título: Re: W: Duplicate sources.list entry
Enviado por: platao em 28 de Julho de 2010, 22:26
Ola retire o # da frente desses repositorios;

# deb http://br.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

ficando assim;

deb http://br.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

retire o # da frente desses repositorios

# deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

ficando assim;

deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner

e apague os 2 ultimos;

deb http://archive.ubuntu.com/ubuntu/ lucid main restricted
deb http://archive.ubuntu.com/ubuntu/ lucid main restricted
Título: Re: W: Duplicate sources.list entry
Enviado por: sistematico em 28 de Julho de 2010, 22:37
Ou vá em Administração > Canais de Software > Baixar de:
E troque(por qualquer um) depois destroque novamente.

Depois vá em Outro software e desmarque tudo, quando ele pedir pra recarregar os remositórios diga sim.

Pronto.
Título: Re: W: Duplicate sources.list entry
Enviado por: Tota em 31 de Julho de 2010, 10:27
Como é que é Vô Tota? O seu 10.04 ai não tem sources.list? O meu aqui tem, igualzinho a antes... caramba, to ficando muito afastado do suporte.

Se fez atualização existe, mas numa instalação limpa ele vem vazio. Pelo menos nos meus testes uai.

O sources foi substituido por pastas com os repôs no diretório apt.

Mas posso estar errado.
Título: Re: W: Duplicate sources.list entry
Enviado por: clcampos em 31 de Julho de 2010, 19:27
Minha instalação foi limpa. existe sim um souces.list no 10.04.
Título: Re: W: Duplicate sources.list entry
Enviado por: rjbgbo em 31 de Julho de 2010, 19:30
Minha instalação foi limpa. existe sim um souces.list no 10.04.

idem
Título: Re: [resolvido] W: Duplicate sources.list entry
Enviado por: julianoazevedo em 09 de Agosto de 2010, 14:20
Valeu a todos, segui o que meu amigo platao sugeriu e deu tudo certo.
Título: Re: [resolvido] W: Duplicate sources.list entry
Enviado por: barezobr em 25 de Agosto de 2013, 08:54
Deu esse problema comigo, em um repositório do Google Chrome. fui tentar fazer o que o platao falou, e já estava assim. então só pra efeito de curiosidade, fiz exatamente o contrário do que o platao falou, e deu certo. mas acho que adicionando o "#" ao repositório do Google na minha sources.list, eu na verdade fiz com que o apt-get update ignorasse esse repositório, estou certo? como resolvo então esse erro da maneira que deva ser a correta/