issue201: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 | ||
issue201:q._et_r [2024/01/27 17:37] – créée auntiee | issue201:q._et_r [2024/01/29 14:19] (Version actuelle) – d52fr | ||
---|---|---|---|
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, | ||
- | I love how government departments have all these so-called “anonymous” reporting and whistle blowers posters up. The websites and intranets are peppered with these, but it never gets used, as everyone knows it is neither anonymous nor is there any real whistle blower protection, unless you are connected. Working with these people you realise they know that on an instinctive level too. They have security training and seminars, but the only reason the staff go is to get a day off and for the food and gifts. It was whilst I was waiting for my contact the one day and someone came to report some security concern. The response was wide eyes, an angry expression and the reporter was told to “keep to their own lane” and not interfere with other department’s domains. IT security is everyone’s domain, but if you are in a government job, you know you get paid too much to be there, and can get away with doing the bare minimum, as you cannot really be dismissed. (Here anyway) Why risk it to report something and actually stand a chance to lose your job? It was not the first place or time I had heard that expression, when reporting something, but the scorn the person received will stay with me until the end! We as home users don’t have to worry about that sort of thing, but be safe in 2024 none-the less. Lock your safety gates (recently, someone had their laptop stolen off a table 6ft away from the gate!) and lock your computer when you go away from it. I know of someone who got quite the shock when the kid authorized a whole bunch of Fortnight game purchases because the parents laptop was unlocked. Security, like charity, starts at home. | ||
+ | **I love how government departments have all these so-called “anonymous” reporting and whistle blowers posters up. The websites and intranets are peppered with these, but it never gets used, as everyone knows it is neither anonymous nor is there any real whistle blower protection, unless you are connected. Working with these people you realise they know that on an instinctive level too. They have security training and seminars, but the only reason the staff go is to get a day off and for the food and gifts. It was whilst I was waiting for my contact the one day and someone came to report some security concern. The response was wide eyes, an angry expression and the reporter was told to “keep to their own lane” and not interfere with other department’s domains. IT security is everyone’s domain, but if you are in a government job, you know you get paid too much to be there, and can get away with doing the bare minimum, as you cannot really be dismissed. (Here anyway) Why risk it to report something and actually stand a chance to lose your job? It was not the first place or time I had heard that expression, when reporting something, but the scorn the person received will stay with me until the end! We as home users don’t have to worry about that sort of thing, but be safe in 2024 none-the less. Lock your safety gates (recently, someone had their laptop stolen off a table 6ft away from the gate!) and lock your computer when you go away from it. I know of someone who got quite the shock when the kid authorized a whole bunch of Fortnight game purchases because the parents laptop was unlocked. Security, like charity, starts at home.** | ||
- | Q: Having issues here. I tried using youtube videos for installing mysql server on Ubuntu 22.04, but there is a difference and I’m not sure how to handle it. Also there are 2 packages, mysql-server and mysql-server-8.0, | + | J’aime vraiment le fait que les départements gouvernementaux ont des affiches sur leur mur concernant les rapports « anonymes » et les lanceurs d’alerte. Les sites Web et les intranets en ont beaucoup, mais personne ne les utilise, car tout le monde sait que ce n’est pas anonyme et ne comporte aucune protection pour les lanceurs d’alerte, à moins que vous ne soyez connecté. Quand vous travaillez avec ces gens-là, vous réalisez qu’ils le savent instinctivement aussi. Ils ont des formations sécuritaires et des séminaires, |
+ | |||
+ | |||
+ | **Q: Having issues here. I tried using youtube videos for installing mysql server on Ubuntu 22.04, but there is a difference and I’m not sure how to handle it. Also there are 2 packages, mysql-server and mysql-server-8.0, | ||
A: You need to tell me what that difference is, I cannot guess? If you are unsure about packages, do this: apt-cache search mysql-server | A: You need to tell me what that difference is, I cannot guess? If you are unsure about packages, do this: apt-cache search mysql-server | ||
+ | |||
Q: I’m running Ubuntu 23.04 in Virtualbox inside Ubuntu 22.04. I keep getting strange things happening when I change display resolution in the VM, the base OS browser will suddenly be too big for the screen, for instance or the VM display just goes black and I have to push ESC. I have never come across this before, do you have any insights? | Q: I’m running Ubuntu 23.04 in Virtualbox inside Ubuntu 22.04. I keep getting strange things happening when I change display resolution in the VM, the base OS browser will suddenly be too big for the screen, for instance or the VM display just goes black and I have to push ESC. I have never come across this before, do you have any insights? | ||
- | A: There could be a few things. My first check would be Vulkan, boot into an X11 session and see if it still happens. | + | A: There could be a few things. My first check would be Vulkan, boot into an X11 session and see if it still happens. |
- | Q: I read an article, which in turn led me down a rabbit hole. https:// | ||
+ | Q :J’ai des problèmes. J’ai essayé d’utiliser des vidéos sur YouTube pour installer le serveur mysql sur Ubuntu 22.04, mais il y a une différence et je ne sais pas comment la gérer. De plus, il y a deux paquets : msql-server et mysql-server-8.0, | ||
+ | |||
+ | R : Vous devez me préciser la différence, | ||
+ | |||
+ | |||
+ | Q : J’exécute Ubuntu 23.04 dans Virtualbox à l’intérieur d’Ubuntu 22.04. Des choses bizarres se passent quand je change la résolution de l’affichage dans la VM. Par exemple, le navigateur basique de l’OS sera tout à coup trop grand pour l’écran ou l’affichage de la VM deviendra tout noir et je dois appuyer sur échap. Je n’ai jamais vu cela auparavant. Avez-vous des idées ? | ||
+ | |||
+ | R : Il peut y avoir des choses. Vérifiez d' | ||
+ | |||
+ | |||
+ | **Q: I read an article, which in turn led me down a rabbit hole. https:// | ||
A: As far as I know, there is no way to check via the command line. Luckily you have Logitech components, so I can tell you about solaar. ( https:// | A: As far as I know, there is no way to check via the command line. Luckily you have Logitech components, so I can tell you about solaar. ( https:// | ||
Ligne 21: | Ligne 36: | ||
Q: I have some old SD cards from my camera, mostly 8Gb. I have decided to re-purpose them into boot disks for different *buntu distros, starting with Kubuntu. I have been testing them on the family’s old laptops. They are not THAT old, the oldest being an i3 with 2Gb of memory my daughter used at college. The results are hit and miss as most will not even boot to Kubuntu. Can you tell me what I should change here? | Q: I have some old SD cards from my camera, mostly 8Gb. I have decided to re-purpose them into boot disks for different *buntu distros, starting with Kubuntu. I have been testing them on the family’s old laptops. They are not THAT old, the oldest being an i3 with 2Gb of memory my daughter used at college. The results are hit and miss as most will not even boot to Kubuntu. Can you tell me what I should change here? | ||
+ | A: Firstly, not all laptops can boot off SD cards, you may need to update the BIOS for this to happen, and also set it as a boot device in the BIOS. Secondly, some old laptops cannot boot off a UEFI image. Thirdly, have you verified your download and also verified the written SD card?** | ||
- | A: Firstly, not all laptops can boot off SD cards, you may need to update the BIOS for this to happen, and also set it as a boot device in the BIOS. Secondly, some old laptops cannot boot off a UEFI image. Thirdly, have you verified your download and also verified the written SD card? | ||
+ | Q : J’ai lu un article qui, à son tour, m’a fait suivre Alice dans le terrier du lapin. | ||
+ | https:// | ||
- | Q: Can I install Ubuntu on a Synology NAS and use it as a media PC? | + | R : À ma connaissance, |
+ | |||
+ | Q : J’ai quelques vieilles cartes SD qui viennent de mon appareil photo, pour la plupart des 8 Go. J’ai décidé de les utiliser comme des disques de démarrage pour différentes distrib. *buntu, en commançant par Kubuntu. Je les teste sur des vieux portables à la maison. Ils ne sont pas SI vieux que cela : le plus âgé est un i3 avec 2 Go de RAM que ma fille utilisait à la fac. Les résultats sont aléatoires, | ||
+ | |||
+ | R : Tout d’abord, tous les portables ne peuvent pas démarrer sur une carte SD et vous devriez peut-être mettre le BIOS à jour pour que les vôtres puissent le faire en réglant la carte comme dispositif de démarrage dans le BIOS. Ensuite, certains vieux portables ne peuvent pas démarrer sur une image UEFI. Enfin, avez-vous vérifié votre téléchargement ainsi que la carte SD sur laquelle vous l’avez écrit ? | ||
+ | |||
+ | |||
+ | **Q: Can I install Ubuntu on a Synology NAS and use it as a media PC? | ||
A: I would guess you probably can, but how you would go about it, I cannot say. Best bet is to ask on the Synology forums. | A: I would guess you probably can, but how you would go about it, I cannot say. Best bet is to ask on the Synology forums. | ||
Ligne 33: | Ligne 57: | ||
Q: I am very new to Ubuntu WSL. I’m currently studying a course via Pakt and I’m running into issues. The error I can’t get rid of is; “Permission denied Cannot stat file”. I’m using sudo as the course suggested, but it does not seem to be enough. How can I get full root? | Q: I am very new to Ubuntu WSL. I’m currently studying a course via Pakt and I’m running into issues. The error I can’t get rid of is; “Permission denied Cannot stat file”. I’m using sudo as the course suggested, but it does not seem to be enough. How can I get full root? | ||
+ | A: OK, WSL is not Ubuntu proper, but let’s run with it. Windows and Linux work differently. In Linux I can have my cake and eat it too, by this I mean I can be editing a text file and I can delete it from the file system while editing. Windows does not work this way, it locks files you are using. It sounds like you have Windows locking a file. Close EVERYTHING using that file and try your file operation again. If not, reboot and before doing anything, perform your file operation.** | ||
- | A: OK, WSL is not Ubuntu proper, but let’s run with it. Windows and Linux work differently. In Linux I can have my cake and eat it too, by this I mean I can be editing a text file and I can delete it from the file system while editing. Windows does not work this way, it locks files you are using. It sounds like you have Windows locking a file. Close EVERYTHING using that file and try your file operation again. If not, reboot and before doing anything, perform your file operation. | ||
+ | Q : Est-il possible d’installer Ubuntu sur un NAS Synology et l’utiliser comme un PC média ? | ||
- | Q: Here’s the rub, the instructions are for Windows, but I use Ubuntu. They say to use Pycharm community edition and in the Pycharm terminal at the bottom, I should type pip install cryptography. This just does not work in Ubuntu and I am too shallow to know why, can you help me out? | + | R : C’est probable, mais je ne saurais pas du tout comment faire. Vous devriez poser la question sur les forums Synology. |
+ | |||
+ | |||
+ | Q : Je débute complètement sur Ubuntu WSL. Actuellement, | ||
+ | |||
+ | R : Bon. WSL, n’est pas vraiment Ubuntu, mais allons-y. Windows et Linux fonctionnent de façon différente. Dans Linux, je peux avoir le beurre et l’argent du beurre, ce qui signifie que je peux être en train d’éditer un fichier texte et je peux le supprimer du système de fichiers en même temps. Windows ne fonctionne pas comme cela. Il verrouille les fichiers pendant que vous les utilisez. J’ai l’impression que c’est Windows qui verrouille le fichier. Fermer TOUT ce qui utilise ce fichier-là et essayez l’opération sur le fichier à nouveau. Sinon, redémarrez et, avant de faire quoi que ce soit d’autre, faites l’opération sur le fichier. | ||
+ | |||
+ | |||
+ | **Q: Here’s the rub, the instructions are for Windows, but I use Ubuntu. They say to use Pycharm community edition and in the Pycharm terminal at the bottom, I should type pip install cryptography. This just does not work in Ubuntu and I am too shallow to know why, can you help me out? | ||
A: The terminal used in IDE’s is usually very basic, (I have no experience with PyCharm) you can try in your default terminal and you can also try “pip3 install” instead of pip install. That said, as far as I know, the cryptography module is installed in Ubuntu. (I just tested on mine, and it is there.) | A: The terminal used in IDE’s is usually very basic, (I have no experience with PyCharm) you can try in your default terminal and you can also try “pip3 install” instead of pip install. That said, as far as I know, the cryptography module is installed in Ubuntu. (I just tested on mine, and it is there.) | ||
Ligne 44: | Ligne 77: | ||
Q: I have vanilla ubuntu 23.10 installed on my system. In the settings I have selected dark theme in the appearance menu but some applications are still appearing in the light theme, like the store. I have rebooted, reinstalled, | Q: I have vanilla ubuntu 23.10 installed on my system. In the settings I have selected dark theme in the appearance menu but some applications are still appearing in the light theme, like the store. I have rebooted, reinstalled, | ||
- | A: Snaps do not adhere to system themes, they are self contained packages, with their own window and icon and mouse themes. | + | A: Snaps do not adhere to system themes, they are self contained packages, with their own window and icon and mouse themes.** |
- | Q: I'm trying to code with C using VS Code on Ubuntu, but it always takes so long to load. My system is a bit older, but it serves me fine, I just want to speed up the coding environment. Everything else works as I expect and I don’t really have other issues. | + | Q : Voici mon problème : les instructions sont pour Windows, mais j’utilise Ubuntu. Elles disent d’utiliser l’édition communautaire de Pycharm et, en bas du terminal Pycharm, de taper pip install cryptography. Cela ne fonctionne tout simplement pas dans Ubuntu et je suis trop superficiel pour savoir pourquoi. Pouvez-vous m’aider ? |
+ | R : Le terminal utilisé dans les IDE est généralement très basique. (Je ne connais pas du tout PyCharm.) Vous pouvez essayer dans votre terminal par défaut et vous pouvez également essayer « pip3 install » au lieu de pip install. Cela étant dit, à ma connaissance, | ||
+ | |||
+ | |||
+ | Q : Ubuntu 23.10 normale est installé sur mon système. Dans les paramètres, | ||
+ | |||
+ | R : Les snaps ne respectent pas le thèmes système, car ce sont de paquets autonomes avec leurs propres thèmes de fenêtres, icônes et souris. | ||
+ | |||
+ | |||
+ | **Q: I'm trying to code with C using VS Code on Ubuntu, but it always takes so long to load. My system is a bit older, but it serves me fine, I just want to speed up the coding environment. Everything else works as I expect and I don’t really have other issues. | ||
A: VS Code is large and then an electron app on top of that if memory serves. You could try preload. It may take a while to get you sorted as it needs to learn your patterns. On the other hand, why not try something lighter, like code:: | A: VS Code is large and then an electron app on top of that if memory serves. You could try preload. It may take a while to get you sorted as it needs to learn your patterns. On the other hand, why not try something lighter, like code:: | ||
Ligne 55: | Ligne 97: | ||
Q: I’m trying to use the extract here function, on a compressed file, filled with other compressed files. It is a ZIP file with RAR files inside. I have downloaded it multiple times, but when I extract, it only extracts the first file. I am using XFCE on Victoria, but the official version, I did not add a DE. | Q: I’m trying to use the extract here function, on a compressed file, filled with other compressed files. It is a ZIP file with RAR files inside. I have downloaded it multiple times, but when I extract, it only extracts the first file. I am using XFCE on Victoria, but the official version, I did not add a DE. | ||
+ | A: Victoria sounds like Linux Mint codenames, are you sure it is Ubuntu? I can recall seeing something similar before, but it had to do with the correct compression utilities not being installed. I suggest installing rar and unrar and p7zip (not unrar-free) and any other compression utility you may be using. Reboot and try again. If all else fails, try a different utility, like engrampa and see if it works in that.** | ||
+ | |||
+ | |||
+ | Q : J’essaie de coder en C avec VS Code sur Ubuntu, mais il lui faut très longtemps pour charger. Mon système est un peu vieux, mais je le trouve très bien. Tout ce que je veux, c’est améliorer la vitesse de l’environnement de codage. Tout le reste fonctionne comme je m’y attends et je n’ai vraiment pas d’autre problèmes. | ||
+ | |||
+ | R : VS Code est grand, avec une appli electron par-dessus, si mes souvenirs sont bons. Vous pouvez essayer la précharge. Cela peut prendre un certain temps, car il doit apprendre vos habitudes. D’autre part, pourquoi pas essayer quelque chose de plus léger, comme code:: | ||
+ | |||
+ | |||
+ | Q : J’essaie d’utiliser la fonction « extraire ici » sur un fichier compressé qui est rempli d’autres fichiers compressés. C’est un fichier ZIP qui contient des fichiers RAR. Je l’ai téléchargé de multiples fois, mais quand je l’extrais, | ||
+ | |||
+ | R : J’ai l’impression que Victoria est un nom de code de Linux Mint ; êtes-vous certain que c’est Ubuntu ? Je me souviens d’avoir vu quelque chose de similaire avant, mais c’était à propos d’utilitaires de compression corrects qui n’étaient pas installés. Je vous suggère d’installer rar et unrar et p7zip (pas unrar-free) et tout autre utilitaire de compression que vous voulez. Redémarrez et essayez à nouveau. Si tout échoue, essayez un autre utilitaire comme engrampa pour en voir le fonctionnement. | ||
- | A: Victoria sounds like Linux Mint codenames, are you sure it is Ubuntu? I can recall seeing something similar before, but it had to do with the correct compression utilities not being installed. I suggest installing rar and unrar and p7zip (not unrar-free) and any other compression utility you may be using. Reboot and try again. If all else fails, try a different utility, like engrampa and see if it works in that. | ||
+ | **Q: I’m semi-new to Ubuntu, and I have the following question. I'm sort of tired of “ubuntu focal Release' | ||
- | Q: I’m semi-new | + | A: The simplest way I can help you here is to tell you to Google the name of your desired PPA, then in Launchpad, there is a list at the bottom, listing all the supported versions, by codename. For instance, |
- | A: The simplest way I can help you here is to tell you to Google the name of your desired PPA, then in Launchpad, there is a list at the bottom, listing all the supported versions, by codename. For instance, I Google “boot-repair launchpad” and at the bottom I see “package in lunar” and “package in Jammy” for instance. On that note, don’t just install PPA’s by copy/paste before looking at Launchpad!! | + | Q : Je suis plus ou moins nouveau à Ubuntu et j’ai la question suivante. Je deviens fatigué de « ubuntu focal Release does not have a Release file ». Y a-t-il une commande pour vérifier cela AVANT d’installer une PPA ? Car je dois retourner et la supprimer à nouveau et je dois recharger la mise à jour d’apt à nouveau. C’est tout simplement que j’ai l’impression que cela peut être mieux géré. |
+ | R : La façon la plus simple de vous aider est de vous dire de rechercher sur Google le nom de la PPA désirée ; | ||
issue201/q._et_r.1706373445.txt.gz · Dernière modification : 2024/01/27 17:37 de auntiee