Tengo tantos años de no utilizar Debian, que se me había olvidado la configuración del archivo sources.list de apt. Creo que demasiado he utilizado Ubuntu en los últimos años, pero ya estamos de regreso al querido Debian.
Y a decir verdad, acá les comparto el archivo de sources completo o lo mas completo posible compatible con el release de squeeze de Debian. Las primeras lineas hasta los servidores titulados como oficiales son lo único que deben de agregar para que su Linux se mantenga actualizado. El resto de repositorios tan solo nos sirven para que nuestro Debian 6.0 tenga muchas mas aplicaciones que no son libres o free.
Debian apt sources.list para squeeze
## Debian Squeeze sources.list
## Debian security updates: deb http://security.debian.org/ squeeze/updates main contrib non-free deb-src http://security.debian.org/ squeeze/updates main contrib non-free
## Debian.org: deb http://ftp.debian.org/debian/ squeeze main contrib non-free deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free
Espejos Debian Squeeze oficiales
## Debian Official Repository Mirror squeeze: deb ftp://debian.oregonstate.edu/debian/ squeeze main contrib non-free deb-src ftp://debian.oregonstate.edu/debian/ squeeze main contrib non-free deb ftp://debian.oregonstate.edu/debian/ squeeze-proposed-updates main contrib non-free deb-src ftp://debian.oregonstate.edu/debian/ squeeze-proposed-updates main contrib non-free
## Debian NL mirror: deb http://ftp.nl.debian.org/debian squeeze main contrib non-free deb-src http://ftp.nl.debian.org/debian squeeze main contrib non-free
## Debian DE mirror: deb http://ftp.de.debian.org/debian squeeze main contrib non-free deb-src http://ftp.de.debian.org/debian squeeze main contrib non-free
## Debian US mirror: deb ftp://ftp.us.debian.org/debian/ squeeze main contrib non-free deb-src ftp://ftp.us.debian.org/debian/ squeeze main contrib non-free
Repositorios Wine para Squeeze
## Wine repositories: deb squeeze main
## Opera webbrowser: deb http://deb.opera.com/opera/ squeeze non-free
## Tor: # deb squeeze main
## moblock: mobloquer http://moblock-deb.sourceforge.net ## gpg --keyserver wwwkeys.eu.pgp.net --recv 9072870B ## gpg --export --armor 9072870B | sudo apt-key add - # deb http://moblock-deb.sourceforge.net/debian squeeze main ## Quoted cause of index failure # deb-src http://moblock-deb.sourceforge.net/debian squeeze main
## EFTel mirror updates deb squeeze main non-free contrib deb-src squeeze main non-free contrib
## Debian.hands.com squeeze: deb http://debian.hands.com/debian/ squeeze main non-free contrib deb-src http://debian.hands.com/debian/ squeeze main non-free contrib
## Debian Multimedia squeeze: deb http://mirror.home-dn.net/debian-multimedia squeeze main
Repositorios testing
## All testing repositories:
## Debian.org testing: deb ftp://ftp.debian.org/debian testing main contrib non-free deb-src ftp://ftp.debian.org/debian testing main contrib non-free
## Debian Official Repository Mirror testing: deb ftp://debian.oregonstate.edu/debian/ testing main contrib non-free deb-src ftp://debian.oregonstate.edu/debian/ testing main contrib non-free
## Austrian testing mirror: deb http://ftp.au.debian.org/debian/ testing main non-free contrib deb-src http://ftp.au.debian.org/debian/ testing main non-free contrib
## Debian Unofficial: ## For more info visit deb testing main contrib non-free restricted deb-src testing main contrib non-free restricted
Repositorios Debian Multimedia de Marrillat
## Debian Multimedia - Christian Marrillat repository: deb http://www.debian-multimedia.org testing main deb-src http://www.debian-multimedia.org testing main
Repositorios de software Google para Debian
## Google software repository: ## ## (wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - ) ## or (gpg --keyserver subkeys.pgp.net --recv A040830F7FAC5991 && gpg --export --armor A040830F7FAC5991 | sudo apt-key add - ) ## Quoted cause of index failure # deb testing non-free
## Debian.hands.com testing: deb http://debian.hands.com/debian/ testing main non-free contrib deb-src http://debian.hands.com/debian/ testing main non-free contrib
## Debian Multimedia testing: deb http://mirror.home-dn.net/debian-multimedia testing main
## Compiz / Compiz-Fusion testing: ## Quoted cause of index failure # deb http://download.tuxfamily.org/osrdebian testing compiz-fusion-git # deb ./
## All expirimental repositories:
## Debian experimental US mirror: # deb http://ftp.us.debian.org/debian/ experimental main contrib non-free # deb http://www.debian-multimedia.org experimental main
## All unstable repositories:
## Compiz / Compiz-Fusion unstable: ## Quoted cause of index failure # deb http://download.tuxfamily.org/osrdebian unstable compiz-fusion-git # deb http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable/ ./
## Legacy, obsoleted repositories:
## XFCE repositories: ## Squeeze not available yet # deb lenny xfce460 # deb-src lenny xfce460
## Virtual box (not OSE but SUN) ## Squeeze not available yet ## Quoted cause of index failure # deb http://download.virtualbox.org/virtualbox/debian lenny non-free
## Kirya Unofficial Debian packages: ## Squeeze not available yet ## Testing is linked to lenny and results in compatibility errors (old lenny = testing) ## # deb lenny main contrib non-free # deb-src lenny main contrib non-free
Como mantener nuestro sistema Debian estable
En necesario agregar o editar el archivo /etc/apt/preferences con la siguiente info:
Package: * Pin: release o=Debian,a=squeeze Pin-Priority: 900 Package: * Pin: release o=Debian,a=testing Pin-Priority: 800 Package: * Pin: release a=testing Pin-Priority: 700 Package: * Pin: release a=experimental Pin-Priority: 600 Package: * Pin: release a=sid Pin-Priority: 500 Package: * Pin: release a=unstable Pin-Priority: 300 Package: * Pin: release o=Debian,a=lenny Pin-Priority: 200
A veces da el error el siguiente error ” mmap ran out of room”, por lo cual creamos el archivo /etc/apt/apt.conf:
APT::Cache-Limit "100000000";