I got the following traceback when running tl-setup on SLES:
> Failed to launch installer through 'sudo':
> Traceback (most recent call last):
> File "/opt/thinlinc/sbin/../libexec/tl-setup.py", line 44, in <module>
> import thinlinc . tlsetup . requirements
> File "/opt/thinlinc/modules/thinlinc/tlsetup/requirements.py", line 12, in <module>
> from thinlinc import packageinstaller
> File "/opt/thinlinc/modules/thinlinc/packageinstaller/__init__.py", line 12, in <module>
> import zypperbackend
> File "/opt/thinlinc/modules/thinlinc/packageinstaller/zypperbackend.py", line 14, in <module>
> import xml . parsers . expat
> ImportError: No module named xml.parsers.expat
That module is supposed to be a standard part of Python, so this is a bit odd.
I got in to this situation by uninstalling python (so I could test that we install it correctly), then installing it back. It turns our that the XML stuff is in a separate package, called python-xml.
I don't know what pulls it in during installation as I cannot find any base package or pattern that references. I guess it's just a hard coded default in SUSE's installer.
*** This bug has been marked as a duplicate of bug 4283 ***