View previous topic :: View next topic |
Author |
Message |
nevro15 n00b


Joined: 17 Jan 2006 Posts: 47
|
Posted: Fri Mar 24, 2006 9:16 pm Post subject: [emerge] Options |
|
|
Voila j'aimerais savoir si une option d'emerge permet de télécharger tous les paquets avant de les installer ? Et non de télécharger puis d'installer, télécharger puis installer, etc .. |
|
Back to top |
|
 |
Trevoke Advocate


Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri Mar 24, 2006 9:27 pm Post subject: |
|
|
emerge -f ***
-f = --fetchonly _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
 |
nevro15 n00b


Joined: 17 Jan 2006 Posts: 47
|
Posted: Fri Mar 24, 2006 9:30 pm Post subject: |
|
|
Merci ! J'avais repéré cette option dans la documentation en anglais pour emerge mais je n'étais pas certains d'être tombé sur la bonne.  |
|
Back to top |
|
 |
KrysNux n00b

Joined: 15 Jan 2006 Posts: 63
|
Posted: Sat Mar 25, 2006 10:04 am Post subject: |
|
|
Tu peux meme prendre un peu d'avance... Je réalise souvent ces manipulations lorsque je mets a jour ma distrib.
En gros:
plutôt que de réaliser
Tu ouvres 2 terminaux
dans le 1er
Lorsqu'un ou deux paquets sont déjà telechargés.
Dans la 2ème console, tu tappes:
La 1ère console continue a télécharger les sources. Durant ce temps, l'autre compile et installe les paquets.
Dommage que cette fonctionnalité ne soit pas propre à portage |
|
Back to top |
|
 |
xaviermiller Bodhisattva


Joined: 23 Jul 2004 Posts: 8723 Location: ~Brussels - Belgique
|
Posted: Sat Mar 25, 2006 10:13 am Post subject: |
|
|
Hier, j'ai trouvé un merveilleux avantage à "--fetchonly" : si le fichier présent dans distfiles est corrompu, il est tout bonnement retéléchargé, alors que l'emerge "classique" s'arrête. Bref, idéal pour des longs updates  _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
 |
genome_ n00b

Joined: 24 Mar 2006 Posts: 19
|
Posted: Sat Mar 25, 2006 11:13 am Post subject: |
|
|
c'est bon à savoir ca... |
|
Back to top |
|
 |
geekounet Bodhisattva


Joined: 11 Oct 2004 Posts: 3772
|
Posted: Sat Mar 25, 2006 11:27 am Post subject: |
|
|
Et dans portage 2.1, il y a maintenant un nouveau feature : parallel-fetch pour télécharger en même temps que ça compile
https://forums.gentoo.org/viewtopic.php?t=30842 :
Quote: | Users with portage-2.1* can add FEATURES="parallel-fetch" to /etc/make.conf so that portage will automatically fetch the sources in parallel with the merge. |
|
|
Back to top |
|
 |
KrysNux n00b

Joined: 15 Jan 2006 Posts: 63
|
Posted: Mon Mar 27, 2006 10:19 am Post subject: |
|
|
Bon, bah autant pour moi, cela existe, mais dans une version ~x86 de portage  |
|
Back to top |
|
 |
ultrabug Developer


Joined: 24 Jan 2005 Posts: 698 Location: Paris
|
Posted: Mon Mar 27, 2006 10:46 am Post subject: |
|
|
Intéressant merci  |
|
Back to top |
|
 |
|