← Sommaire de la référence Linux

Page 188 · é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.

Ah bon ? Comment je sais si je dois mettre à jour mon cache, alors ?
Il y a deux cas où vous avez besoin de le mettre à jour :
quand vous changez ou ajoutez un dépôt à votre liste de dépôts ;
quand vous n'avez pas mis à jour votre cache depuis un moment (quelques semaines).
Pour mettre à jour votre cache, tapez ceci dans la console en tant que root :
Code : Console
apt-get update
Pensez à rajouter un sudo si vous n'êtes pas déjà root.
Après avoir tapé cette commande, vous allez automatiquement télécharger la dernière liste des paquets proposés par vos
dépôts :
Code : Console
root@mateo21-desktop:~# apt-get update
Réception de : 1 http://wine.budgetdedicated.com hardy Release.gpg [191B]
Ign http://wine.budgetdedicated.com hardy/main Translation-fr
Atteint http://wine.budgetdedicated.com hardy Release
Atteint ftp://ftp.free.fr hardy Release.gpg
Ign http://wine.budgetdedicated.com hardy/main Packages
Atteint ftp://ftp.free.fr hardy/restricted Translation-fr
Atteint http://wine.budgetdedicated.com hardy/main Sources
Atteint ftp://ftp.free.fr hardy/main Translation-fr
Atteint http://wine.budgetdedicated.com hardy/main Packages
Atteint ftp://ftp.free.fr hardy/universe Translation-fr
Atteint ftp://ftp.free.fr hardy/multiverse Translation-fr
Atteint ftp://ftp.free.fr hardy-updates Release.gpg
Réception de : 2 ftp://ftp.free.fr hardy-updates/restricted Translation-fr
Ign ftp://ftp.free.fr hardy-updates/restricted Translation-fr
Réception de : 3 ftp://ftp.free.fr hardy-updates/main Translation-fr
Ign ftp://ftp.free.fr hardy-updates/main Translation-fr
Réception de : 4 ftp://ftp.free.fr hardy-security Release.gpg [191B]
Réception de : 5 ftp://ftp.free.fr hardy-security/restricted Translation-fr
Ign ftp://ftp.free.fr hardy-security/restricted Translation-fr
Réception de : 6 ftp://ftp.free.fr hardy-security/main Translation-fr
Ign ftp://ftp.free.fr hardy-security/main Translation-fr
Réception de : 7 ftp://ftp.free.fr hardy-security/universe Translation-fr
Ign ftp://ftp.free.fr hardy-security/universe Translation-fr
Réception de : 8 ftp://ftp.free.fr hardy-security/multiverse Translation-fr
Ign ftp://ftp.free.fr hardy-security/multiverse Translation-fr
Réception de : 9 ftp://ftp.free.fr hardy Release [57,2kB]
Réception de : 10 ftp://ftp.free.fr hardy-updates Release [50,9kB]
Réception de : 11 ftp://ftp.free.fr hardy-security Release [50,9kB]
Atteint ftp://ftp.free.fr hardy/restricted Packages
Atteint ftp://ftp.free.fr hardy/main Packages
Atteint ftp://ftp.free.fr hardy/restricted Sources
Atteint ftp://ftp.free.fr hardy/universe Packages
Atteint ftp://ftp.free.fr hardy/universe Sources
Atteint ftp://ftp.free.fr hardy/multiverse Packages
Atteint ftp://ftp.free.fr hardy/multiverse Sources
Atteint ftp://ftp.free.fr hardy-updates/restricted Packages
Atteint ftp://ftp.free.fr hardy-updates/main Packages
Atteint ftp://ftp.free.fr hardy-updates/restricted Sources
Partie 2 : Manipuler la console et les fichiers
188/410
www.openclassrooms.com