Ajuda...com uso do Linux Ubuntu 11

Olá,

não tenho muito conhecimento no uso do SO Linux Ubuntu e gostaria de atualizar um pacote de software
e não estou conseguindo pois me apresenta o erro abaixo após o comando sudo apt-get update

Se alguém puder mer ajudar agradeceria.

estou seguindo essa documentação


Debian e Ubuntu
Escolha da ferramenta

Nas distribuições baseadas em Debian GNU/Linux, o sistema de gerenciamento de pacotes utilizado é o APT (Advanced Package Tool), o qual manipula arquivos no formato .DEB e que possui diversas ferramentas para automatizar as tarefas. Entre essas ferramentas, gráficas e em modo texto, podemos citar: apt-get, aptitude e synaptic.

Para a execução dos passos a seguir é necessário ter direitos de super-usuário (i.e. root) no sistema. Será utilizada a ferramenta apt-get nos exemplos.
Atualização dos índices locais

O primero passo consiste em modificar o arquivo de índices /etc/apt/sources.list do Linux inserindo a linha a seguir nele:

deb http://demoiselle.c3sl.ufpr.br hardy stable

ou (versão FTP):

deb ftp://sagres.c3sl.ufpr.br/demoiselle hardy stable

A segunda etapa consiste em atualizar os índices do APT localmente através do comando abaixo:

# apt-get update

Busca e consulta de pacotes

Para procurar um pacote a partir das descrições contidas nele, execute o comando apt-cache search, tal como no exemplo abaixo:

$ apt-cache search demoiselle

Para exibir as descrições de um pacote específico, use o comando apt-cache show:

$ apt-cache show demoiselle-dev

Instalação de pacotes

Finalmente, para instalar um pacote no Debian ou Ubuntu, utilize o comando apt-get install, sempre com o usuário root:

apt-get install demoiselle-dev



paulo@ubuntu:/etc/apt$ sudo apt-get update 
Ign http://demoiselle.c3sl.ufpr.br hardy InRelease
Obter:1 http://demoiselle.c3sl.ufpr.br hardy Release.gpg [197 B]               
Ign http://br.archive.ubuntu.com natty InRelease                               
Ign http://br.archive.ubuntu.com natty-updates InRelease                       
Obter:2 http://demoiselle.c3sl.ufpr.br hardy Release [2.154 B]
Atingido http://br.archive.ubuntu.com natty Release.gpg                        
Ign http://demoiselle.c3sl.ufpr.br hardy Release                               
Atingido http://br.archive.ubuntu.com natty-updates Release.gpg
Atingido http://br.archive.ubuntu.com natty Release                            
Ign http://security.ubuntu.com natty-security InRelease                        
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 amd64 Packages
Ign http://demoiselle.c3sl.ufpr.br hardy/stable TranslationIndex
Atingido http://br.archive.ubuntu.com natty/restricted amd64 Packages
Atingido http://br.archive.ubuntu.com natty/universe amd64 Packages
Atingido http://br.archive.ubuntu.com natty/multiverse amd64 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           
Atingido http://security.ubuntu.com natty-security Release.gpg                 
Atingido http://br.archive.ubuntu.com natty-updates/multiverse Sources         
Atingido http://br.archive.ubuntu.com natty-updates/main amd64 Packages        
Atingido http://br.archive.ubuntu.com natty-updates/restricted amd64 Packages  
Atingido http://br.archive.ubuntu.com natty-updates/universe amd64 Packages    
Atingido http://br.archive.ubuntu.com natty-updates/multiverse amd64 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          
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
Atingido http://security.ubuntu.com natty-security Release   
Atingido http://security.ubuntu.com natty-security/main Sources                
Atingido http://security.ubuntu.com natty-security/restricted Sources          
Atingido http://security.ubuntu.com natty-security/universe Sources            
Atingido http://security.ubuntu.com natty-security/multiverse Sources          
Atingido http://security.ubuntu.com natty-security/main amd64 Packages         
Atingido http://security.ubuntu.com natty-security/restricted amd64 Packages   
Atingido http://security.ubuntu.com natty-security/universe amd64 Packages     
Atingido http://security.ubuntu.com natty-security/multiverse amd64 Packages   
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://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         
Err http://demoiselle.c3sl.ufpr.br hardy/stable amd64 Packages                 
  404  Not Found
Ign http://demoiselle.c3sl.ufpr.br hardy/stable Translation-pt_BR              
Ign http://demoiselle.c3sl.ufpr.br hardy/stable Translation-pt                 
Ign http://demoiselle.c3sl.ufpr.br hardy/stable 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
Baixados 198 B em 6s (33 B/s)                                                  
W: Erro GPG: http://demoiselle.c3sl.ufpr.br hardy Release: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 698F76A5632038DF
W: Falhou ao buscar http://demoiselle.c3sl.ufpr.br/dists/hardy/stable/binary-amd64/Packages  404  Not Found

E: Alguns arquivos index falharam ao ser baixados. Eles foram ignorados, ou cópias antigas são usadas ao invés.
paulo@ubuntu:/etc/apt$ 

paribe,

Se você perceber existe um erro na linha 76, 77 e 95, este erro é o conhecidíssimo http 404 (not found).

76 - Err http://demoiselle.c3sl.ufpr.br hardy/stable amd64 Packages
77 - 404  Not Found
95 - W: Falhou ao buscar http://demoiselle.c3sl.ufpr.br/dists/hardy/stable/binary-amd64/Packages  404  Not Found

Na linha 94 reclamou de um problema na chave pública, provavelmente por causa do erro acima

W: Erro GPG: http://demoiselle.c3sl.ufpr.br hardy Release: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 698F76A5632038DF 

Em suma, tem algum problema com o repositório dos arquivos.

Companheiro, o Ubuntu por padrão tende a tentar acessar o servidor mais próximo de você(o do Brasil), que várias vezes já aconteceu comigo de receber um 404, ou seja: vez por outro ele está fora do ar.

Sempre mudo pro repositório central, que em geral é inclusive mais rápido:
Aqui há um passo a passo de como fazer isso, que vale pro ubuntu 11.04 também :wink:

http://wiki.ubuntu-br.org/UbuntuPerfeito

estou usando Ubuntu versão 11.04 para 64 bits

e está versão está disponivel somente para 32 bits…

vou instalar VM com uma versão para 32 bits

obrigado a todos…