Veremos aqui como alterar os repositórios do arquivo
/etc/apt/sources.list de forma a obter os benefícios do
Debian Mirror Redirector no
Debian Squeeze.
As principais vantagens ao utilizá-lo é que os pacotes serão baixados dos espelhos mais rápidos (inclusive dos novos), de acordo com sua geo-localização e a ausência de mirrors off-line, desatualizados etc.
Como exemplo, visitem o link abaixo e vejam o que ocorre:
sources.list
A alteração a ser realizada é a troca do início de cada mirror Debian (Standard, Security, Volatile e Backports) por:
deb
http://http.debian.net/debian/
Vejam, como exemplo, parte do meu
sources.list anterior:
### Debian 6.0.5 Squeeze/Stable.
### Chave GPG: sudo apt-get install debian-archive-keyring debian-keyring
deb http://sft.if.usp.br/debian/ squeeze main contrib non-free
deb http://ftp.debian.org/debian/ squeeze main contrib non-free
### Debian 6.0.5 Squeeze/Stable Security 'Updates'.
deb http://sft.if.usp.br/debian-security/ squeeze/updates main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
### Debian 6.0.5 Squeeze/Stable 'Updates' Volatile.
deb http://sft.if.usp.br/debian/ squeeze-updates main contrib non-free
deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free
### Debian 6.0.5 Squeeze/Stable 'Backports'.
### Chave GPG: gpg --keyserver hkp://subkeys.pgp.net --recv-keys 16BA136C && gpg --export 16BA136C | sudo apt-key
add -
deb ftp://sft.if.usp.br/debian-backports/ squeeze-backports main contrib non-free
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
### Debian Backports Mozilla Team.
### Chave GPG: wget -O- -q http://mozilla.debian.net/archive.asc | gpg --import; gpg --export -a 06C4AE2A | sudo apt-key
add -
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release
### Debian 6.0.5 Squeeze/Stable 'Multimedia'.
### Chave GPG: sudo apt-get install deb-multimedia-keyring debian-multimedia-keyring
deb http://sft.if.usp.br/debian-multimedia/ squeeze main non-free
deb http://www.deb-multimedia.org squeeze main non-free
deb http://www.deb-multimedia.org squeeze-backports main
E abaixo, vejam como o mesmo ficou depois das alterações (ou seja, bem mais simplificado e com menos repositórios):
### Debian 6.0.5 Squeeze/Stable.
### Chave GPG: sudo apt-get install debian-archive-keyring debian-keyring
deb http://http.debian.net/debian/ squeeze main contrib non-free
### Debian 6.0.5 Squeeze/Stable Security 'Updates'.
deb http://http.debian.net/debian-security/ squeeze/updates main contrib non-free
### Debian 6.0.5 Squeeze/Stable 'Updates' Volatile.
deb http://http.debian.net/debian/ squeeze-updates main contrib non-free
### Debian 6.0.5 Squeeze/Stable 'Backports'.
### Chave GPG: gpg --keyserver hkp://subkeys.pgp.net --recv-keys 16BA136C && gpg --export 16BA136C | sudo apt-key
add -
deb http://http.debian.net/debian-backports/ squeeze-backports main contrib non-free
### Debian Backports Mozilla Team.
### Chave GPG: wget -O- -q http://mozilla.debian.net/archive.asc | gpg --import; gpg --export -a 06C4AE2A | sudo apt-key
add -
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release
### Debian 6.0.5 Squeeze/Stable 'Multimedia'.
### Chave GPG: sudo apt-get install deb-multimedia-keyring debian-multimedia-keyring
deb http://www.deb-multimedia.org squeeze main non-free
deb http://www.deb-multimedia.org squeeze-backports main
Imagens do processo
Alteração dos endereços:
Atualização das listas de pacotes:
Desabilitando os repositórios anteriores:
Instalação do Texlive e monitoramento da rede:
Instalação concluída!
Referências