I am currently trying to install the locales package in a docker container for ubuntu:24.04 for the amd64 platform.
During the installation of locale, I get the following error:
qemu-x86_64-static: QEMU internal SIGSEGV {code=MAPERR, addr=0x20} Segmentation fault (core dumped)
Any ideas?
I have tried this in arm64 and it works
DockerfileFROM ubuntu:24.04RUN apt-get update -y && \ apt-get install locales -yERROR
podman build --platform linux/amd64 -t ubuntu-24-04:test .STEP 1/2: FROM ubuntu:24.04STEP 2/2: RUN apt-get update -y && apt-get install locales -yamd64 Packages [18.6 kB]Fetched 22.3 MB in 4s (5667 kB/s)Reading package lists...Reading package lists...Building dependency tree...Reading state information...The following NEW packages will be installed: locales0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.Need to get 4234 kB of archives.After this operation, 17.1 MB of additional disk space will be used.Get:1 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 locales all 2.39-0ubuntu8.1 [4234 kB]debconf: delaying package configuration, since apt-utils is not installedFetched 4234 kB in 0s (12.0 MB/s)Selecting previously unselected package locales.(Reading database ... 4368 files and directories currently installed.)Preparing to unpack .../locales_2.39-0ubuntu8.1_all.deb ...Unpacking locales (2.39-0ubuntu8.1) ...Setting up locales (2.39-0ubuntu8.1) ...debconf: unable to initialize frontend: Dialogdebconf: (TERM is not set, so the dialog frontend is not usable.)debconf: falling back to frontend: Readlinedebconf: unable to initialize frontend: Readlinedebconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 8.)debconf: falling back to frontend: Teletypeqemu-x86_64-static: QEMU internal SIGSEGV {code=MAPERR, addr=0x20}Segmentation fault (core dumped)