Autor Tópico: duplicidade de repositórios (Resolvido)  (Lida 2485 vezes)

Offline Carlos Ivan

  • Usuário Ubuntu
  • *
  • Mensagens: 173
  • Jesus te ama!
    • Ver perfil
duplicidade de repositórios (Resolvido)
« Online: 19 de Junho de 2009, 18:31 »
Galera, toda vez que vou instalar um pacote ou fazer apt-get update, surge a seguinte informação de duplicidade (em vermelho):

Obter:37 http://archive.ubuntu.com jaunty-security/multiverse Packages [14B]  
Obter:38 http://archive.ubuntu.com jaunty-security/multiverse Sources [14B]    
Baixados 10,5MB em 12min 3s (14,5kB/s)                                        
Lendo listas de pacotes... Pronto

W: Duplicate sources.list entry http://packages.medibuntu.org jaunty/free Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_jaunty_free_binary-i386_Packages)

W: Duplicate sources.list entry http://packages.medibuntu.org jaunty/non-free Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_jaunty_non-free_binary-i386_Packages)

W: Você terá que executar apt-get update para corrigir estes problemas


consultor@notebook:~$

Como fazer para resolver esse problema?

Carlos
« Última modificação: 19 de Junho de 2009, 22:36 por Carlos Ivan »
No mundo existem 3 tipos de pessoas: os idiotas, os inteligentes e os sábios.
Os idiotas não aprendem nunca, os inteligentes aprendem com a própria experiência e os sábios aprendem com a experiência dos outros.

Offline ubu4ever

  • Usuário Ubuntu
  • *
  • Mensagens: 695
    • Ver perfil
Re: duplicidade de repositórios
« Resposta #1 Online: 19 de Junho de 2009, 19:19 »
Galera, toda vez que vou instalar um pacote ou fazer apt-get update, surge a seguinte informação de duplicidade (em vermelho):

Obter:37 http://archive.ubuntu.com jaunty-security/multiverse Packages [14B]  
Obter:38 http://archive.ubuntu.com jaunty-security/multiverse Sources [14B]    
Baixados 10,5MB em 12min 3s (14,5kB/s)                                        
Lendo listas de pacotes... Pronto

W: Duplicate sources.list entry http://packages.medibuntu.org jaunty/free Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_jaunty_free_binary-i386_Packages)

W: Duplicate sources.list entry http://packages.medibuntu.org jaunty/non-free Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_jaunty_non-free_binary-i386_Packages)

W: Você terá que executar apt-get update para corrigir estes problemas


consultor@notebook:~$

Como fazer para resolver esse problema?

Carlos

