Open aimfeld opened 2 years ago
I narrowed it down, this problem occurs with lando >= 3.4.2 (3.4.1 still works). As of 3.4.2, it tries to download install this package which seems to cause problems:
Opening platform.sh containers... this may take a bit...
Scanning to determine which services are ready... Please standby...
Manually Installing DPKG...
--2021-10-26 09:41:48-- http://ftp.us.debian.org/debian/pool/main/d/dpkg/dpkg_1.18.25_amd64.deb
Resolving ftp.us.debian.org (ftp.us.debian.org)... 64.50.233.100, 64.50.236.52, 208.80.154.15, ...
We're experiencing the same issue after lando/lando#3169 being resolved now.
So, it seems that when setting up a php:7.4
project, the manual installation of DPKG
succeeds and it also installs various other packages.
Manually Installing gcc-6-base, libc6, & libgcc1 ...
Manually Installing perl-base ...
Manually Installing debconf ...
Manually Installing libssl1 ...
Setting up a php:8.0
project seems to first stop/pause on
Configuration file '/etc/ld.so.conf.d/x86_64-linux-gnu.conf'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** x86_64-linux-gnu.conf (Y/I/N/O/D/Z) [default=N] ?
and fail after choosing any option (as stated in the original issue description).
Installing new version of config file /etc/ld.so.conf.d/x86_64-linux-gnu.conf ...
/usr/bin/perl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/bin/perl)
dpkg: error processing package libc6:amd64 (--install):
subprocess installed post-installation script returned error exit status 1
dpkg: libgcc1:amd64: dependency problems, but configuring anyway as you requested:
libgcc1:amd64 depends on libc6 (>= 2.14); however:
Package libc6:amd64 is not configured yet.
Setting up libgcc1:amd64 (1:6.3.0-18+deb9u1) ...
Errors were encountered while processing:
libc6:amd64
Afaik all platform.sh
images are based on Debian, where the php:7.4
image is based on Debian 9 and the php:8.0
image is based on Debian 10.
With recent lando versions (e.g. 3.4.2, 3.4.3, 3.5.0), we get the following error (using platformsh recipe) when running
lando rebuild
(no difference with option Y or N):This is our stripped down lando.yaml: