Responder 
 
Avaliação do Tópico:
  • 0 Votos - 0 Média
  • 1
  • 2
  • 3
  • 4
  • 5
Problema com o apt-build
20/03/2008, 12:11
Resposta: #1
Problema com o apt-build
Intalei o apt-build no meu debian, porem quando vou executá-lo veja o que acontece.
Código:
XBlade:/home/adilson# apt-build update
Você deve colocar algumas URIs 'source' em seu sources.list
-----> Updating package lists <-----
Atingido http://www.debian-multimedia.org lenny Release.gpg                    
Ign http://www.debian-multimedia.org lenny/main Translation-pt_BR              
Atingido http://ftp.br.debian.org lenny Release.gpg                            
Ign http://ftp.br.debian.org lenny/main Translation-pt_BR                      
Ign http://ftp.br.debian.org lenny/contrib Translation-pt_BR                  
Ign http://ftp.br.debian.org lenny/non-free Translation-pt_BR                  
Atingido http://ftp.br.debian.org lenny Release                                
Atingido http://ftp.br.debian.org lenny/main Packages/DiffIndex                
Atingido http://www.debian-multimedia.org lenny Release                        
Atingido http://ftp.br.debian.org lenny/contrib Packages/DiffIndex            
Atingido http://ftp.br.debian.org lenny/non-free Packages/DiffIndex            
Ign http://ppa.launchpad.net gutsy Release.gpg                                
Ign http://ppa.launchpad.net gutsy/main Translation-pt_BR                      
Ign http://ppa.launchpad.net gutsy/universe Translation-pt_BR                  
Atingido http://www.debian-multimedia.org lenny/main Packages/DiffIndex        
Atingido http://ppa.launchpad.net gutsy Release                                
Ign http://ppa.launchpad.net gutsy/main Packages/DiffIndex                    
Ign http://ppa.launchpad.net gutsy/universe Packages/DiffIndex                
Ign http://ppa.launchpad.net gutsy/main Packages                              
Ign http://ppa.launchpad.net gutsy/universe Packages                          
Atingido http://ppa.launchpad.net gutsy/main Packages                          
Atingido http://ppa.launchpad.net gutsy/universe Packages                      
Ign http://download.tuxfamily.org ./ Release.gpg                  
Ign http://download.tuxfamily.org ./ Translation-pt_BR                        
Obtendo:1 http://download.tuxfamily.org ./ Release.gpg [189B]                  
Ign http://download.tuxfamily.org ./ Translation-pt_BR                        
Ign http://download.tuxfamily.org gutsy Release.gpg                            
Ign http://download.tuxfamily.org gutsy/multiverse Translation-pt_BR          
Ign http://download.tuxfamily.org ./ Release                                  
Obtendo:2 http://download.tuxfamily.org ./ Release [956B]    
Obtendo:3 http://download.tuxfamily.org gutsy Release [1040B]
Obtendo:4 http://mirrors.kernel.org lenny Release.gpg [189B]                  
Ign http://mirrors.kernel.org lenny/main Translation-pt_BR  
Ign http://mirrors.kernel.org lenny/contrib Translation-pt_BR
Ign http://mirrors.kernel.org lenny/non-free Translation-pt_BR
Obtendo:5 http://mirrors.kernel.org unstable Release.gpg [189B]
Atingido http://mirrors.kernel.org unstable/main Translation-pt_BR
Ign http://mirrors.kernel.org unstable/contrib Translation-pt_BR
Ign http://mirrors.kernel.org unstable/non-free Translation-pt_BR
Atingido http://mirrors.kernel.org lenny Release            
Ign http://download.tuxfamily.org ./ Packages                                  
Atingido http://mirrors.kernel.org unstable Release                            
Ign http://download.tuxfamily.org ./ Packages/DiffIndex                        
Atingido http://mirrors.kernel.org lenny/main Packages/DiffIndex
Atingido http://mirrors.kernel.org lenny/contrib Packages/DiffIndex
Atingido http://mirrors.kernel.org lenny/non-free Packages/DiffIndex
Ign http://download.tuxfamily.org gutsy/multiverse Packages/DiffIndex
Err http://download.tuxfamily.org ./ Packages
  404 Not Found
Obtendo:6 http://download.tuxfamily.org ./ Packages [9913B]  
Atingido http://mirrors.kernel.org unstable/main Packages/DiffIndex
Atingido http://mirrors.kernel.org unstable/contrib Packages/DiffIndex
Atingido http://mirrors.kernel.org unstable/non-free Packages/DiffIndex
Ign http://download.tuxfamily.org gutsy/multiverse Packages                    
Obtendo:7 http://download.tuxfamily.org gutsy/multiverse Packages [3075B]      
Baixados 15,6kB em 13s (1154B/s)                                              
W: Falha ao buscar http://download.tuxfamily.org/shames/debian-sid/desktopfx/snapshot/./Packages.gz  404 Not Found

E: Alguns arquivos de índice falharam para baixar, eles foram ignorados ou os antigos foram usados no lugar.

Código:
XBlade:/home/adilson# apt-build install k3b
Você deve colocar algumas URIs 'source' em seu sources.list
k3b will not be built because it doesn't have a source package.
Missing source package name for source_by_source().

O que está faltando?

LINUX, it's the future... and the future it's on our hands!!!
Visitar o website do usuário Encontrar todas as respostas deste usuário
Citar esta mensagem em uma resposta
20/03/2008, 14:36
Resposta: #2
 
Está faltando colocar uma linha com deb-src. Por exemplo:
deb-src http://ftp.br.debian.org/debian lenny main contrib non-free

Isso serve para o aptitude/apt-get/apt-build baixar os índices de fontes para que sejam baixados as fontes para compilação.
Abraço.
Fabiano.
Encontrar todas as respostas deste usuário
Citar esta mensagem em uma resposta
Responder 


Ir ao Fórum:


Usuários visualizando este tópico: 1 Visitantes

Entre em Contato | Fórum Debian | Voltar ao Topo | Voltar ao Conteúdo | Modo Leve (Arquivo) | Feeds RSS