Package: xen-tools
Version: 3.9-4
Severity: important

When you start building a basic xen box:

apt-get install xen-linux-system-2.6.26-2-xen-amd64 xen-tools

You eventually get to:

xen:~# xm new /etc/xen/xvm1.cfg
Unexpected error: <type 'exceptions.ImportError'>

Please report to xen-de...@lists.xensource.com
Traceback (most recent call last):
  File "/usr/lib/xen-3.2-1/bin/xm", line 7, in <module>
    main.main(sys.argv)
  File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 2528, in main
    _, rc = _run_cmd(cmd, cmd_name, args)
  File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 2552, in _run_cmd
    return True, cmd(args)
  File "<string>", line 1, in <lambda>
  File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 1305, in 
xm_importcommand
    cmd = __import__(command, globals(), locals(), 'xen.xm')
  File "/usr/lib/xen-3.2-1/lib/python/xen/xm/new.py", line 26, in <module>
    from xen.xm.xenapi_create import *
  File "/usr/lib/xen-3.2-1/lib/python/xen/xm/xenapi_create.py", line 23, in 
<module>
    from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc

and if you apt-get install python-xml and try again, it works fine.

So it seems like python-xml should be marked as a dependency for whichever 
package "xm" is a part of.

-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to