Autor Tópico: Retorno do comando apt-get update (RESOLVIDO)  (Lida 1264 vezes)

Offline vfarias

  • Usuário Ubuntu
  • *
  • Mensagens: 141
    • Ver perfil
Retorno do comando apt-get update (RESOLVIDO)
« Online: 22 de Agosto de 2011, 14:48 »
Amigos do forum, tenho instalado em meu netbook o Ubuntu 11.04 e está funcionando maravilhosamente bem. Agora estou intrigado com uma extensa relação de linhas "Ign http://..." que surge ao dar o comando apt-get update. Isso é normal? Anexo o meu arquivo etc/apt/sources.list e o resultado do comando apt-get update. Agradeço orientação.

Meu sources.list:

# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty 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/ natty main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ natty main restricted

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

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


Retorno do comando apt-get update:

vbarros@netbook-viagem:~$ gedit /etc/apt/sources.list
vbarros@netbook-viagem:~$ sudo apt-get update
[sudo] password for vbarros:
Atingido http://packages.medibuntu.org natty InRelease                        
Ign http://extras.ubuntu.com natty InRelease                                  
Ign http://security.ubuntu.com natty-security InRelease                        
Ign http://archive.canonical.com natty InRelease                              
Ign http://br.archive.ubuntu.com natty InRelease                              
Ign http://br.archive.ubuntu.com natty-updates InRelease                      
Obter:1 http://extras.ubuntu.com natty Release.gpg [72 B]                      
Obter:2 http://security.ubuntu.com natty-security Release.gpg [198 B]          
Atingido http://archive.canonical.com natty Release.gpg                        
Atingido http://br.archive.ubuntu.com natty Release.gpg                        
Atingido http://packages.medibuntu.org natty/free i386 Packages                
Atingido http://extras.ubuntu.com natty Release                                
Obter:3 http://security.ubuntu.com natty-security Release [31,4 kB]            
Atingido http://archive.canonical.com natty Release                            
Atingido http://br.archive.ubuntu.com natty-updates Release.gpg                
Atingido http://extras.ubuntu.com natty/main Sources                          
Atingido http://br.archive.ubuntu.com natty Release                            
Atingido http://archive.canonical.com natty/partner Sources                    
Atingido http://packages.medibuntu.org natty/non-free i386 Packages            
Atingido http://extras.ubuntu.com natty/main i386 Packages                    
Ign http://extras.ubuntu.com natty/main TranslationIndex                      
Atingido http://br.archive.ubuntu.com natty-updates Release                    
Atingido http://br.archive.ubuntu.com natty/main Sources                      
Atingido http://br.archive.ubuntu.com natty/restricted Sources                
Atingido http://br.archive.ubuntu.com natty/universe Sources                  
Atingido http://br.archive.ubuntu.com natty/multiverse Sources                
Atingido http://br.archive.ubuntu.com natty/main i386 Packages                
Atingido http://archive.canonical.com natty/partner i386 Packages              
Ign http://archive.canonical.com natty/partner TranslationIndex                
Obter:4 http://security.ubuntu.com natty-security/main Sources [65,1 kB]      
Atingido http://br.archive.ubuntu.com natty/restricted i386 Packages          
Atingido http://br.archive.ubuntu.com natty/universe i386 Packages            
Atingido http://br.archive.ubuntu.com natty/multiverse i386 Packages          
Ign http://br.archive.ubuntu.com natty/main TranslationIndex                  
Ign http://br.archive.ubuntu.com natty/multiverse TranslationIndex            
Ign http://br.archive.ubuntu.com natty/restricted TranslationIndex            
Ign http://br.archive.ubuntu.com natty/universe TranslationIndex              
Atingido http://br.archive.ubuntu.com natty-updates/main Sources              
Atingido http://br.archive.ubuntu.com natty-updates/restricted Sources        
Atingido http://br.archive.ubuntu.com natty-updates/universe Sources          
Ign http://packages.medibuntu.org natty/free TranslationIndex                  
Atingido http://br.archive.ubuntu.com natty-updates/multiverse Sources        
Atingido http://br.archive.ubuntu.com natty-updates/main i386 Packages        
Atingido http://br.archive.ubuntu.com natty-updates/restricted i386 Packages  
Atingido http://br.archive.ubuntu.com natty-updates/universe i386 Packages    
Atingido http://br.archive.ubuntu.com natty-updates/multiverse i386 Packages  
Ign http://br.archive.ubuntu.com natty-updates/main TranslationIndex          
Ign http://br.archive.ubuntu.com natty-updates/multiverse TranslationIndex    
Ign http://br.archive.ubuntu.com natty-updates/restricted TranslationIndex    
Ign http://br.archive.ubuntu.com natty-updates/universe TranslationIndex      
Atingido http://br.archive.ubuntu.com natty/main Translation-pt_BR            
Atingido http://br.archive.ubuntu.com natty/main Translation-pt                
Atingido http://br.archive.ubuntu.com natty/multiverse Translation-pt_BR      
Atingido http://br.archive.ubuntu.com natty/multiverse Translation-pt          
Ign http://packages.medibuntu.org natty/non-free TranslationIndex              
Obter:5 http://security.ubuntu.com natty-security/restricted Sources [14 B]    
Obter:6 http://security.ubuntu.com natty-security/universe Sources [10,2 kB]  
Obter:7 http://security.ubuntu.com natty-security/multiverse Sources [655 B]  
Obter:8 http://security.ubuntu.com natty-security/main i386 Packages [170 kB]  
Atingido http://br.archive.ubuntu.com natty/restricted Translation-pt_BR      
Atingido http://br.archive.ubuntu.com natty/restricted Translation-pt          
Atingido http://br.archive.ubuntu.com natty/universe Translation-pt_BR        
Atingido http://br.archive.ubuntu.com natty/universe Translation-pt            
Ign http://archive.canonical.com natty/partner Translation-pt_BR              
Ign http://archive.canonical.com natty/partner Translation-pt                  
Ign http://archive.canonical.com natty/partner Translation-en                  
Obter:9 http://security.ubuntu.com natty-security/restricted i386 Packages [14 B]
Obter:10 http://security.ubuntu.com natty-security/universe i386 Packages [34,5 kB]
Obter:11 http://security.ubuntu.com natty-security/multiverse i386 Packages [2.077 B]
Ign http://security.ubuntu.com natty-security/main TranslationIndex            
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex      
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex      
Ign http://security.ubuntu.com natty-security/universe TranslationIndex        
Ign http://extras.ubuntu.com natty/main Translation-pt_BR                      
Ign http://extras.ubuntu.com natty/main Translation-pt                        
Ign http://extras.ubuntu.com natty/main Translation-en                        
Ign http://br.archive.ubuntu.com natty/main Translation-en                    
Ign http://br.archive.ubuntu.com natty/multiverse Translation-en              
Ign http://br.archive.ubuntu.com natty/restricted Translation-en              
Ign http://br.archive.ubuntu.com natty/universe Translation-en                
Ign http://br.archive.ubuntu.com natty-updates/main Translation-pt_BR          
Ign http://br.archive.ubuntu.com natty-updates/main Translation-pt            
Ign http://br.archive.ubuntu.com natty-updates/main Translation-en            
Ign http://br.archive.ubuntu.com natty-updates/multiverse Translation-pt_BR    
Ign http://br.archive.ubuntu.com natty-updates/multiverse Translation-pt      
Ign http://br.archive.ubuntu.com natty-updates/multiverse Translation-en      
Ign http://br.archive.ubuntu.com natty-updates/restricted Translation-pt_BR    
Ign http://br.archive.ubuntu.com natty-updates/restricted Translation-pt      
Ign http://br.archive.ubuntu.com natty-updates/restricted Translation-en      
Ign http://br.archive.ubuntu.com natty-updates/universe Translation-pt_BR      
Ign http://br.archive.ubuntu.com natty-updates/universe Translation-pt        
Ign http://br.archive.ubuntu.com natty-updates/universe Translation-en        
Ign http://security.ubuntu.com natty-security/main Translation-pt_BR          
Ign http://security.ubuntu.com natty-security/main Translation-pt              
Ign http://security.ubuntu.com natty-security/main Translation-en              
Ign http://security.ubuntu.com natty-security/multiverse Translation-pt_BR    
Ign http://security.ubuntu.com natty-security/multiverse Translation-pt        
Ign http://security.ubuntu.com natty-security/multiverse Translation-en        
Ign http://security.ubuntu.com natty-security/restricted Translation-pt_BR    
Ign http://security.ubuntu.com natty-security/restricted Translation-pt        
Ign http://security.ubuntu.com natty-security/restricted Translation-en        
Ign http://security.ubuntu.com natty-security/universe Translation-pt_BR      
Ign http://security.ubuntu.com natty-security/universe Translation-pt          
Ign http://security.ubuntu.com natty-security/universe Translation-en          
Ign http://packages.medibuntu.org natty/free Translation-pt_BR                
Ign http://packages.medibuntu.org natty/free Translation-pt
Ign http://packages.medibuntu.org natty/free Translation-en
Ign http://packages.medibuntu.org natty/non-free Translation-pt_BR
Ign http://packages.medibuntu.org natty/non-free Translation-pt
Ign http://packages.medibuntu.org natty/non-free Translation-en
Baixados 314 kB em 39s (8.043 B/s)
Lendo listas de pacotes... Pronto
vbarros@netbook-viagem:~$


« Última modificação: 24 de Agosto de 2011, 20:34 por vfarias »

Paulo Correa

  • Visitante
Re: Retorno do comando apt-get update
« Resposta #1 Online: 22 de Agosto de 2011, 16:28 »
Olá vfarias quanto ao "Ign" não sei muito bem lhe explicar, mas, se mesmo usando o "Servidor do Brasil" você está atualizando o sistema sem maiores problemas não tem o que se preocupar comigo isso também aparece e jamais me causou problema.

Mas acho (salvo engano) que tem alguma coisa a ver com linhas comentadas na sua sources.list. Aguarde a opinião de alguém experiente.

Contudo se preferir ver se não acontece o "Ign" no update do Servidor Principal é so mudar no Synaptic.

Servidor do Brasil:
Citar
## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ natty-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ natty-updates main restricted

Servidor Principal:
Citar
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ natty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ natty-updates main restricted


Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: Retorno do comando apt-get update
« Resposta #2 Online: 22 de Agosto de 2011, 19:13 »
Ola a todos

Citar
...quanto ao "Ign" não sei muito bem lhe explicar...

IGN vem do Inglês => Ignoring (ignorando)

Quando se dá um apt-get update o pacote responsavel pela verificação de pacotes, o dpkg, checa pelos hashes ( resumo ) dos pacotes nos repositórios.

