Currently, the Linux toolchains install the LLDB Python module into:
However, this is the wrong location on Ubuntu. It means that if you then try and install Python on the system afterwards, you see:
Preparing to unpack .../python2.7-minimal_2.7.12-1ubuntu0~16.04.4_amd64.deb ...
new installation of python2.7-minimal; /usr/lib/python2.7/site-packages is a directory
which is expected a symlink to /usr/local/lib/python2.7/dist-packages.
please find the package shipping files in /usr/lib/python2.7/site-packages and
file a bug report to ship these in /usr/lib/python2.7/dist-packages instead
aborting installation of python2.7-minimal
and the installation fails. Obviously, we should not be breaking user's Ubuntu systems
After researching, I believe we should unpack to
instead. In my testing, this works fine.