Outils pour utilisateurs

Outils du site


issue84:q_r

Q Upgrading some software the other day, now the computer will boot only in recovery mode and only to the command line. What should I do? A (Much thanks to Roy “linuxcanuck” in the Yahoo Ubuntu Linux Group) This usually happens when an upgrade is partial. Boot into recovery mode, then try to fix broken dpkg from the list of options. Afterwards go into root shell and do: sudo apt-get install -f (this will fix an incomplete upgrade from packages already downloaded.) Next do: sudo apt-get update (this will add new packages that might have been missing before.) Then: sudo apt-get upgrade (this will download and install the updates.) Exit back to recovery then choose update grub from the list. Reboot. If this does not work then try to boot an older kernel by choosing advanced options for your distribution. It might boot into GUI, but look awful, but then you can try to fix it from there.

Q J'ai mis à jour des logiciels l'autre jour et maintenant l'ordinateur ne démarre qu'en mode de récupération et seulement en ligne de commande. Que dois-je faire ?

R (Merci beaucoup à Roy « linuxcanuck » dans le groupe Yahoo Ubuntu Linux.) Cela se produit généralement quand une mise à niveau est partielle.

Démarrez en mode de récupération, puis essayez de réparer les dpkg cassés dans la liste des options.

Allez ensuite dans un terminal root et faites :

sudo apt-get install -f

(Cela va corriger une mise à niveau incomplète de paquets déjà téléchargés.)

Puis faites :

sudo apt-get update

(Cela va ajouter de nouveaux paquets qui auraient été absents auparavant.)

Puis :

sudo apt-get upgrade

(Cela va télécharger et installer les mises à jour.)

Ressortez vers le mode de récupération puis choisissez dans la liste de mise à jour grub. Redémarrez.

Si cela ne fonctionne pas, essayez de démarrer un noyau plus ancien en choisissant les options avancées de votre distribution. Il se peut qu'il lance une interface graphique qui semble horrible, mais vous pouvez alors essayer de le réparer à partir de là.

Q I have a root (/) partition and a home (/home) partition. If I set up virtual machines in Virtualbox, will they use space in my root partition? A No, the virtual machines will use space in your home partition. Q I want to watch or record over-the-air digital TV. What is my best bet for hardware? A (Thanks to TheFu in the Ubuntu forums) Check out the HD Homerun network tuners. They work best when connected to your router by Ethernet cable.

Q J'ai une partition racine (/) et une partition d'accueil (/home). Si je met en place des machines virtuelles dans Virtualbox, est-ce qu'elles vont utiliser l'espace de ma partition racine ?

R Non, les machines virtuelles vont utiliser l'espace de votre partition d'accueil.

Q Je veux regarder ou enregistrer la télé numérique à distance (over-the-air OTA). Que dois-je prendre comme appareil ?

R (Merci à TheFu sur les forums Ubuntu.) Regardez les tuners réseau HD Homerun. Ils fonctionnent le mieux quand ils sont connectés à votre routeur par un câble Ethernet.

Q How can I transfer files between two Linux systems using just an Ethernet cable, with no router? A (Thanks to SeijiSensei in the Ubuntu Forums) Modern network adapters have an “auto-sensing” ability to detect which pair of connectors should be used. I'd give your regular Ethernet cable a try and see if it works. If not, you need to buy a crossover cable. Once the computers are connected, give them IP addresses. On one system, run this command: sudo ifconfig eth0 10.1.1.1 netmask 255.255.255.0 broadcast 10.1.1.255 And on the other one, this command: sudo ifconfig eth0 10.1.1.2 netmask 255.255.255.0 broadcast 10.1.1.255 You can use the ping command to check that they see each other. To copy files, use rsync, for example: rsync -r -a -v -e “ssh -l satimis” Temp_Storage/* 10.1.1.2:/home/satimis/Temp_Storage/

Q Comment puis-je transférer des fichiers entre deux systèmes Linux en utilisant seulement un câble Ethernet, sans routeur ?

R (Merci à SeijiSensei sur les forums Ubuntu.) Les cartes réseau modernes sont capables « d'auto-détection » pour déterminer la paire de fils à utiliser. J'essayerais votre câble Ethernet standard pour voir si cela fonctionne. Sinon, vous devez acheter un câble croisé.

Une fois que les ordinateurs sont connectés, vous devez leur donner des adresses IP. Sur un système, exécutez la commande suivante :

sudo ifconfig eth0 10.1.1.1 netmask 255.255.255.0 broadcast 10.1.1.255

Et sur l'autre, cette commande :

sudo ifconfig eth0 10.1.1.2 netmask 255.255.255.0 broadcast 10.1.1.255

Vous pouvez utiliser la commande ping pour vérifier qu'ils se voient réciproquement.

Pour copier des fichiers, utilisez rsync, par exemple :

