issue192:q._et_r
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue192:q._et_r [2023/04/29 18:52] – créée auntiee | issue192:q._et_r [2023/05/04 16:51] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | Welcome back to another edition of Questions and Answers! In this section we will endeavour to answer your Ubuntu questions. Be sure to add details of the version of your operating system and your hardware. I will try to remove any personally identifiable strings from questions, but it is best not to include things like serial numbers, UUIDs, or IP addresses. If your question does not appear immediately, | + | **Welcome back to another edition of Questions and Answers! In this section we will endeavour to answer your Ubuntu questions. Be sure to add details of the version of your operating system and your hardware. I will try to remove any personally identifiable strings from questions, but it is best not to include things like serial numbers, UUIDs, or IP addresses. If your question does not appear immediately, |
+ | Bienvenue de retour dans un nouvel épisode de Q. ET R. ! Dans cette rubrique, nous essayerons de répondre à vos questions sur Ubuntu. Assurez-vous d’ajouter les détails de la version de votre système d’exploitation et de votre matériel. J’essaierai d’enlever de vos questions toutes chaînes qui pourraient vous identifier personnellement, | ||
+ | **Not all developers are created equal. I had a meeting to do an induction with a new developer. He had not received his machine yet, courier issue, so I proceeded to help him set up his Windows laptop. Just so that he could get his email so long and communicate with his team etc. He had an issue setting up openvpn, so I asked him to share his screen so I could help him. I suddenly had flashbacks of Windows XP computers with icons and folders littering the desktop, all with the single purpose of pirating something. Folders like fix to download spiderman or whatever. Since the machine was also as slow as treacle running uphill, I suggested he do some virus scans.(Installing malwarebytes took 40 minutes!) In the end I continued helping him at a snail’s pace with everything freezing so often. To make matters worse, he would unplug the laptop power between every call, making the laptop even slower. After the roller coaster ride was over I asked him the specs of his machine. He blamed the i3 CPU for the slowness. Though it could be, the fact that the laptop had only 2Gb of memory was what caught my eye. Windows 10 alone may be fine, but running office as well as your frikking huge IDE and 3 different browsers with many open tabs... and you wonder why it freezes? Needless to say I had a good chuckle over a hot cuppa. ** | ||
- | Not all developers are created equal. I had a meeting to do an induction with a new developer. He had not received his machine | + | Tous les développeurs ne sont pas créés égaux. J’avais une réunion pour faire l' |
- | + | **Q: I was running EndeavourOS on my Thinkpad and the wifi kept dropping. So I went back to Ubuntu. I downloaded 20.04.2 this time and installed that. The problem followed. The big issue here is that it wasn’t an issue in 18.04. I checked dmesg to find -> “iwlwifi expected hw-decrypted unicast frame for station” before it disconnected. | |
- | + | ||
- | Q: I was running EndeavourOS on my Thinkpad and the wifi kept dropping. So I went back to Ubuntu. I downloaded 20.04.2 this time and installed that. The problem followed. The big issue here is that it wasn’t an issue in 18.04. I checked dmesg to find -> “iwlwifi expected hw-decrypted unicast frame for station” before it disconnected. | + | |
A: Your issue has been seen before: https:// | A: Your issue has been seen before: https:// | ||
Ligne 13: | Ligne 13: | ||
Q: Mistake by me. Formatted a USB flash drive, which was defined as sdc1. By mistake, when formatting through the terminal, I typed sdb1. Komputer stopped loading. | Q: Mistake by me. Formatted a USB flash drive, which was defined as sdc1. By mistake, when formatting through the terminal, I typed sdb1. Komputer stopped loading. | ||
- | A: Reinstall quick. | + | A: Reinstall quick.** |
- | Q: How can I see that my machines do not have PPA. | + | Q : J’avais EndeavourOS sur mon Thinkpad et le WiFi se déconnectait sans cesse. Je suis retourné donc à Ubuntu. J’ai téléchargé la 20.04.2 cette fois-là et l’ai installée. Le problème restait le même. Et c’est vraiment bizarre, parce que ce n’était pas un problème dans la 18.04. J’ai vérifié dmesg où j’ai trouvé « iwlwifi expected hw-decrypted unicast frame for station » avant sa déconnexion. |
+ | |||
+ | R : Votre problème est connu : https:// | ||
+ | |||
+ | Q : Mon erreur. J’ai formaté une clé USB qui était définie comme sdc1. Quand j’ai fait le formatage dans le terminal, j’ai malheureusement tapé sdb1. Komputer s’est arrêté de se charger. | ||
+ | |||
+ | R : Faites une réinstallation aussi vite que possible. | ||
+ | |||
+ | |||
+ | **Q: How can I see that my machines do not have PPA. | ||
A: Open your terminal and type: | A: Open your terminal and type: | ||
Ligne 23: | Ligne 32: | ||
Q: I have inherited a bunch of 2GB mini SD cards that I want to put distro’s on. I am clearing them, then reformatting them. The error I don’t understand says - mount: / | Q: I have inherited a bunch of 2GB mini SD cards that I want to put distro’s on. I am clearing them, then reformatting them. The error I don’t understand says - mount: / | ||
- | A: You could simply use the “disks” application if you run a GUI, or if you are using something like fdisk, remember that you still have to make the filesystem on the partition, even if it made the partition “Linux”. | + | A: You could simply use the “disks” application if you run a GUI, or if you are using something like fdisk, remember that you still have to make the filesystem on the partition, even if it made the partition “Linux”.** |
- | Q: I hope you can help me, I literally have this laptop and this problem, but it does not work for me. https:// | + | Q : Comment voir si mes machines n’ont pas de PPA ? |
+ | |||
+ | R : Ouvrez un terminal et tapez : find /etc/apt -name ' | ||
+ | |||
+ | Q : J’ai hérité d’un tas de cartes mini SD de 2 Go sur lesquelles je veux mettre des distro. Je les efface, puis les reformate. L’erreur que je ne comprends pas dit « - mount: / | ||
+ | |||
+ | R : Vous pouvez tout simplement utiliser l’application « disks » si vous avez une interface graphique ou, si vous utilisez quelque chose comme fdisk, souvenez-vous qu'il faut créer un système de fichiers sur la partition, même s’il a appelé la partition « Linux ». | ||
+ | |||
+ | |||
+ | **Q: I hope you can help me, I literally have this laptop and this problem, but it does not work for me. https:// | ||
A: My first stop would be the UEFI BIOS, and make sure it does not boot to windows under the boot section. I looked at the answer and the XPS BIOS does not look like that. Tap F2 to enter the BIOS and you should see a block marked boot. My money is on the first entry being windows boot manager or something similar. | A: My first stop would be the UEFI BIOS, and make sure it does not boot to windows under the boot section. I looked at the answer and the XPS BIOS does not look like that. Tap F2 to enter the BIOS and you should see a block marked boot. My money is on the first entry being windows boot manager or something similar. | ||
Ligne 31: | Ligne 49: | ||
Q: So I ran apt-get update on an older PC that I haven’t updated in a long time, but it failed due to a 404 error. (Xenial) Is there no way to get all those updates until they actually died? | Q: So I ran apt-get update on an older PC that I haven’t updated in a long time, but it failed due to a 404 error. (Xenial) Is there no way to get all those updates until they actually died? | ||
- | A: The updates get archived, so it is possible. You need to change the repositories slightly, eg: http:// | + | A: The updates get archived, so it is possible. You need to change the repositories slightly, eg: http:// |
- | Q: I am learning LPI basics at the moment. They taught us about uptime and free. Are there more ways to do this? | + | Q : J’espère que vous pouvez m’aider, car j’ai vraiment ce portable et ce problème, mais ceci ne fonctionne pas pour moi. https:// |
+ | |||
+ | R : J’irais tout d’abord au BIOS UEFI pour m’assurer qu’il ne démarre pas sur Windows dans la section boot. J’ai regardé la réponse et le BIOS XPS ne ressemble pas à cela. Tapez F2 pour entrer dans le BIOS et vous devriez voir une section appelé boot. Je parie que la première entrée est le gestionnaire de démarrage Windows ou quelque chose de similaire. | ||
+ | |||
+ | Q : Bon, j’ai exécuté apt-get update sur un PC vieillissant que je n’ai pas mis à jour depuis longtemps, mais cela a échoué à cause d’une erreur 404. (Xenial) N’y a-t-il pas une façon pour avoir toutes ces mises à jour jusqu’à leur véritable mort ? | ||
+ | |||
+ | R : Les mises à jour sont archivées et c’est donc possible. Il faut modifier les dépôts un peu, par exemple : | ||
+ | (https:// | ||
+ | |||
+ | |||
+ | **Q: I am learning LPI basics at the moment. They taught us about uptime and free. Are there more ways to do this? | ||
A: Sure, but for the exam, no. May I suggest looking at the github page for neofetch, it is all bash, to see how he does it. Inxi is another. You could even go ‘old skool’ and use ls. Try typing lsmem. You gave me an idea for CnC, thank you. | A: Sure, but for the exam, no. May I suggest looking at the github page for neofetch, it is all bash, to see how he does it. Inxi is another. You could even go ‘old skool’ and use ls. Try typing lsmem. You gave me an idea for CnC, thank you. | ||
Ligne 39: | Ligne 67: | ||
Q: Hi, I am still new at this, don’t brush me off please. I want to take the output of lsb_release –a and display it in a nice GUI window, but there is an error at the top saying; No LSB modules are available. Is this necessary??? | Q: Hi, I am still new at this, don’t brush me off please. I want to take the output of lsb_release –a and display it in a nice GUI window, but there is an error at the top saying; No LSB modules are available. Is this necessary??? | ||
- | A: The computer did what you asked it to do. You can trim the output, for example: lsb_release –crid | + | A: The computer did what you asked it to do. You can trim the output, for example: lsb_release –crid |
- | Q: Is it possible for me to have natural scrolling for my mouse, but not my touchpad? Ubuntu 22.04, Dell 7420, 16Gb | + | Q : J’apprends actuellement les bases de LPI. Ainsi, j’ai vu uptime et free. Y a-t-il plus de façons de le faire ? |
+ | |||
+ | R : Oui, bien sûr, mais pas pour l’examen. Je vous suggère de regarder la page github pour neofetch, car tout est en bash, pour voir comment lui, il le fait. Inxi en est un autre. Vous pourriez même retourner à la « vieille école » et utiliser ls. Faites un essai en tapant lsmem. Vous m’avez donné une idée pour C&C et je vous en remercie. | ||
+ | |||
+ | Q : Salut, ne m’abandonnez pas, s’il vous plaît, car je suis encore un débutant. Je veux prendre la sortie de lsb_release -a et l’afficher dans une jolie fenêtre dans l’interface graphique, mais en haut il y a une erreur qui dit No LSB modules are available. Est-ce bien nécessaire ??? | ||
+ | |||
+ | R : L’ordinateur a fait ce que vous lui avez demandé. Vous pouvez | ||
+ | |||
+ | |||
+ | **Q: Is it possible for me to have natural scrolling for my mouse, but not my touchpad? Ubuntu 22.04, Dell 7420, 16Gb | ||
A: Not that I know of. | A: Not that I know of. | ||
Ligne 47: | Ligne 84: | ||
Q: This is what I want to do, I want to upgrade from 16.04 to 22.04 without having to go through all the rigmarole in-between. There must be a way. I haven’t got time to sit around and play technician. Let me have it. | Q: This is what I want to do, I want to upgrade from 16.04 to 22.04 without having to go through all the rigmarole in-between. There must be a way. I haven’t got time to sit around and play technician. Let me have it. | ||
- | A: Step 1, copy your home folder to an external disk. Step 2, install Ubuntu 22.04 over 16.04. Step 3, copy the contents of your home folder back. | + | A: Step 1, copy your home folder to an external disk. Step 2, install Ubuntu 22.04 over 16.04. Step 3, copy the contents of your home folder back.** |
- | Q: Why is it that even if I disable a service, it can start running again? I want to disable, for instance, | + | Q : Est-il possible d’avoir un défilement naturel pour ma souris, mais pas pour mon pavé tactile ? Ubuntu 22.04, Dell 7420, 16 Go |
+ | |||
+ | R : Pas à ma connaissance. | ||
+ | |||
+ | Q : Voici ce que je voudrais faire : je voudrais mettre à jour la 16.04 vers la 22.04 sans devoir passer par toutes les versions intermédiaires. Il doit y avoir une façon de le faire. Je n’ai pas le temps de jouer au technicien. Dites-le-moi. | ||
+ | |||
+ | R : Premièrement, | ||
+ | |||
+ | |||
+ | **Q: Why is it that even if I disable a service, it can start running again? I want to disable, for instance, | ||
A: There has been a lot of discussion around oomd that I did not follow. However, I think your issue lies with systemctl. Just think of systemctl this way, disabling it, just prevents the initial start up. It does not stop other programs calling it. You need to mask it if you want it invisible/ | A: There has been a lot of discussion around oomd that I did not follow. However, I think your issue lies with systemctl. Just think of systemctl this way, disabling it, just prevents the initial start up. It does not stop other programs calling it. You need to mask it if you want it invisible/ | ||
Ligne 55: | Ligne 101: | ||
Q: My team keeps telling me there is no connection on Ubuntu, but I don’t have this issue on MacOS. What is the problem? I tried reinstalling it, but it did not help. | Q: My team keeps telling me there is no connection on Ubuntu, but I don’t have this issue on MacOS. What is the problem? I tried reinstalling it, but it did not help. | ||
- | A: Just wait, you will have that issue on MacOS. Since teams is basically chromium, you need to exit it completely and remove all the cache files. When you restart it, it will re-populate these files and you can work as normal. | + | A: Just wait, you will have that issue on MacOS. Since teams is basically chromium, you need to exit it completely and remove all the cache files. When you restart it, it will re-populate these files and you can work as normal.** |
- | Q: My fresh Ubuntu install on a Dell XPS with 32 GB memory and 1TB Nvme is slow and sluggish. On the other hand Windows 11 is greased lightning on it. What can the problem be? | + | Q : Pourquoi, quand je désactive un service, il peut recommencer à s’exécuter ? Je veux désactiver, |
+ | |||
+ | R : Il y a eu une longue discussion sur oomd que je n’ai pas suivie. Toutefois, je pense que votre problème est avec systemctl. Pensez-y de cette façon : la désactivation de systemctl n' | ||
+ | |||
+ | Q : Mon team n’a de cesse de me dire qu’il n’y a pas de connexion sur Ubuntu, mais je n’ai pas ce problème sur MacOS. Quel est le problème ? | ||
+ | |||
+ | R : Il suffit d’attendre et vous aurez le même problème sur MacOS. Puisque teams est chromium à la base, il faut en sortir complètement et supprimer tous les fichiers cache. Quand vous redémarrerez votre système, les bons fichiers y seront et vous pourrez travailler normalement. | ||
+ | |||
+ | |||
+ | **Q: My fresh Ubuntu install on a Dell XPS with 32 GB memory and 1TB Nvme is slow and sluggish. On the other hand Windows 11 is greased lightning on it. What can the problem be? | ||
A: As I will be transitioning to one soon, I will let you know, but in my experience, secure boot is usually to blame. Try turning it off and installing again. | A: As I will be transitioning to one soon, I will let you know, but in my experience, secure boot is usually to blame. Try turning it off and installing again. | ||
Ligne 63: | Ligne 118: | ||
Q: I have to ask, is there some way I can use facial recognition for Ubuntu? My fingerprint sensor on my laptop is not working under Ubuntu, only Windows, but if I can just open the laptop and it can scan my face, it will be even better. | Q: I have to ask, is there some way I can use facial recognition for Ubuntu? My fingerprint sensor on my laptop is not working under Ubuntu, only Windows, but if I can just open the laptop and it can scan my face, it will be even better. | ||
- | A: I am unsure here, but there is a project doing that: https:// | + | A: I am unsure here, but there is a project doing that: https:// |
+ | |||
+ | Q : Ma nouvelle installation d’Ubuntu sur un Dell XPS avec 32 Go de RAM et 1 To de Nvme est lente et molle. En revanche, Windows 11 est rapide comme l’éclair. Où est le problème ? | ||
+ | |||
+ | R : Puisque je vais passer à une telle machine bientôt, je vous le dirai, mais, d’après mon expérience, | ||
+ | |||
+ | Q : Je suis obligé de poser cette question : y a-t-il une façon d’utiliser la reconnaissance faciale sous Ubuntu ? Le capteur d’empreinte digitale sur mon portable ne fonctionne pas sous Ubuntu, mais uniquement sous Windows. Mais si je peux tout simplement ouvrir le portable et qu'il peut scanner mon visage, ce sera encore mieux. | ||
+ | |||
+ | R : Je ne suis pas certain ici, mais il y a un projet qui travaille dessus : |
issue192/q._et_r.1682787126.txt.gz · Dernière modification : 2023/04/29 18:52 de auntiee