Probleme d'installation de KVM sous Ubuntu 16.04

Fermé
lebrice7 - Modifié par mamiemando le 29/08/2016 à 11:29
mamiemando Messages postés 33079 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 23 avril 2024 - 29 août 2016 à 14:40
Bonjour,

Je cherche la solution à mon probleme qui se présente ainsi :

sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
bridge-utils is already the newest version (1.5-9ubuntu1).
ubuntu-vm-builder is already the newest version (0.12.4+bzr494-0ubuntu1).
libvirt-bin is already the newest version (1.3.1-1ubuntu10.1).
qemu-kvm is already the newest version (1:2.5+dfsg-5ubuntu10.4).
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up libvirt-bin (1.3.1-1ubuntu10.1) ...
Job for libvirt-bin.service failed because the control process exited with error code. See "systemctl status libvirt-bin.service" and "journalctl -xe" for details.
invoke-rc.d: initscript libvirt-bin, action "start" failed.
dpkg: error processing package libvirt-bin (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
libvirt-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)


Si quelqu'un peut m'aider à le résoudre...

A voir également:

4 réponses

mamiemando Messages postés 33079 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 23 avril 2024 7 749
29 août 2016 à 11:35
Bonjour,

Que donne :
sudo journalctl -xe


Tu peux en attendant configurer tes locales correctement :

sudo dpkg-reconfigure locales


Dans l'interface qui apparaît :
1) coche fr_FR.UTF-8 (a priori c'est la seule dont tu as besoin)
2) dans l'écran suivant sélectionne fr_FR.UTF-8 en paramètres régionaux par défaut par défaut.

Bonne chance
0
mamiemando Messages postés 33079 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 23 avril 2024 7 749
29 août 2016 à 11:59
Pas compris le dernier messsage.

Quel problème as-tu résolu ? Les locales ?

Ensuite quelle question reste à résoudre ? L'instalation du paquet ? Car si c'est ça, comme dit dans mon précédent message, il faudrait que tu nous reporte le résultat de
sudo journalctl -xe 
.pour comprendre la cause du problème...
0
Salut Mamiemando,

