nano /etc/apt/sources.list
## Debian Wheezy sources.list
## Debian security updates:
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
## Debian.org:
deb http://ftp.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy main contrib non-free
## Debian FR mirror:
deb http://ftp.fr.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ wheezy main contrib non-free
## Debian US mirror:
deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free
## Debian security updates:
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
## Debian.org:
deb http://ftp.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy main contrib non-free
## Debian FR mirror:
deb http://ftp.fr.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ wheezy main contrib non-free
## Debian US mirror:
deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free
Télécharger et installer la liste:
wget /uploads/debian7/sources.list -O /etc/apt/sources.list
Mise à jour
apt-get update && apt-get upgrade -y
Script de mise à jour
echo 'apt-get update && apt-get upgrade -y' > /root/apt-upgrade.sh
chmod +x /root/apt-upgrade.sh
chmod +x /root/apt-upgrade.sh