storm66@club-internet.fr
2010-Sep-13 21:24 UTC
[Pkg-xen-devel] Bug#596765: xen: can't create a VM : no module named xmlproc
Package: xen
Severity: important
Hello,
New install of XEN 4.0, can't create a vm :
xm new k2000-shinken
Unexpected error: <type 'exceptions.ImportError'>
Please report to xen-devel at lists.xensource.com
Traceback (most recent call last):
File "/usr/lib/xen-4.0/bin/xm", line 8, in <module>
main.main(sys.argv)
File "/usr/lib/xen-4.0/lib/python/xen/xm/main.py", line 3620, in
main
_, rc = _run_cmd(cmd, cmd_name, args)
File "/usr/lib/xen-4.0/lib/python/xen/xm/main.py", line 3644, in
_run_cmd
return True, cmd(args)
File "<string>", line 1, in <lambda>
File "/usr/lib/xen-4.0/lib/python/xen/xm/main.py", line 1449, in
xm_importcommand
cmd = __import__(command, globals(), locals(), 'xen.xm')
File "/usr/lib/xen-4.0/lib/python/xen/xm/new.py", line 26, in
<module>
from xen.xm.xenapi_create import *
File "/usr/lib/xen-4.0/lib/python/xen/xm/xenapi_create.py", line 22,
in <module>
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
And when I try to get python-xmlproc I get :
apt-get install python-xml
Lecture des listes de paquets... Fait
Construction de l'arbre des d?pendances
Lecture des informations d'?tat... Fait
Certains paquets ne peuvent ?tre install?s. Ceci peut signifier
que vous avez demand? l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
?t? cr??s ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider ? r?soudre la situation?:
Les paquets suivants contiennent des d?pendances non satisfaites?:
python-xml : D?pend: python (< 2.6) mais 2.6.6-1 devra ?tre install?
E: Paquets d?fectueux
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Maybe Matching Threads
- Bug#596765: xen-utils-4.0: VM create successfully, when remove xmlproc
- Bug#570066: xm new: undeclared dependency on absent Python library "xmlproc".
- xm new yields Import error: No module named xmlproc
- Xen 3.3.0 on Ubuntu Hardy and xmlproc module.
- Compiling wine under Kubuntu Dapper