Caso o hash em sua maquina seja igual ao hash do repositorio, nada há a ser instalado então aquele repositório é IGNorado.

Caso não fosse desta maneira, haveria a necessidade de se examinar arquivo a arquivo ( uns 50.000) para ver que estaria instalado ou não, e se instalado qual sua versão.

Neste outro exemplo tirado do sources postado, um diálogo em "humanêz" do que acontece:
Citar
Obter:9 http://security.ubuntu.com natty-security/restricted i386 Packages [14 B]
quem acreditaria que um repositório inteiro teria apenas 14 bytes?

prompt:usuario@usuario:~$

Usuario: sudo apt-get upgrade

dpkg: ô repositório, o cara quer atualizar

Repositorio: tou pronto.

Pergunta do dpkg:  houve uma diferença de 14 bytes nos hashes, então qual o pacote com 14 bytes

Resposta do repositório: é o pacote xyz - fazer download dele?

dpkg : espere aí....

dpkg ao usuario: o pacote xyz está para ser atualizado (S/n)

Usuario: S ( Siiiimmmm....) [som de auditório, torcida inflamada, côro e uma hola]

dpkg: manda aí ô repositório

Repositório: pega aí o hash dele é qwerqrwwtqtwrtey1223453556362hagsgdfdf55322

dpkg: recebi 14 bytes, conferindo o hash  qwerqrwwtqtwrtey1223453556362hagsgdfdf55322

dpkg: obrigado repositório

repositório: de nada, sempre as ordens

dpkg: apagando arquivos xyz versão -1 e sobrescrevendo arquivo xyz versao 2

dpkg: sr. apt, guarde aí o novo hash do arquivo xyz na pasta apt/cache

apt cache: gravado!

Dpkg :prezado usuario, o pacote xyz foi instalado com sucesso.

dpkg: Aí ô prompt de comandos, tou passando o abacaxi

prompt: usuario@usuario:~$

[]'s
« Última modificação: 22 de Agosto de 2011, 19:22 por Tota »

Paulo Correa

  • Visitante
Re: Retorno do comando apt-get update
« Resposta #3 Online: 22 de Agosto de 2011, 19:43 »
Resumindo, compreendi, ah, se não fosse o "Ign"!

Offline vfarias

  • Usuário Ubuntu
  • *
  • Mensagens: 141
    • Ver perfil
Re: Retorno do comando apt-get update
« Resposta #4 Online: 24 de Agosto de 2011, 20:32 »
Ok Tota. Pelo que entendi, após ler a sua exteeeensa explicação, o "Ign..." significa que o referido repositório não tem nenhum pacote para atualizar o meu sistema. Certo? Obrigado.

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: Retorno do comando apt-get update (RESOLVIDO)
« Resposta #5 Online: 24 de Agosto de 2011, 21:47 »
Ola

Exatamente, quando ignora os repositorios estão atualizados.

[]'s