Autor Tópico: Leitura da SourceList... algumas dúvidas... [Resolvido]  (Lida 2092 vezes)

Offline JoaoDamasceno.ufc

  • Usuário Ubuntu
  • *
  • Mensagens: 1.241
    • Ver perfil
Leitura da SourceList... algumas dúvidas... [Resolvido]
« Online: 08 de Julho de 2012, 14:08 »
Bem senhores, logo abaixo coloquei o que é listado quando digito "sudo aptitude update" e sudo aptitude safe-upgrade". O que ocorre é que fico pensando: Nas linhas relacionadas com "Translation", está correto? ou seja, é isso tudo mesmo? E nas demais linhas? tudo ok? O que reparo em alguns outros sistemas é que parecem ser sempre tão reduzidas essas informações e no meu caso, sempre tem "coisa demais".

Bem, reparem que a mensagem com o que é listado no Terminal do meu sistema não pode ser enviada porque passa dos 2000 mil caracteres que é o tamanho máximo que é permitido no Fórum, ok. Porém, é sobre justamente isso que eu quero lhes perguntar... "a lista que aparece no processo de atualização do meu Ubuntu (12.04) é gigantesca, isso é normal? Só uns arquivos "Translation" aparecem umas 30 vezes...

Lhes enviarei a minha SourceList (abaixo).

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

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

deb http://archive.ubuntu.com/ubuntu precise-security main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted
deb http://archive.ubuntu.com/ubuntu precise-security universe
deb-src http://archive.ubuntu.com/ubuntu precise-security universe
deb http://archive.ubuntu.com/ubuntu precise-security multiverse
deb-src http://archive.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
« Última modificação: 10 de Julho de 2012, 18:21 por JoaoDamasceno.ufc »

Offline JoaoDamasceno.ufc

  • Usuário Ubuntu
  • *
  • Mensagens: 1.241
    • Ver perfil
Re: Leitura da SourceList... algumas dúvidas...
« Resposta #1 Online: 08 de Julho de 2012, 14:13 »
Observação:
Acabei de verificar que aparece isso no final do processo e que mesmo que eu faça o que ele sugere (W: Você terá que executar apt-get update para corrigir estes problemas), não modifica nada. Ou seja, será que o "tamanho" que eu me refiro é porque tenho duas "Source-List"?


Lendo listas de pacotes... Pronto
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages)
W: Você terá que executar apt-get update para corrigir estes problemas
joao@joao:~$

Offline Rockwave

  • Usuário Ubuntu
  • *
  • Mensagens: 223
    • Ver perfil
Re: Leitura da SourceList... algumas dúvidas...
« Resposta #2 Online: 09 de Julho de 2012, 00:29 »
Copia a sua source list aqui http://pastebin.com/ e manda o link para a gente, por favor.

Mas já te falo que salvo raras exceções vc não precisa de uma source list tão grande.

Offline asghan

  • Usuário Ubuntu
  • *
  • Mensagens: 1.221
    • Ver perfil
Re: Leitura da SourceList... algumas dúvidas...
« Resposta #3 Online: 09 de Julho de 2012, 18:49 »
Uma curiosidade minha tbm é essa, outras distros tem no máximo meia dúzia de reposítórios e no Ubuntu quando roda o comando apt-get update aparece um monte de repositórios, não entendo o porque disso.
   Ubuntu 12.04 - Unity 64bits

Offline JoaoDamasceno.ufc

  • Usuário Ubuntu
  • *
  • Mensagens: 1.241
    • Ver perfil
Re: Leitura da SourceList... algumas dúvidas...
« Resposta #4 Online: 09 de Julho de 2012, 19:32 »
Bem, não sei se fiz o processo corretamente, mais aí vai o link pra que se possa ver o que ocorre quando digito "sudo aptitude update" e sudo aptitude safe-upgrade".

http://pastebin.com/4gWgGBCy

Bem, é coisa demais, 240 linhas... !!! Ou seja, acho plenamente que isso não está correto. Tudo bem, o sistema funciona normalmente, mais sei lá... nem por isso que dar bobeira e haver instalado algo que não seja de fato, usual, seguro... !

Offline garfo

  • Usuário Ubuntu
  • *
  • Mensagens: 1.023
  • Keep easy and simple.
    • Ver perfil
    • linux
Re: Leitura da SourceList... algumas dúvidas...
« Resposta #5 Online: 09 de Julho de 2012, 19:52 »
O melhor a fazer é não mexer nesses arquivos fonte e "repositórios", deixar tudo no padrão. Justo para evitar problemas e erros desconhecidos.  :)
Garfo -  linux
"Pra quê complicar? Facilidade e simplicidade é tudo!"

Offline JoaoDamasceno.ufc

  • Usuário Ubuntu
  • *
  • Mensagens: 1.241
    • Ver perfil
Re: Leitura da SourceList... algumas dúvidas...
« Resposta #6 Online: 09 de Julho de 2012, 20:12 »
É isso mesmo "garfo"... o melhor é não mexer mesmo não. Mais veja só, o que eu fiz que resultou numa lista gigantesca foi instalar PPA's do tipo: emesene, pidgin, Ubuntu Tweak, Shutter (programa de captura de tela), cardapio e o repositório do GetDeb, ou seja, creio que somente programas "comuns".
Aliás, aproveito até pra lhes fazer uma pergunta: Posso remover da lista do Synaptic os programas que aparecem com o final main (Código Fonte) ?

Offline Rockwave

  • Usuário Ubuntu
  • *
  • Mensagens: 223
    • Ver perfil
Re: Leitura da SourceList... algumas dúvidas...
« Resposta #7 Online: 09 de Julho de 2012, 21:13 »
Bem, não sei se fiz o processo corretamente, mais aí vai o link pra que se possa ver o que ocorre quando digito "sudo aptitude update" e sudo aptitude safe-upgrade".

http://pastebin.com/4gWgGBCy

Bem, é coisa demais, 240 linhas... !!! Ou seja, acho plenamente que isso não está correto. Tudo bem, o sistema funciona normalmente, mais sei lá... nem por isso que dar bobeira e haver instalado algo que não seja de fato, usual, seguro... !

João, execute o seguinte comando e passe o resultado para a gente:
Código: [Selecionar]
cat /etc/apt/sources.listesse é o arquivo onde estão os repositorios utilizados.

Eu notei que você tem alguns repositorios repetidos, por exemplo:
Ign http://ppa.launchpad.net precise/main Translation-pt_BR                                                                             
Ign http://ppa.launchpad.net precise/main Translation-pt
Ign http://ppa.launchpad.net precise/main Translation-pt_PT                                                                             
Ign http://ppa.launchpad.net precise/main Translation-en                                                                               
Ign http://ppa.launchpad.net precise/main Translation-pt_BR                                                                             
Ign http://ppa.launchpad.net precise/main Translation-pt
Ign http://ppa.launchpad.net precise/main Translation-pt_PT                                                                             
Ign http://ppa.launchpad.net precise/main Translation-en

Você pode eliminar as repetições sem problema algum, basta editar o arquivo sources.list, fazendo:
Código: [Selecionar]
sudo gedit /etc/apt/sources.listesse comando irá abrir um editor de texto onde você pode eliminar as repetições

Offline JoaoDamasceno.ufc

  • Usuário Ubuntu
  • *
  • Mensagens: 1.241
    • Ver perfil
Re: Leitura da SourceList... algumas dúvidas...
« Resposta #8 Online: 09 de Julho de 2012, 22:29 »
Ei "Rockwave" aí está o resultado do cat /etc/apt/sources.list

joao@joao:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)]/ precise 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 precise main restricted
deb-src http://archive.ubuntu.com/ubuntu precise main restricted

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

deb http://archive.ubuntu.com/ubuntu precise-security main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted
deb http://archive.ubuntu.com/ubuntu precise-security universe
deb-src http://archive.ubuntu.com/ubuntu precise-security universe
deb http://archive.ubuntu.com/ubuntu precise-security multiverse
deb-src http://archive.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
joao@joao:~$

Onde eu vejo que tem algo repetido aí?????
« Última modificação: 09 de Julho de 2012, 22:41 por JoaoDamasceno.ufc »

Offline Rockwave

  • Usuário Ubuntu
  • *
  • Mensagens: 223
    • Ver perfil
Re: Leitura da SourceList... algumas dúvidas...
« Resposta #9 Online: 09 de Julho de 2012, 23:43 »
Ta tudo certo na sua sources list, nada repetido, não se preocupe com o que aparece na hora q vc roda um apt-get update, está td certo  ;D

Offline nomade

  • O negócio não tem alma
  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 1.195
  • O negócio não tem alma
    • Ver perfil
Re: Leitura da SourceList... algumas dúvidas...
« Resposta #10 Online: 10 de Julho de 2012, 01:37 »
Pessoal, é muito simples resolver problemas com sources lists, é só gerar uma limpa no sources lists generator e substituir
Citar
http://repogen.simplylinux.ch/
Funciona 100%, na boa... pode fazer a bizarrice que for pra testar, depois é só gerar uma sorces lists novinha lá, e ainda dá pra adicionar algumas fontes extras.
Ubuntu Studio 22.04 LTS

Offline JoaoDamasceno.ufc

  • Usuário Ubuntu
  • *
  • Mensagens: 1.241
    • Ver perfil
Re: Leitura da SourceList... algumas dúvidas...
« Resposta #11 Online: 10 de Julho de 2012, 18:21 »
Está tudo certo na minha Source List? Bem, ótimo então. Só acho estranho porque na leitura no Terminal aparecem muitas vezes linhas iguais como é o caso da:
Ign http://ppa.launchpad.net precise/main Translation-pt_BR                                                                             
Ign http://ppa.launchpad.net precise/main Translation-pt
Ign http://ppa.launchpad.net precise/main Translation-pt_PT                                                                             
Ign http://ppa.launchpad.net precise/main Translation-en

Mais enfim, vou adotar o raciocínio de que como está tudo funcionando normalmente, então não vou inventar problemas não.
Bem, obrigado e colocarei o tópico como "Resolvido" ok?!

Mais uma vez, obrigado a todos pelas observações, dicas etc.

Offline linuser104

  • Usuário Ubuntu
  • *
  • Mensagens: 838
    • Ver perfil
Re: Leitura da SourceList... algumas dúvidas... [Resolvido]
« Resposta #12 Online: 10 de Julho de 2012, 21:02 »
Isso aí acho que são as traduções ou de algo que possa aparecer no terminal como instruções ou são informações sobre um aplicativo, por exemplo no Synaptic sempre há uma descrição de um pacote que selecionamos logo abaixo, aí penso que isso aí seria a tradução para as descrições dos pacotes no nosso idioma que pelo visto nunca tem (é encontrado), deixando sempre em inglês.
Linux = Quem realmente gosta de computador; Mac = Artista Digital; Windows = A maioria que votou no Tiririca [pior que tá não fica].