Você deve ter linhas duplicadas no seu arquivo /etc/apt/sources.list. Abra ele e comente (colocando um # na frente da linha) nas linhas que estiverem duplicadas. Abra o arquivo como root:

Código: [Selecionar]
sudo gedit /etc/apt/sources.list

Offline Carlos Ivan

  • Usuário Ubuntu
  • *
  • Mensagens: 173
  • Jesus te ama!
    • Ver perfil
Re: duplicidade de repositórios
« Resposta #2 Online: 19 de Junho de 2009, 19:57 »
Desculpe a minha ignorância mas meus olhos não viram duplicidade:

# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main restricted



# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

# newer versions of the distribution.



deb http://archive.ubuntu.com/ubuntu/ jaunty main restricted

deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted



## Major bug fix updates produced after the final release of the

## distribution.

deb http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted

deb-src http://archive.ubuntu.com/ubuntu/ jaunty-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://archive.ubuntu.com/ubuntu/ jaunty universe

deb-src http://archive.ubuntu.com/ubuntu/ jaunty universe

deb http://archive.ubuntu.com/ubuntu/ jaunty-updates universe

deb-src http://archive.ubuntu.com/ubuntu/ jaunty-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://archive.ubuntu.com/ubuntu/ jaunty multiverse

deb-src http://archive.ubuntu.com/ubuntu/ jaunty multiverse

deb http://archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

deb-src http://archive.ubuntu.com/ubuntu/ jaunty-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/ jaunty-backports main restricted universe multiverse

# deb-src http://br.archive.ubuntu.com/ubuntu/ jaunty-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 jaunty partner

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



deb http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted

deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted

deb http://archive.ubuntu.com/ubuntu/ jaunty-security universe

deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security universe

deb http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse

deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse
No mundo existem 3 tipos de pessoas: os idiotas, os inteligentes e os sábios.
Os idiotas não aprendem nunca, os inteligentes aprendem com a própria experiência e os sábios aprendem com a experiência dos outros.

Offline ubu4ever

  • Usuário Ubuntu
  • *
  • Mensagens: 695
    • Ver perfil
Re: duplicidade de repositórios
« Resposta #3 Online: 19 de Junho de 2009, 20:49 »
Poste o conteúdo do arquivo

Citar
sudo gedit /etc/apt/sources.list.d/medibuntu.list

Offline Carlos Ivan

  • Usuário Ubuntu
  • *
  • Mensagens: 173
  • Jesus te ama!
    • Ver perfil
Re: duplicidade de repositórios
« Resposta #4 Online: 19 de Junho de 2009, 21:33 »
## Please report any bug on https://bugs.launchpad.net/medibuntu/

deb http://packages.medibuntu.org/ jaunty free non-free #Medibuntu - Ubuntu 9.04 "jaunty jackalope"

# deb-src http://packages.medibuntu.org/ jaunty free non-free #Medibuntu (source) - Ubuntu 9.04 "jaunty jackalope"

Carlos
No mundo existem 3 tipos de pessoas: os idiotas, os inteligentes e os sábios.
Os idiotas não aprendem nunca, os inteligentes aprendem com a própria experiência e os sábios aprendem com a experiência dos outros.

Offline ubu4ever

  • Usuário Ubuntu
  • *
  • Mensagens: 695
    • Ver perfil
Re: duplicidade de repositórios
« Resposta #5 Online: 19 de Junho de 2009, 21:41 »
Poste todo o conteúdo da saída do comando
Código: [Selecionar]
sudo apt-get update

Offline Carlos Ivan

  • Usuário Ubuntu
  • *
  • Mensagens: 173
  • Jesus te ama!
    • Ver perfil
Re: duplicidade de repositórios
« Resposta #6 Online: 19 de Junho de 2009, 22:01 »
consultor@notebook:~$ sudo apt-get update

[sudo] password for consultor:

Atingido http://archive.ubuntu.com jaunty Release.gpg                         

Obter:1 http://archive.ubuntu.com jaunty/main Translation-pt_BR [256kB]       

Atingido http://archive.canonical.com jaunty Release.gpg                       

Ign http://archive.canonical.com jaunty/partner Translation-pt_BR             

Atingido http://packages.medibuntu.org jaunty Release.gpg                     

Ign http://packages.medibuntu.org jaunty/free Translation-pt_BR               

Atingido http://archive.canonical.com jaunty Release                           

Ign http://packages.medibuntu.org jaunty/non-free Translation-pt_BR           

Atingido http://packages.medibuntu.org jaunty Release                         

Ign http://archive.canonical.com jaunty/partner Packages                       

Atingido http://packages.medibuntu.org jaunty/free Packages                   

Atingido http://archive.canonical.com jaunty/partner Packages                 

Atingido http://packages.medibuntu.org jaunty/non-free Packages               

Obter:2 http://archive.ubuntu.com jaunty/restricted Translation-pt_BR [1618B] 

Obter:3 http://archive.ubuntu.com jaunty/universe Translation-pt_BR [545kB]   

Obter:4 http://archive.ubuntu.com jaunty/multiverse Translation-pt_BR [14,1kB]

Obter:5 http://archive.ubuntu.com jaunty-updates Release.gpg [189B]           

Ign http://archive.ubuntu.com jaunty-updates/main Translation-pt_BR           

Ign http://archive.ubuntu.com jaunty-updates/restricted Translation-pt_BR     

Ign http://archive.ubuntu.com jaunty-updates/universe Translation-pt_BR       

Ign http://archive.ubuntu.com jaunty-updates/multiverse Translation-pt_BR     

Atingido http://archive.ubuntu.com jaunty-security Release.gpg                 

Ign http://archive.ubuntu.com jaunty-security/main Translation-pt_BR           

Ign http://archive.ubuntu.com jaunty-security/restricted Translation-pt_BR     

Ign http://archive.ubuntu.com jaunty-security/universe Translation-pt_BR       

Ign http://archive.ubuntu.com jaunty-security/multiverse Translation-pt_BR     

Atingido http://archive.ubuntu.com jaunty Release                             

Obter:6 http://archive.ubuntu.com jaunty-updates Release [49,6kB]             

Atingido http://archive.ubuntu.com jaunty-security Release                     

Atingido http://archive.ubuntu.com jaunty/main Packages                       

Atingido http://archive.ubuntu.com jaunty/restricted Packages

Atingido http://archive.ubuntu.com jaunty/main Sources

Atingido http://archive.ubuntu.com jaunty/restricted Sources

Atingido http://archive.ubuntu.com jaunty/universe Packages

Atingido http://archive.ubuntu.com jaunty/universe Sources

Atingido http://archive.ubuntu.com jaunty/multiverse Packages

Atingido http://archive.ubuntu.com jaunty/multiverse Sources

Obter:7 http://archive.ubuntu.com jaunty-updates/main Packages [83,2kB]

Obter:8 http://archive.ubuntu.com jaunty-updates/restricted Packages [2092B]   

Obter:9 http://archive.ubuntu.com jaunty-updates/main Sources [27,7kB]         

Obter:10 http://archive.ubuntu.com jaunty-updates/restricted Sources [611B]   

Obter:11 http://archive.ubuntu.com jaunty-updates/universe Packages [23,9kB]   

Obter:12 http://archive.ubuntu.com jaunty-updates/universe Sources [7154B]     

Obter:13 http://archive.ubuntu.com jaunty-updates/multiverse Packages [675B]   

Obter:14 http://archive.ubuntu.com jaunty-updates/multiverse Sources [639B]   

Atingido http://archive.ubuntu.com jaunty-security/main Packages               

Atingido http://archive.ubuntu.com jaunty-security/restricted Packages         

Atingido http://archive.ubuntu.com jaunty-security/main Sources               

Atingido http://archive.ubuntu.com jaunty-security/restricted Sources         

Atingido http://archive.ubuntu.com jaunty-security/universe Packages           

Atingido http://archive.ubuntu.com jaunty-security/universe Sources

Atingido http://archive.ubuntu.com jaunty-security/multiverse Packages

Atingido http://archive.ubuntu.com jaunty-security/multiverse Sources

Baixados 1013kB em 1min 57s (8624B/s)

Lendo listas de pacotes... Pronto

W: Duplicate sources.list entry http://packages.medibuntu.org jaunty/free Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_jaunty_free_binary-i386_Packages)

W: Duplicate sources.list entry http://packages.medibuntu.org jaunty/non-free Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_jaunty_non-free_binary-i386_Packages)

W: Você terá que executar apt-get update para corrigir estes problemas

consultor@notebook:~$
No mundo existem 3 tipos de pessoas: os idiotas, os inteligentes e os sábios.
Os idiotas não aprendem nunca, os inteligentes aprendem com a própria experiência e os sábios aprendem com a experiência dos outros.

Offline ubu4ever

  • Usuário Ubuntu
  • *
  • Mensagens: 695
    • Ver perfil
Re: duplicidade de repositórios
« Resposta #7 Online: 19 de Junho de 2009, 22:08 »
Bom também não estou conseguindo identificar.

Vá em Sistema>>Administração>>Canais de Software

Na guia Programas de Terceiros verifique se existe alguma entrada duplicada. Poste um PrintScreen da janela.

Offline Carlos Ivan

  • Usuário Ubuntu
  • *
  • Mensagens: 173
  • Jesus te ama!
    • Ver perfil
Re: duplicidade de repositórios
« Resposta #8 Online: 19 de Junho de 2009, 22:18 »
X http://archive.canonical.com/ubuntu jaunty partner

   http://archive.canonical.com/ubuntu jaunty partner (código fonte)

X medibuntu - ubuntu 9.04 "jaunty jackalope" free non-free

   medibuntu (source) - ubuntu 9.04 "jaunty Jackalope" free non-free (código fonte)

X  http://packages.medibuntu.org/jaunty free non-free
No mundo existem 3 tipos de pessoas: os idiotas, os inteligentes e os sábios.
Os idiotas não aprendem nunca, os inteligentes aprendem com a própria experiência e os sábios aprendem com a experiência dos outros.

Offline ubu4ever

  • Usuário Ubuntu
  • *
  • Mensagens: 695
    • Ver perfil
Re: duplicidade de repositórios
« Resposta #9 Online: 19 de Junho de 2009, 22:23 »
X http://archive.canonical.com/ubuntu jaunty partner

   http://archive.canonical.com/ubuntu jaunty partner (código fonte)

X medibuntu - ubuntu 9.04 "jaunty jackalope" free non-free

   medibuntu (source) - ubuntu 9.04 "jaunty Jackalope" free non-free (código fonte)

X  http://packages.medibuntu.org/jaunty free non-free


Desmarque a última e dê um apt-get update novamente
« Última modificação: 19 de Junho de 2009, 22:25 por gcclt »

Offline Carlos Ivan

  • Usuário Ubuntu
  • *
  • Mensagens: 173
  • Jesus te ama!
    • Ver perfil
Re: duplicidade de repositórios
« Resposta #10 Online: 19 de Junho de 2009, 22:33 »
Beleza, agora não apareceu a mensagem de duplicidade.

Posso excluir do canal de software ou não?

Valeu mesmo.
No mundo existem 3 tipos de pessoas: os idiotas, os inteligentes e os sábios.
Os idiotas não aprendem nunca, os inteligentes aprendem com a própria experiência e os sábios aprendem com a experiência dos outros.

Offline ubu4ever

  • Usuário Ubuntu
  • *
  • Mensagens: 695
    • Ver perfil
Re: duplicidade de repositórios
« Resposta #11 Online: 19 de Junho de 2009, 22:34 »
Beleza, agora não apareceu a mensagem de duplicidade.

Posso excluir do canal de software ou não?

Valeu mesmo.

Pode!!!