You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
This is not reproducible with either swift:5.7-bionic or swift:5.7-jammy. Both apt update && apt install -y python3 and apt update && apt install -y python2 run successfully for me with these images.
Additional Detail from JIRA
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:
It seems like we need to install the lldb bindings elsewhere
The text was updated successfully, but these errors were encountered: