apt-get update falha no debian squeeze com “Arquivo não encontrado”

2

Estou tentando atualizar meu servidor antigo que está executando o Debian Squeeze. Atualização do apt-get falha. A saída está aqui:

Ign file: debs/ Release.gpg
Ign file:/root/ debs/ Translation-en                                                                 
Ign file:/root/ debs/ Translation-en_US                                                              
Ign file: debs/ Release                                                                              
Ign file: debs/ Sources                                                                              
Ign file: debs/ Packages                                                                             
Ign file: debs/ Sources                                                                              
Ign file: debs/ Packages                                                                             
Err file: debs/ Sources                                                                              
  File not found
Err file: debs/ Packages                                                                             
  File not found
Hit ftp://ftp.fi.debian.org squeeze-lts Release.gpg                                                  
Get:1 ftp://ftp.fi.debian.org/debian/ squeeze-lts/contrib Translation-en                             
Ign ftp://ftp.fi.debian.org/debian/ squeeze-lts/contrib Translation-en                               
Get:2 ftp://ftp.fi.debian.org/debian/ squeeze-lts/contrib Translation-en_US                          
Ign ftp://ftp.fi.debian.org/debian/ squeeze-lts/contrib Translation-en_US                            
Get:3 ftp://ftp.fi.debian.org/debian/ squeeze-lts/main Translation-en                                
Ign ftp://ftp.fi.debian.org/debian/ squeeze-lts/main Translation-en                                  
Get:4 ftp://ftp.fi.debian.org/debian/ squeeze-lts/main Translation-en_US                             
Ign ftp://ftp.fi.debian.org/debian/ squeeze-lts/main Translation-en_US                 
Get:5 ftp://ftp.fi.debian.org/debian/ squeeze-lts/non-free Translation-en              
Hit http://backports.debian.org squeeze-backports Release.gpg                       
Hit http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en
Ign http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en_US
Ign ftp://ftp.fi.debian.org/debian/ squeeze-lts/non-free Translation-en
Get:6 ftp://ftp.fi.debian.org/debian/ squeeze-lts/non-free Translation-en_US
Ign ftp://ftp.fi.debian.org/debian/ squeeze-lts/non-free Translation-en_US             
Hit ftp://ftp.fi.debian.org squeeze-lts Release                                        
Hit http://backports.debian.org squeeze-backports Release                           
Hit http://security.debian.org squeeze/updates Release.gpg                          
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_US
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_US
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en_US
Hit ftp://ftp.fi.debian.org squeeze-lts/main Sources/DiffIndex
Hit http://security.debian.org squeeze/updates Release 
Hit ftp://ftp.fi.debian.org squeeze-lts/non-free Sources/DiffIndex
Hit ftp://ftp.fi.debian.org squeeze-lts/contrib Sources
Hit ftp://ftp.fi.debian.org squeeze-lts/main i386 Packages/DiffIndex
Hit http://backports.debian.org squeeze-backports/main i386 Packages
Hit ftp://ftp.fi.debian.org squeeze-lts/non-free i386 Packages/DiffIndex
Hit ftp://ftp.fi.debian.org squeeze-lts/contrib i386 Packages
Hit http://security.debian.org squeeze/updates/main i386 Packages
Hit http://security.debian.org squeeze/updates/contrib i386 Packages
Hit http://security.debian.org squeeze/updates/non-free i386 Packages
W: Failed to fetch file:/root/debs/Sources.gz  File not found

W: Failed to fetch file:/root/debs/Packages.gz  File not found

E: Some index files failed to download, they have been ignored, or old ones used instead.

O conteúdo da minha sources.list está aqui:

# local packages
deb file:/root debs/
deb-src file:/root debs/

# the basic archive
deb ftp://ftp.fi.debian.org/debian/ squeeze-lts main non-free contrib
deb-src ftp://ftp.fi.debian.org/debian/ squeeze-lts main non-free contrib


# the security patches
deb http://security.debian.org/ squeeze/updates main contrib non-free

deb http://backports.debian.org/debian-backports squeeze-backports main

O que eu tentei até agora foi mudar as duas primeiras entradas em sources.list de squeeze para squeeze-lts, já que o squeeze parece não existir mais no repositório.

Eu sei que o Squeeze não é mais suportado oficialmente e planejo fazer upgrade algumas vezes em um futuro próximo, mas quero que a instalação atual fique em um estado "limpo" e atualizado primeiro.

    
por Echows 07.03.2016 / 10:24

1 resposta

3

Sua sources.list faz referência a dois file sources:

deb file:/root debs/
deb-src file:/root debs/

Estas linhas esperam uma distribuição Debian local sob o diretório /root/ (com um subdiretório /root/debs/ ). Aparentemente, os arquivos de lá não estão mais disponíveis.

A menos que você esteja mantendo um repositório especial para seus próprios pacotes localmente, você pode comentar ou até excluir essas duas linhas sem problemas. Um apt-get dist-upgrade deve funcionar, no entanto.

    
por 07.03.2016 / 10:48