Debian Squeeze apt-get source.list

nano /etc/apt/sources.list
## 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

## 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 FR mirror:
deb http://ftp.fr.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.fr.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

Télécharger la liste:

wget /uploads/sources.list -O /etc/apt/sources.list

Mise à jour

apt-get update -y && apt-get upgrade -y

Mise à jour silencieuse

#!/bin/sh
apt-get update -y -qq && apt-get upgrade -y -qq

2 Replies to “Debian Squeeze apt-get source.list”

  1. Super utile, venant d’Ubuntu j’ai eu un peu de mal à comprendre pourquoi mon sources.list était vide sous Squeeze. Merci!

  2. D’après le man d’apt-get, il est déconseillé de taper apt-get upgrade -y -qq, il vaut mieux taper apt-get upgrade -y

Comments are closed.