rsync -r -a -v -e “ssh -l satimis” Temp_Storage/* 10.1.1.2:/home/satimis/Temp_Storage/

Top new questions at Askubuntu * What are the alternatives to Ubuntu One? http://goo.gl/O7ygOK * What is the “Free software only” option when installing Ubuntu? http://goo.gl/cpScCm * How to make `man` work for shell built-in commands and keywords? http://goo.gl/3jJ9PX * ISP Blocked port 25 because of spamming http://goo.gl/7iBGis * Can a Windows virus transfer to Ubuntu? http://goo.gl/whfscw

Nouvelles questions fréquentes sur AskUbuntu :

  • Quelles sont les alternatives à Ubuntu One ?

http://goo.gl/O7ygOK

  • Que signifie l'option « logiciel gratuit uniquement » lors de l'installation d'Ubuntu ?

http://goo.gl/cpScCm

  • Comment faire pour que « man » fonctionne pour les commandes et mots clés internes du shell ?

http://goo.gl/3jJ9PX

  • Mon fournisseur d'accès bloque le port 25 pour cause de spam.

http://goo.gl/7iBGis

  • Est-ce qu'un virus peut se transférer de Windows à Linux ?

http://goo.gl/whfscw

* What's wrong with my cat? http://goo.gl/RBjYPY * How to find active users in Ubuntu? http://goo.gl/27uYhi * Are hard links equivalent to Windows shortcuts? http://goo.gl/HYiURR * encrypting text editor? http://goo.gl/B7R2hx

* Quel est le problème avec mon cat ? [Ndt : jeu de mot sur cat=chat(animal)=commande de conCATenation de texte.] http://goo.gl/RBjYPY

* Comment lister les utilisateurs actif sur Ubuntu ? http://goo.gl/27uYhi

* Est-ce que les liens en dur sont la même chose que les raccourcis de Windows ? http://goo.gl/HYiURR

* Un éditeur de texte cryptant ? http://goo.gl/B7R2hx

Tips and Techniques Getting the Latest I recently ran across a guide to installing a current version of the kernel and Nvidia video driver in my somewhat older version of Linux. My Daily Driver is Linux Mint 13 LTS. It works fine, but I wondered if I would notice any improvement by getting up-to-date. The blog pointed to two web pages, which apply to Ubuntu and Mint: http://www.upubuntu.com/2014/02/install-linux-kernel-3135-in.html http://www.upubuntu.com/2014/03/install-nvidia-display-driver-33421-new.html I normally don't mess around with my “production system,” but I decided to go for it this time. Installing the kernel went smoothly, as I jumped from 3.2 to 3.13. However, it said I was running in Fallback Mode after rebooting. I needed to install the new video driver to get back to normal.

Trucs et Astuces

Obtenir la dernière version

J'ai récemment parcouru un guide de l'installation d'une version actuelle du noyau et du pilote vidéo Nvidia sur ma version un peu plus vieille de Linux.

Mon pilote actuel est celui de Linux Mint 13 LTS. Il fonctionne très bien, mais je me demandais si j'allais constater une quelconque amélioration en le mettant à jour. Le blog a indiqué deux pages, qui s'appliquent à Ubuntu et Mint :

http://www.upubuntu.com/2014/02/install-linux-kernel-3135-in.html

http://www.upubuntu.com/2014/03/install-nvidia-display-driver-33421-new.html

D'habitude je ne bricole pas dans mes « systèmes de production », mais j'ai décidé de le faire cette fois-ci.

L'installation du noyau s'est bien passée, pendant que je sautais de la 3.2 à la 3.13. Mais il a dit que j'étais en mode de secours après le redémarrage. J'ai dû réinstaller le nouveau pilote vidéo pour revenir à la normale.

Partway through the procedure, I was running Linux from the command line! Fortunately, I was able to fire up my laptop and go to the web page, to see what commands I should type in. They worked fine, and when I rebooted, everything looked normal. Did it make any difference? Yes, a little bit. I recently upgraded my monitor to a Dell Ultrasharp (yummy!) and f.lux didn't make it dimmer and warmer at dusk, with the reverse at dawn. After the upgrade, it worked. Long time readers know I have a temperature f*t*sh, and I think the upgrades reduced the CPU and video card temperatures by a couple of degrees. I'm not sure of this, but I think dust build-up had raised both of them to about 50 Centigrade at idle, and now they are below that. There's one big side-effect: Linux Mint 17, the next LTS version, will come out in a few weeks, and I'm not going to be in any rush to install it. I might even leave things as they are for another couple of years.

Au milieu du processus, j'ai lancé Linux à partir de la ligne de commande ! Heureusement, j'ai pu allumer mon portable et aller sur la page Web pour voir les commandes que je devais saisir. Elles ont très bien fonctionné et, après un redémarrage, tout avait l'air normal.

Y avait-il une différence ? Oui, mais assez peu. J'avais récemment acheté un nouvel écran Dell Ultrasharp (excellent !) et f.lux ne le faisait pas baisser d'intensité au crépuscule, et l'inverse à l'aube. Après la mise à niveau, cela fonctionnait.

Les lecteurs de longue date savent que j'ai une obsession des températures et je pense que les mises à niveau ont réduit la température du processeur et de la carte graphique de deux ou trois degrés. Je n'en suis pas certain, mais je pense que l'accumulation de poussière avait causé une augmentation de ces températures jusqu'à environ 50°C lorsque la machine fonctionnait au repos et, maintenant, elles sont en dessous.

Il y a un effet secondaire majeur : Linux Mint 17, la prochaine version LTS, sortira dans quelques semaines et je ne vais pas me dépêcher de l'installer. Je pourrais même laisser les choses telles quelles pour encore deux ou trois années.

issue84/q_r.txt · Dernière modification : 2014/10/29 14:28 de andre_domenech