le probleme de locales est resolu, j'ai pu installer les paquets avec la commande
sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
mais je ne sais pas comment les lancer, ci dessous est le resultat de la commande journalctl -xe:
journalctl -xe
Aug 29 12:24:41 lebrice-HP-ProBook-6470b /usr/lib/snapd/snapd[2639]: api.go:598: jumping to "find" to better support legacy request "/v2/snaps?q=kvm"
Aug 29 12:24:41 lebrice-HP-ProBook-6470b gnome-session[4701]: (gnome-software:4888): GsPlugin-WARNING **: failed to load stock icon preferences-system: Icon 'pref
Aug 29 12:24:41 lebrice-HP-ProBook-6470b gnome-session[4701]: (gnome-software:4888): Gs-WARNING **: Failed to create permission org.freedesktop.packagekit.trigger
Aug 29 12:24:42 lebrice-HP-ProBook-6470b gnome-session[4701]: (gnome-software:4888): Gs-WARNING **: Failed to create permission org.freedesktop.packagekit.trigger
Aug 29 12:24:42 lebrice-HP-ProBook-6470b gnome-session[4701]: (gnome-software:4888): GsPlugin-WARNING **: failed to load stock icon preferences-system: Icon 'pref
Aug 29 12:24:42 lebrice-HP-ProBook-6470b gnome-session[4701]: (gnome-software:4888): Gs-WARNING **: failed to get updates: no results to show
Aug 29 12:24:42 lebrice-HP-ProBook-6470b /usr/lib/snapd/snapd[2639]: daemon.go:160: DEBUG: uid=1000;@ GET /v2/snaps?q=kvm 1.22959115s 200
Aug 29 12:24:47 lebrice-HP-ProBook-6470b gnome-session[4701]: (gnome-software:4888): Gs-WARNING **: Failed to create permission org.freedesktop.packagekit.trigger
Aug 29 12:24:49 lebrice-HP-ProBook-6470b AptDaemon[8811]: INFO: UpdateCache() was called
Aug 29 12:24:49 lebrice-HP-ProBook-6470b org.debian.apt[2530]: 12:24:49 AptDaemon [INFO]: UpdateCache() was called
Aug 29 12:24:49 lebrice-HP-ProBook-6470b AptDaemon.Trans[8811]: INFO: Queuing transaction /org/debian/apt/transaction/b81aacf981bc46299d3b7f099b342398
Aug 29 12:24:49 lebrice-HP-ProBook-6470b org.debian.apt[2530]: 12:24:49 AptDaemon.Trans [INFO]: Queuing transaction /org/debian/apt/transaction/b81aacf981bc46299d
Aug 29 12:24:49 lebrice-HP-ProBook-6470b AptDaemon.Worker[8811]: INFO: Simulating trans: /org/debian/apt/transaction/b81aacf981bc46299d3b7f099b342398
Aug 29 12:24:49 lebrice-HP-ProBook-6470b org.debian.apt[2530]: 12:24:49 AptDaemon.Worker [INFO]: Simulating trans: /org/debian/apt/transaction/b81aacf981bc46299d3
Aug 29 12:24:49 lebrice-HP-ProBook-6470b AptDaemon.Worker[8811]: INFO: Processing transaction /org/debian/apt/transaction/b81aacf981bc46299d3b7f099b342398
Aug 29 12:24:49 lebrice-HP-ProBook-6470b org.debian.apt[2530]: 12:24:49 AptDaemon.Worker [INFO]: Processing transaction /org/debian/apt/transaction/b81aacf981bc46
Aug 29 12:24:49 lebrice-HP-ProBook-6470b AptDaemon.Worker[8811]: INFO: Updating cache
Aug 29 12:24:49 lebrice-HP-ProBook-6470b org.debian.apt[2530]: 12:24:49 AptDaemon.Worker [INFO]: Updating cache
Aug 29 12:24:51 lebrice-HP-ProBook-6470b gnome-session[4701]: (gnome-software:4888): Gs-WARNING **: Failed to create permission org.freedesktop.packagekit.trigger
Aug 29 12:24:52 lebrice-HP-ProBook-6470b pkexec[9739]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Aug 29 12:24:52 lebrice-HP-ProBook-6470b pkexec[9739]: pam_systemd(polkit-1:session): Cannot create session: Already running in a session
Aug 29 12:24:52 lebrice-HP-ProBook-6470b pkexec[9739]: lebrice: Executing command [USER=root] [TTY=unknown] [CWD=/home/lebrice] [COMMAND=/usr/lib/update-notifier/
Aug 29 12:24:52 lebrice-HP-ProBook-6470b gnome-session[4701]: /var/lib/dpkg/lock:
Aug 29 12:25:12 lebrice-HP-ProBook-6470b AptDaemon.Worker[8811]: INFO: Finished transaction /org/debian/apt/transaction/b81aacf981bc46299d3b7f099b342398
Aug 29 12:25:12 lebrice-HP-ProBook-6470b org.debian.apt[2530]: 12:25:12 AptDaemon.Worker [INFO]: Finished transaction /org/debian/apt/transaction/b81aacf981bc4629
Aug 29 12:25:12 lebrice-HP-ProBook-6470b gnome-session[4701]: (gnome-software:4888): Gs-WARNING **: Called switch_to(updates) when in mode overview
Aug 29 12:25:16 lebrice-HP-ProBook-6470b /usr/lib/snapd/snapd[2639]: api.go:519: DEBUG: use of obsolete "sources" parameter: "/v2/snaps?sources=local"
Aug 29 12:25:16 lebrice-HP-ProBook-6470b /usr/lib/snapd/snapd[2639]: daemon.go:160: DEBUG: uid=1000;@ GET /v2/snaps?sources=local 186.323µs 200
Aug 29 12:25:16 lebrice-HP-ProBook-6470b gnome-session[4701]: (gnome-software:4888): GsPlugin-WARNING **: failed to load stock icon preferences-system: Icon 'pref
Aug 29 12:25:16 lebrice-HP-ProBook-6470b /usr/lib/snapd/snapd[2639]: api.go:514: DEBUG: use of obsolete "q" parameter: "/v2/snaps?q=kvm"
Aug 29 12:25:16 lebrice-HP-ProBook-6470b snapd[2639]: 2016/08/29 12:25:16.165159 api.go:598: jumping to "find" to better support legacy request "/v2/snaps?q=kvm"
Aug 29 12:25:16 lebrice-HP-ProBook-6470b /usr/lib/snapd/snapd[2639]: api.go:598: jumping to "find" to better support legacy request "/v2/snaps?q=kvm"
Aug 29 12:25:16 lebrice-HP-ProBook-6470b gnome-session[4701]: (gnome-software:4888): Gs-WARNING **: Failed to create permission org.freedesktop.packagekit.trigger
Aug 29 12:25:17 lebrice-HP-ProBook-6470b gnome-session[4701]: (gnome-software:4888): GsPlugin-WARNING **: failed to load stock icon preferences-system: Icon 'pref
Aug 29 12:25:17 lebrice-HP-ProBook-6470b gnome-session[4701]: (gnome-software:4888): Gs-WARNING **: failed to get updates: no results to show
Aug 29 12:25:17 lebrice-HP-ProBook-6470b gnome-session[4701]: (gnome-software:4888): Gs-WARNING **: Failed to create permission org.freedesktop.packagekit.trigger
Aug 29 12:25:17 lebrice-HP-ProBook-6470b /usr/lib/snapd/snapd[2639]: daemon.go:160: DEBUG: uid=1000;@ GET /v2/snaps?q=kvm 1.510262976s 200
Aug 29 12:25:32 lebrice-HP-ProBook-6470b kernel: ERROR @wl_notify_scan_status : wlo1 Scan_results error (-22)
Aug 29 12:26:32 lebrice-HP-ProBook-6470b sudo[9912]: lebrice : TTY=pts/5 ; PWD=/home/lebrice ; USER=root ; COMMAND=/bin/ln -s /usr/bin/qemu-system-x86_64 /usr/bi
Aug 29 12:26:32 lebrice-HP-ProBook-6470b sudo[9912]: pam_unix(sudo:session): session opened for user root by lebrice(uid=0)
Aug 29 12:26:32 lebrice-HP-ProBook-6470b sudo[9912]: pam_unix(sudo:session): session closed for user root
Aug 29 12:26:53 lebrice-HP-ProBook-6470b kernel: ERROR @wl_notify_scan_status : wlo1 Scan_results error (-22)
Aug 29 12:27:52 lebrice-HP-ProBook-6470b pkexec[9923]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Aug 29 12:27:52 lebrice-HP-ProBook-6470b pkexec[9923]: pam_systemd(polkit-1:session): Cannot create session: Already running in a session
Aug 29 12:27:52 lebrice-HP-ProBook-6470b pkexec[9923]: lebrice: Executing command [USER=root] [TTY=unknown] [CWD=/home/lebrice] [COMMAND=/usr/lib/update-notifier/
Aug 29 12:28:55 lebrice-HP-ProBook-6470b gnome-session[4701]: ** (zeitgeist-datahub:5101): WARNING **: zeitgeist-datahub.vala:212: Error during inserting events:
Aug 29 12:32:36 lebrice-HP-ProBook-6470b kernel: ERROR @wl_notify_scan_status : wlo1 Scan_results error (-22)
lines 1478-1524/1524 (END)

quelqu'un peut m'aider?
0
mamiemando Messages postés 33079 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 23 avril 2024 7 749
29 août 2016 à 14:40
Ah ok donc si les paquets sont installés, il faut nous dire ce que tu veux lancer (je suppose qemu ?)

Dans ce cas le mieux est de repartir de la documentation ou d'un tutoriel kvm+qemu. Ces liens seraient par exemple un bon début :
https://doc.ubuntu-fr.org/kvm
https://wiki.debian.org/KVM
https://debian-facile.org/doc:systeme:kvm

Bonne chance
0
salut Mamiemando,

J'ai deja resolu le probleme ,je dois resoudre la question.
Merci beaucoup.
-1