issue133:tutoriel1
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
issue133:tutoriel1 [2018/06/07 07:44] – d52fr | issue133:tutoriel1 [2018/06/15 08:32] – christo.2so | ||
---|---|---|---|
Ligne 3: | Ligne 3: | ||
Well we can; using apt-fast we can make your updates go about 30% faster. While I am thinking about it, here is a link to the github page: https:// | Well we can; using apt-fast we can make your updates go about 30% faster. While I am thinking about it, here is a link to the github page: https:// | ||
- | Ah ! La même période annuelle de retour ! Une nouvelle publication d' | + | Ah ! La même période annuelle |
- | Oui, nous le pouvons : en utilisant apt-fast, nos mises à jour vont 30% plus vite. Pendant que j'y pense, il y a un lien vers une page de github : https:// | + | Oui, nous le pouvons : en utilisant apt-fast, nos mises à jour vont environ |
**In short, apt-fast (ppa: | **In short, apt-fast (ppa: | ||
Ligne 11: | Ligne 11: | ||
While it’s possible to use this even with the upgrade GUI. I’ll focus on the command line tool; do-release-upgrade. So what do we need to do to perform such a miracle? Multiple terminals, that’s what. Or some tmux/screen knowledge**. | While it’s possible to use this even with the upgrade GUI. I’ll focus on the command line tool; do-release-upgrade. So what do we need to do to perform such a miracle? Multiple terminals, that’s what. Or some tmux/screen knowledge**. | ||
- | En bref, apt-fact (ppa: | + | En bref, apt-fast (ppa: |
- | Alors qu' | + | Bien qu' |
**Let’s get started | **Let’s get started | ||
Ligne 31: | Ligne 31: | ||
Étape 1 : Dans le terminal 1, exécutez la commande do-release-upgrade comme sur la figure 1. Il peut être noté que je passe un commutateur « -d ». C'est pour vérifier les canaux bêta lors d'une mise à jour. Utilisez ce commutateur à vos risques et périls. Autrement, vous devrez attendre jusqu' | Étape 1 : Dans le terminal 1, exécutez la commande do-release-upgrade comme sur la figure 1. Il peut être noté que je passe un commutateur « -d ». C'est pour vérifier les canaux bêta lors d'une mise à jour. Utilisez ce commutateur à vos risques et périls. Autrement, vous devrez attendre jusqu' | ||
- | Étape 2 : Après le lancement de la commande, les informations de votre dépôt seront | + | Étape 2 : Après le lancement de la commande, les informations de votre dépôt seront |
- | Quand vous voyez le curseur, validez en appuyant sur la touche | + | Quand vous voyez le curseur, validez en appuyant sur la touche Entrée. La mise à jour rafraîchira maintenant les dépôts vers les nouveaux. |
**Step 3: This is very important if you are going to speed up the release upgrade. When you see what is shown in the image below, DO NOTHING. | **Step 3: This is very important if you are going to speed up the release upgrade. When you see what is shown in the image below, DO NOTHING. | ||
Ligne 44: | Ligne 44: | ||
When you hit enter, all the required packages for the release upgrade will be downloaded using the aria2c multithreaded download manager. Your terminal will look like the image below.** | When you hit enter, all the required packages for the release upgrade will be downloaded using the aria2c multithreaded download manager. Your terminal will look like the image below.** | ||
+ | |||
+ | Étape 3 : Celle-ci est très importante si vous voulez accélérer la montée de version. Quand vous voyez ce qui est montré sur l' | ||
+ | |||
+ | Si vous voyez le curseur, c'est le moment de passer sur un autre terminal. Passez à l' | ||
+ | |||
+ | Étape 4 : Dans la nouvelle fenêtre de terminal, entrez la commande dist-upgrade comme montré ci-dessus. | ||
+ | |||
+ | NOTE : n' | ||
+ | |||
+ | Quand vous appuyez sur Entrée, tous les paquets nécessaires à la montée de version seront téléchargés en utilisant le gestionnaire de téléchargement parallélisé aria2c. Votre terminal ressemblera à l' | ||
**Step 5: This is a good time to open a third terminal and keep it in focus. It’s really easy to mess this up, and this helps to prevent other issues. Off jog the window a bit so you can see when the dist-upgrade command is done running. When it looks like the image top right, proceed to the next step. Remember DO NOTHING... | **Step 5: This is a good time to open a third terminal and keep it in focus. It’s really easy to mess this up, and this helps to prevent other issues. Off jog the window a bit so you can see when the dist-upgrade command is done running. When it looks like the image top right, proceed to the next step. Remember DO NOTHING... | ||
Ligne 50: | Ligne 60: | ||
Other things happen in the do-release-upgrade command; such as removing obsolete packages. We want to take advantage of this. So enter “n” and close the terminal. Now we come “full circle” to terminal 1.** | Other things happen in the do-release-upgrade command; such as removing obsolete packages. We want to take advantage of this. So enter “n” and close the terminal. Now we come “full circle” to terminal 1.** | ||
+ | |||
+ | Étape 5 : C'est le bon moment pour ouvrir un troisième terminal et le gardez au premier plan. Il est très facile de se mélanger les pinceaux et ceci aide à prévenir d' | ||
+ | |||
+ | Étape 6 : Quand la commande dist-upgrade a fini de télécharger, | ||
+ | |||
+ | D' | ||
**That’s right, we are now ready to proceed with the upgrade. Enter “y”. Here’s what will happen next. The system will attempt to download the required packages and notice that they are already downloaded. So then it will commence with the upgrade and start installing packages. | **That’s right, we are now ready to proceed with the upgrade. Enter “y”. Here’s what will happen next. The system will attempt to download the required packages and notice that they are already downloaded. So then it will commence with the upgrade and start installing packages. | ||
Ligne 56: | Ligne 72: | ||
Congratulations, | Congratulations, | ||
+ | |||
+ | Ça y est, nous sommes maintenant prêts pour procéder à la montée de version. Entrez « y ». Voici ce qui arrive ensuite. Le système tentera de télécharger les paquets requis et notera qu'ils le sont déjà. Aussi, il démarrera alors la montée de version et commencera à installer les paquets. | ||
+ | |||
+ | C'est ici que votre système vous imposera la durée de la montée de version car les vitesses des processeur, mémoire, disque entrent toutes en jeu. À la fin de l' | ||
+ | |||
+ | Félicitations, | ||
**Notes | **Notes | ||
Ligne 64: | Ligne 86: | ||
Thanks for reading, and enjoy the following flow as a cheat-sheet.** | Thanks for reading, and enjoy the following flow as a cheat-sheet.** | ||
+ | |||
+ | Notes | ||
+ | |||
+ | • Essayez-la dans une machine virtuelle (VM) avant de le faire dans une machine réelle, souvenez-vous des instantanés. Devenez à l'aise avec la succession des étapes. | ||
+ | • Souvenez-vous que vos PPA sont désactivés | ||
+ | • Ceci fonctionne avec la mise à jour dans un affichage graphique. Suivez les demandes de réponse pour savoir quand réaliser dist-upgrade. | ||
+ | |||
+ | Merci de m' | ||
**Cheat Sheet | **Cheat Sheet | ||
Ligne 69: | Ligne 99: | ||
Terminal 1: | Terminal 1: | ||
• Execute the do-release-upgrade command: | • Execute the do-release-upgrade command: | ||
- | • sudo do-release-upgrade | + | • sudo do-release-upgrade |
- | • If you’re bold, you may also do this with the do-release-upgrade -d, but I suggest you try this first in a VM to get comfortable with the process. | + | • If you’re bold, you may also do this with the do-release-upgrade -d, but I suggest you try this first in a VM to get comfortable with the process. |
• If you do not use PPAs, continue to the next bullet. If you do use PPAs, you’ll eventually see a prompt that they will be disabled. Hit yes and let the process continue. | • If you do not use PPAs, continue to the next bullet. If you do use PPAs, you’ll eventually see a prompt that they will be disabled. Hit yes and let the process continue. | ||
• ALERT. Had to get your attention. You’ll eventually see a large prompt saying: | • ALERT. Had to get your attention. You’ll eventually see a large prompt saying: | ||
- | • X number of packages are obsolete | + | • X number of packages are obsolete |
- | • Y number of packages are new | + | • Y number of packages are new |
- | • Z number of packages will be updated. | + | • Z number of packages will be updated. |
- | • STOP STOP, just read. | + | • STOP STOP, just read. |
- | • Then a prompt saying “press y to continue”. | + | • Then a prompt saying “press y to continue”. |
• DON’T do anything, Move on to the next section.** | • DON’T do anything, Move on to the next section.** | ||
+ | |||
+ | Aide-mémoire | ||
+ | |||
+ | Terminal 1 : | ||
+ | |||
+ | • Exécutez la commande do-release-upgrade : | ||
+ | • sudo do-release-upgrade | ||
+ | • Si vous êtes audacieux, vous pouvez aussi le faire avec la commande do-release-upgrade -d, mais je vous suggère de l' | ||
+ | • Si vous n' | ||
+ | |||
+ | • ALERTE. J' | ||
+ | • X paquets sont périmés | ||
+ | • Y paquets sont nouveaux | ||
+ | • Z paquets seront mis à jour | ||
+ | • STOP, STOP. Ne faîtes que lire. | ||
+ | • Il y a ensuite un texte disant « appuyez sur y pour continuer ». | ||
+ | |||
+ | • NE FAITES RIEN. Passez à la section suivante. | ||
**Terminal 2: | **Terminal 2: | ||
Ligne 88: | Ligne 136: | ||
• DO NOT use the “-y”. But go ahead and hit enter once. | • DO NOT use the “-y”. But go ahead and hit enter once. | ||
- | • This is where I suggest a third terminal and put it in focus. It’s far too easy to mess things up. And I’m here to say this is safe. | + | • This is where I suggest a third terminal and put it in focus. It’s far too easy to mess things up. And I’m here to say this is safe.** |
- | Terminal 3: | + | Terminal 2 : |
+ | |||
+ | • Exécuter la commande apt-fast : | ||
+ | • sudo apt-fast dist-upgrade | ||
+ | • N' | ||
+ | |||
+ | • C'est ici que je propose un troisième terminal, à mettre au premier plan. C'est trop facile de se mélanger les pinceaux. Et je suis là pour vous dire que c'est plus sûr. | ||
+ | |||
+ | **Terminal 3: | ||
• When you open the third terminal, move it a bit out of the way so that you can SEE terminal 2. | • When you open the third terminal, move it a bit out of the way so that you can SEE terminal 2. | ||
- | • Just wait, since terminal 2 is downloading multithread style, it should only take a few minutes.** | + | • Just wait, since terminal 2 is downloading multithread style, it should only take a few minutes. |
- | **• When you notice Terminal 2 finished, it will be prompting you to continue. The ANSWER is no. | + | • When you notice Terminal 2 finished, it will be prompting you to continue. The ANSWER is no.** |
- | Terminal 2: | + | Terminal 3 : |
+ | |||
+ | • Quand vous ouvrez le troisième terminal, déplacez-le un peu de côté pour bien voir le terminal 2. | ||
+ | |||
+ | • Attendez, car le terminal 2 exécute un téléchargement parallélisé ; il ne devrait prendre que quelques minutes. | ||
+ | |||
+ | • Quand vous voyez que le terminal 2 a fini, il vous demandera si on continue. La RÉPONSE est non. | ||
+ | |||
+ | **Terminal 2: | ||
• Return to terminal 2 and enter ‘n’ to leave the apt-fast command. That was easy. Let’s go back to terminal 1. | • Return to terminal 2 and enter ‘n’ to leave the apt-fast command. That was easy. Let’s go back to terminal 1. | ||
Ligne 109: | Ligne 173: | ||
• Here’s what will happen:** | • Here’s what will happen:** | ||
+ | |||
+ | Terminal 2 : | ||
+ | |||
+ | • Retournez au terminal 2 et entrez « n » pour quitter la commande apt-fast. C' | ||
+ | |||
+ | Terminal 1 : | ||
+ | |||
+ | • Maintenant, vous êtes prêt à continuer la montée de version. | ||
+ | |||
+ | • Entrez « y » pour continuer. | ||
+ | |||
+ | • Voici ce qui se passera : | ||
+ | |||
+ | |||
**• The next step for do-release-upgrade is to download all required packages. But we just did that using apt-fast. | **• The next step for do-release-upgrade is to download all required packages. But we just did that using apt-fast. | ||
• So, when do-release-upgrade notices the cache is up-to-date, it will casually move on to the next step; Installing the packages... | • So, when do-release-upgrade notices the cache is up-to-date, it will casually move on to the next step; Installing the packages... | ||
• This is where apt-fast may not seem like a winner. But it is. While installing the updates, this part of the process is plagued by your hardware: RAM, CPU, drive speed. | • This is where apt-fast may not seem like a winner. But it is. While installing the updates, this part of the process is plagued by your hardware: RAM, CPU, drive speed. | ||
- | • At the end of this, you;ll be prompted to remove obsolete software, go ahead and enter “y”. | + | • At he end of this, you;ll be prompted to remove obsolete software, go ahead and enter “y”. |
• At the end of this, you’ll be prompted to reboot the system, go ahead and enter “y”** | • At the end of this, you’ll be prompted to reboot the system, go ahead and enter “y”** | ||
+ | |||
+ | • L' | ||
+ | • Aussi, quand do-release-upgrade se rend compte que le cache est à jour, il va simplement passer à l' | ||
+ | • C'est là que apt-fast ne semble pas être le grand vainqueur. Mais il l'est. L' | ||
+ | • À la fin de ceci, il vous sera demandé si les paquets obsolètes doivent être enlevés ; allez-y et répondez « y ». | ||
+ | • Puis, il vous sera demandé de redémarrer le système ; allez-y et répondez « y ». | ||
+ | |||
issue133/tutoriel1.txt · Dernière modification : 2018/06/16 09:36 de christo.2so