← Sommaire de la référence Linux

Page 183 · édition de 2013

Transcription extraite du PDF historique ; consulte le PDF pour les illustrations, la mise en forme et l’indentation. Les indications anciennes nécessitent une vérification avant utilisation.

Télécharger le PDF original · Mathieu Nebra (Mateo21), CC BY-NC-SA 2.0 FR.

dépôts que vous utilisez est :
/etc/apt/sources.list
Ce fichier ne peut être modifié que par root, l'administrateur de la machine.
Pour que vous puissiez modifier ce fichier, il faut donc passer root.
Pour cela, vous avez deux possibilités. Soit vous faites un sudo juste avant :
Code : Console
sudo nano /etc/apt/sources.list
… et vous modifierez le fichier en tant que root.
Soit vous passez root « définitivement » en faisant sudo su d'abord.
Le fichier que vous avez devrait ressembler à ceci :
Code : Console
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
 
deb http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted
 
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
 
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://fr.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy universe
 
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy multiverse
 
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://fr.archive.ubuntu.com/ubuntu/ hardy-
backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-
backports main restricted universe multiverse
 
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
Partie 2 : Manipuler la console et les fichiers
183/410
www.openclassrooms.com