Open
Description
Previous ID | SR-11566 |
Radar | None |
Original Reporter | @kevints |
Type | Bug |
Additional Detail from JIRA
Votes | 0 |
Component/s | Docker |
Labels | Bug |
Assignee | None |
Priority | Medium |
md5: f0bd5ba8d7b9a3b6aad25bfd68c4d670
Issue Description:
The swift toolchain comes with some Python bindings for LLDB, but the docker image is laid out in a way that makes using them impossible. If you run apt update && apt install python in the docker image you get the following error:
Do you want to continue? [Y/n]
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7-minimal amd64 2.7.15-4ubuntu4~18.04.1 [1293 kB]
Fetched 1293 kB in 0s (9272 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 20262 files and directories currently installed.)
Preparing to unpack .../python2.7-minimal_2.7.15-4ubuntu4~18.04.1_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
dpkg: error processing archive /var/cache/apt/archives/python2.7-minimal_2.7.15-4ubuntu4~18.04.1_amd64.deb (--unpack):
new python2.7-minimal package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/python2.7-minimal_2.7.15-4ubuntu4~18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
It seems like we need to install the lldb bindings elsewhere