Disk space issues on apt install while building container

I am experiencing issues when I try to build some containers. The containers that I try to build are not fancy or anything.

I am on a Mac, I am using Tahoe. The Dockerfile is using php:8.5-apache-trixie, and it fails when I run the command apt install with 27 packages, which is a huge amount of packages, I admit. When installing them, I have the following error:

Error: You don’t have enough free space in /var/cache/apt/archives/

On my mac, I have no disk space issue, the filesystem state look like this:

Filesystem        Size    Used   Avail Capacity iused ifree %iused  Mounted on
/dev/disk3s3s1   460Gi    17Gi   133Gi    12%    426k  1,4G    0%   /
devfs            198Ki   198Ki     0Bi   100%     686     0  100%   /dev
/dev/disk3s6     460Gi    20Ki   133Gi     1%       0  1,4G    0%   /System/Volumes/VM
/dev/disk3s4     460Gi    15Gi   133Gi    11%    2,1k  1,4G    0%   /System/Volumes/Preboot
/dev/disk3s2     460Gi   813Mi   133Gi     1%     316  1,4G    0%   /System/Volumes/Update
/dev/disk1s2     500Mi   6,0Mi   481Mi     2%       1  4,9M    0%   /System/Volumes/xarts
/dev/disk1s1     500Mi   5,4Mi   481Mi     2%      39  4,9M    0%   /System/Volumes/iSCPreboot
/dev/disk1s3     500Mi   2,5Mi   481Mi     1%      53  4,9M    0%   /System/Volumes/Hardware
/dev/disk3s1     460Gi   292Gi   133Gi    69%    2,1M  1,4G    0%   /System/Volumes/Data
map auto_home      0Bi     0Bi     0Bi   100%       0     0     -   /System/Volumes/Data/home
/dev/disk3s3     460Gi    17Gi   133Gi    12%    459k  1,4G    0%   /System/Volumes/Update/mnt1

The docker system df show the following values:

TYPE            TOTAL     ACTIVE    SIZE      RECLAIMABLE

Images          3         3         7.046GB   0B (0%)

Containers      3         3         13.19MB   0B (0%)

Local Volumes   0         0         0B        0B

Build Cache     40        0         1.479GB   1.479GB

When I check the builders disk usage, it doesn’t looks this big, the docker buildx du command says I have 391.2MB used. I’ve read the apt.conf documentation, no cache limitation is set. So I can’t identify the issue’s source. I am looking for help.

I have already tried using docker system prune -a and restarting my Mac, this doesn’t change anything.
I have tried splitting my install file into 3 separate files, and doing apt install && apt clean to try clearing the cache, this did not change anything.

My Dockerfile is as follow:

# set build args
ARG PHP_VERSION=8.5
ARG WEB_DIR="/var/www/project"

# Configure webserver
FROM php:${PHP_VERSION}-apache-trixie
ARG WEB_DIR

## Copy configs
COPY configs/Php configs/System configs/Apache /tmpcopy/
WORKDIR ${WEB_DIR}

USER root
RUN mkdir -p /var/www/apache2 && chown -R www-data:www-data /var/www/apache2

ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

# Set env
ENV APACHE_RUN_SERVER=www-data \
APACHE_RUN_GROUP=www-data \
APACHE_RUN_USER=www-data \
[APACHE_SRV_ADMIN=hotlinesi@rhinos.fr](mailto:APACHE_SRV_ADMIN=hotlinesi@rhinos.fr) \
SERVER_NAME=rs_apache_php8 \
APACHE_LOG_DIR=/var/www//apache2 \
APACHE_LOCK_DIR=/var/www/apache2 \
APACHE_PID_FILE=/var/www/apache2/apache2.pid\
APACHE_RUN_DIR=/var/www/apache2 \
WEB_DIR=/var/www/project \
APACHE_DOC_ROOT=/var/www/project/public

## Config
USER root
RUN apt update -y && apt upgrade -y && xargs -a /tmpcopy/apt-system-packages.txt apt install -y --no-install-recommends \
&& xargs -a /tmpcopy/install-tools.txt apt install -y --no-install-recommends \
&& xargs -a /tmpcopy/php-extensions.txt install-php-extensions \
&& mv /tmpcopy/php.ini-dev "$PHP_INI_DIR"/php.ini-development \
&& mv /tmpcopy/php.ini-prod "$PHP_INI_DIR"/php.ini-production \
&& echo "ServerName ${SERVER_NAME}" >> /etc/apache2/apache2.conf \
&& sed -i 's/Listen 80/Listen 8080/g' /etc/apache2/ports.conf \
&& mv /tmpcopy/default_vhost.conf /etc/apache2/sites-available/000-default.conf \
&& mv /tmpcopy/httpd-secure.conf /etc/apache2/conf-available/httpd-secure.conf \
&& ln -svf /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-enabled/000-default.conf \
&& mv /tmpcopy/locales.txt /etc/locale.gen && locale-gen \
&& ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime \
&& dpkg-reconfigure -f noninteractive tzdata \
&& a2enmod rewrite \
&& a2enmod headers \
&& mkdir -p /var/www/.ssh \
&& chmod 0700 /var/www/.ssh \
&& ssh-keyscan [github.com](http://github.com/) > /var/www/.ssh/known_hosts \
&& chown -R www-data:www-data /var/www \
&& mkdir -p ${WEB_DIR} \
&& chown www-data:www-data ${WEB_DIR} && chmod 760 ${WEB_DIR} \
&& git config --global --add [safe.directory](http://safe.directory/) ${WEB_DIR} \
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
&& php composer-setup.php --install-dir=/usr/bin/ --filename=composer \
&& rm composer-setup.php \
&& xargs -a /tmpcopy/install-tools.txt apt remove -y --purge \
&& apt autoremove -y && apt autoclean -y && apt clean \
&& rm -rf /tmpcopy \
&& mkdir -p /var/www/.composer && chown -R www-data /var/www/.composer

## Run apache
CMD [ "bash", "-c", "apache2-foreground" ]

# chg user
USER www-data:www-data

This is the list of package I am installing:

openssh-client
locales
curl
lsof
default-mysql-client
tar
zlib1g-dev
libpng-dev
libzip-dev
libjpeg62-turbo
libxrender1
libmagickwand-dev
xfonts-base
xfonts-75dpi
ca-certificates
xauth
xvfb
fontconfig
dos2unix
jq
git
unzip
pkg-config
libcurl4-openssl-dev
libicu-dev
zlib1g-dev

In Docker Desktop > Settings > Ressources, I did set a 60G limit, in Settings > Builders, i did set a 20G limit to my default builder. The builder settings show that I have 1.4G used on 20G.

I edited your post, because it seems you accidentally closed some code blocks before the actual content and not all code blocks worked. That broke the backslashes as those needed to be escaped without code blocks, so I fixed that too.

The code can still be different from what you originally intended to share. Mainly affecting indentation and URLs. I just note that in case of anyone notices syntax error whiihc was likely not present in the original code.

Small correction: You are building images, not containers. Containers (isolated processes) are instances of images (template).

27 is not necesserily huge. It depends on what you install, but if you install something that depends on other huge packages or collection of packages, that can increase the downladed size drastically. For example if you install something that requires installing Gnome and all related packages.

autoremove might remove packages that were already in the original base image, but that will not make your image smaller.

This is what I would never run while building an image . It upgrades everything even if oyu don’T need the package. Normally vulnerabilities are fixed in the base image and you rebuild your image based on the base image unless the vulnerabilizty must be fixed immediately. An upgrade can replace all the packages whihc will just make the image bigger. I would always upgrade specific packages if really necessary.

I don’t know what the dependencies of these are, but apt shows the size of the space the installation will need. Could you check what it says?

I’M still not sure what causes the issue in your case, but in general, since you have enough space on the host, it could only be something that happens inside the container that builds an image layer.

You could also try temporarily remove parts of the instructions to see what really needs that huge space. You can also try removing some packages from the file.

Or try everything manually and maybe install the packages one by one. Then you would keep only this in your Dockerfile

# set build args
ARG PHP_VERSION=8.5
ARG WEB_DIR="/var/www/project"

# Configure webserver
FROM php:${PHP_VERSION}-apache-trixie
ARG WEB_DIR

## Copy configs
COPY configs/Php configs/System configs/Apache /tmpcopy/
WORKDIR ${WEB_DIR}

USER root
RUN mkdir -p /var/www/apache2 && chown -R www-data:www-data /var/www/apache2

ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

# Set env
ENV APACHE_RUN_SERVER=www-data \
APACHE_RUN_GROUP=www-data \
APACHE_RUN_USER=www-data \
[APACHE_SRV_ADMIN=hotlinesi@rhinos.fr](mailto:APACHE_SRV_ADMIN=hotlinesi@rhinos.fr) \
SERVER_NAME=rs_apache_php8 \
APACHE_LOG_DIR=/var/www//apache2 \
APACHE_LOCK_DIR=/var/www/apache2 \
APACHE_PID_FILE=/var/www/apache2/apache2.pid\
APACHE_RUN_DIR=/var/www/apache2 \
WEB_DIR=/var/www/project \
APACHE_DOC_ROOT=/var/www/project/public

## Config
USER root

Then run a container from it:

docker run --rm -it imagename bash

and run the apt commands. When you identify what step requires that space, you can think about optimizing the Dockerfile. In the interactive mode you can also check the size of the filesystem that the container can see. It wil not match the physically used space, but you can check before and after installing packages.

Hi, so, i remove the apt upgrade which was gueninely a bad idea i reckon, i can’t remember why this was here. Probably because I copied the Dockerfile from another image I have built for my company. Also, from the list of packages I did put in the original post, I have now removed few of them which I don’t why they were there (all the packages related to an X server). So, now the set of packages is like this:

I am about to try doing this directly on a container base on the php:8.5-apache-trixie to see if I can reproduce the issue

openssh-client
locales
curl
lsof
default-mysql-client
tar
zlib1g-dev
libpng-dev
libzip-dev
libjpeg62-turbo
libxrender1
libmagickwand-dev
ca-certificates
jq
git
unzip
pkg-config
libcurl4-openssl-dev
libicu-dev
zlib1g-dev

From the builders log, the list of packages installed is around 250. You can find here the builder log, which I had to truncate a bit because of the character number limit:

0.173 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

0.173

0.393 Hit:1 http://deb.debian.org/debian trixie InRelease

0.396 Get:2 http://deb.debian.org/debian trixie-updates InRelease \[47.3 kB\]

0.429 Get:3 http://deb.debian.org/debian-security trixie-security InRelease \[43.4 kB\]

0.515 Get:4 http://deb.debian.org/debian trixie/main amd64 Packages \[9673 kB\]

0.790 Get:5 http://deb.debian.org/debian trixie-updates/main amd64 Packages \[4412 B\]

0.792 Get:6 http://deb.debian.org/debian-security trixie-security/main amd64 Packages \[237 kB\]

1.785 Fetched 10.0 MB in 2s (6628 kB/s)

1.785 Reading package lists...

2.476 Building dependency tree...

2.660 Reading state information...

2.681 1 package can be upgraded. Run 'apt list --upgradable' to see it.

2.732

2.732 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

2.732

2.767 Reading package lists...

3.443 Building dependency tree...

3.602 Reading state information...

5.232 curl is already the newest version (8.14.1-2+deb13u4).

5.232 tar is already the newest version (1.35+dfsg-3.1).

5.232 tar set to manually installed.

5.232 ca-certificates is already the newest version (20250419).

5.232 pkg-config is already the newest version (1.8.1-4).

5.232 Installing:

5.232   default-mysql-client  libicu-dev         libxrender1  openssh-client

5.232   git                   libjpeg62-turbo    libzip-dev   unzip

5.232   jq                    libmagickwand-dev  locales      zlib1g-dev

5.232   libcurl4-openssl-dev  libpng-dev         lsof

5.232

5.234 Installing dependencies:

5.234   automake                      liblzma-dev

5.234   autotools-dev                 liblzo2-2

5.234   comerr-dev                    libmagickcore-7-arch-config

5.234   fontconfig                    libmagickcore-7-headers

5.234   fontconfig-config             libmagickcore-7.q16-10

5.234   fonts-dejavu-core             libmagickcore-7.q16-10-extra

5.234   fonts-dejavu-mono             libmagickcore-7.q16-dev

5.234   gir1.2-freedesktop            libmagickwand-7-headers

5.234   gir1.2-freedesktop-dev        libmagickwand-7.q16-10

5.234   gir1.2-gdkpixbuf-2.0          libmagickwand-7.q16-dev

5.234   gir1.2-glib-2.0               libmariadb3

5.234   gir1.2-glib-2.0-dev           libmount-dev

5.234   gir1.2-harfbuzz-0.0           libncurses6

5.234   gir1.2-pango-1.0              libnghttp2-dev

5.234   gir1.2-rsvg-2.0               libnghttp3-dev

5.234   girepository-tools            libngtcp2-16

5.234   git-man                       libngtcp2-crypto-gnutls8

5.234   icu-devtools                  libopenexr-3-1-30

5.234   imagemagick-7-common          libopenexr-dev

5.234   krb5-multidev                 libopenjp2-7

5.234   libblkid-dev                  libopenjp2-7-dev

5.234   libbrotli-dev                 libp11-kit-dev

5.234   libbz2-dev                    libpango-1.0-0

5.234   libc-l10n                     libpango1.0-dev

5.234   libcairo-gobject2             libpangocairo-1.0-0

5.234   libcairo-script-interpreter2  libpangoft2-1.0-0

5.234   libcairo2                     libpangoxft-1.0-0

5.234   libcairo2-dev                 libpcre2-16-0

5.234   libcbor0.10                   libpcre2-32-0

5.234   libconfig-inifiles-perl       libpcre2-dev

5.234   libcurl3t64-gnutls            libpcre2-posix3

5.234   libdatrie-dev                 libpixman-1-0

5.234   libdatrie1                    libpixman-1-dev

5.234   libdav1d-dev                  libpng16-16t64

5.234   libdav1d7                     libpsl-dev

5.234   libde265-0                    libpython3-stdlib

5.234   libdeflate-dev                libpython3.13-minimal

5.234   libdeflate0                   libpython3.13-stdlib

5.234   libdjvulibre-dev              libraw23t64

5.234   libdjvulibre-text             librsvg2-2

5.234   libdjvulibre21                librsvg2-common

5.234   libedit2                      librsvg2-dev

5.234   libelf1t64                    librtmp-dev

5.234   liberror-perl                 libselinux1-dev

5.234   libevent-2.1-7t64             libsepol-dev

5.234   libexif-dev                   libsharpyuv-dev

5.234   libexif12                     libsharpyuv0

5.234   libexpat1-dev                 libsm-dev

5.234   libffi-dev                    libsm6

5.234   libfftw3-bin                  libssh2-1-dev

5.234   libfftw3-dev                  libssl-dev

5.234   libfftw3-double3              libsysprof-capture-4-dev

5.234   libfftw3-long3                libtasn1-6-dev

5.234   libfftw3-quad3                libthai-data

5.234   libfftw3-single3              libthai-dev

5.234   libfido2-1                    libthai0

5.234   libfontconfig-dev             libtiff-dev

5.234   libfontconfig1                libtiff6

5.234   libfreetype-dev               libtiffxx6

5.234   libfreetype6                  libtirpc-common

5.234   libfribidi-dev                libtirpc3t64

5.234   libfribidi0                   libunbound8

5.234   libgdk-pixbuf-2.0-0           libwebp-dev

5.234   libgdk-pixbuf-2.0-dev         libwebp7

5.234   libgdk-pixbuf2.0-bin          libwebpdecoder3

5.234   libgdk-pixbuf2.0-common       libwebpdemux2

5.234   libgio-2.0-dev                libwebpmux3

5.234   libgio-2.0-dev-bin            libwmf-0.2-7

5.234   libgirepository-2.0-0         libwmf-dev

5.234   libglib2.0-0t64               libwmflite-0.2-7

5.234   libglib2.0-bin                libx11-6

5.234   libglib2.0-data               libx11-data

5.234   libglib2.0-dev                libx11-dev

5.234   libglib2.0-dev-bin            libxau-dev

5.234   libgmp-dev                    libxau6

5.234   libgmpxx4ldbl                 libxcb-render0

5.234   libgnutls-dane0t64            libxcb-render0-dev

5.234   libgnutls-openssl27t64        libxcb-shm0

5.234   libgnutls28-dev               libxcb-shm0-dev

5.234   libgraphite2-3                libxcb1

5.234   libgraphite2-dev              libxcb1-dev

5.234   libgssrpc4t64                 libxdmcp-dev

5.234   libharfbuzz-cairo0            libxdmcp6

5.234   libharfbuzz-dev               libxext-dev

5.234   libharfbuzz-gobject0          libxext6

5.234   libharfbuzz-icu0              libxft-dev

5.234   libharfbuzz-subset0           libxft2

5.234   libharfbuzz0b                 libxml2-dev

5.234   libheif-plugin-dav1d          libxrender-dev

5.234   libheif-plugin-libde265       libxt-dev

5.234   libheif1                      libxt6t64

5.234   libice-dev                    libzip5

5.234   libice6                       libzstd-dev

5.234   libicu76                      mariadb-client

5.234   libidn2-dev                   mariadb-client-compat

5.234   libimath-3-1-29t64            mariadb-client-core

5.234   libimath-dev                  mariadb-common

5.234   libjbig-dev                   mysql-common

5.234   libjbig0                      native-architecture

5.234   libjpeg-dev                   netbase

5.234   libjpeg62-turbo-dev           nettle-dev

5.234   libjq1                        pango1.0-tools

5.234   libkadm5clnt-mit12            python3

5.234   libkadm5srv-mit12             python3-minimal

5.234   libkdb5-10t64                 python3-packaging

5.234   libkrb5-dev                   python3.13

5.234   liblcms2-2                    python3.13-minimal

5.234   liblcms2-dev                  shared-mime-info

5.234   libldap-dev                   uuid-dev

5.234   liblerc-dev                   x11-common

5.234   liblerc4                      x11proto-dev

5.234   liblqr-1-0                    xorg-sgml-doctools

5.234   liblqr-1-0-dev                xtrans-dev

5.234   liblsof0                      zipcmp

5.234   libltdl-dev                   zipmerge

5.234   libltdl7                      ziptool

5.234

5.236 Suggested packages:

5.236   autoconf-doc        libmpfr-dev               librsvg2-doc

5.236   gnu-standards       dns-root-data             libsm-doc

5.236   doc-base            gnutls-bin                libssl-doc

5.236   gettext-base        gnutls-doc                libthai-doc

5.236   git-doc             libgraphite2-utils        libwmf-0.2-7-gtk

5.236   git-email           krb5-user                 libwmf-doc

5.236   git-gui             libheif-plugin-ffmpegdec  libx11-doc

5.236   gitk                libheif-plugin-jpegdec    libxcb-doc

5.236   gitweb              libheif-plugin-jpegenc    libxext-doc

5.236   git-cvs             libheif-plugin-j2kdec     libxt-doc

5.236   git-mediawiki       libheif-plugin-j2kenc     keychain

5.236   git-svn             libheif-plugin-kvazaar    libpam-ssh

5.236   krb5-doc            libheif-plugin-rav1e      monkeysphere

5.236   libcairo2-doc       libheif-plugin-svtenc     ssh-askpass

5.236   libcurl4-doc        libice-doc                graphicsmagick

5.236   libidn-dev          icu-doc                   python3-doc

5.236   libdatrie-doc       liblcms2-utils            python3-tk

5.236   libfftw3-doc        libtool-doc               python3-venv

5.236   freetype2-doc       liblzma-doc               python3.13-venv

5.236   libglib2.0-doc      inkscape                  python3.13-doc

5.236   libxml2-utils       libnghttp2-doc            binfmt-support

5.236   low-memory-monitor  p11-kit-doc               zip

5.236   gmp-doc             libpango1.0-doc

5.236   libgmp10-doc        librsvg2-bin

5.236

5.236 Recommended packages:

5.236   less                   libtool           libtasn1-doc

5.236   bzip2-doc              ghostscript       libdbd-mariadb-perl

5.236   libexif-doc            fonts-urw-base35  | libdbd-mysql-perl

5.236   xdg-user-dirs          libjxr-tools      libdbi-perl

5.236   libheif-plugin-x265    libgpm2           libterm-readkey-perl

5.236   libheif-plugin-aomenc  libpng-tools      xauth

5.236

5.402 Summary:

5.402   Upgrading: 0, Installing: 247, Removing: 0, Not Upgrading: 1

5.402   Download size: 113 MB

5.402   Space needed: 526 MB / 1137 MB available

5.402

5.402 Get:1 http://deb.debian.org/debian-security trixie-security/main amd64 imagemagick-7-common all 8:7.1.1.43+dfsg1-1+deb13u11 \[76.8 kB\]

5.442 Get:2 http://deb.debian.org/debian-security trixie-security/main amd64 libmagickcore-7-headers all 8:7.1.1.43+dfsg1-1+deb13u11 \[50.4 kB\]

5.446 Get:3 http://deb.debian.org/debian-security trixie-security/main amd64 libmagickcore-7-arch-config amd64 8:7.1.1.43+dfsg1-1+deb13u11 \[37.1 kB\]

5.474 Get:4 http://deb.debian.org/debian trixie/main amd64 libfftw3-double3 amd64 3.3.10-2+b1 \[781 kB\]

5.559 Get:5 http://deb.debian.org/debian trixie/main amd64 libpng16-16t64 amd64 1.6.48-1+deb13u5 \[283 kB\]

5.561 Get:6 http://deb.debian.org/debian trixie/main amd64 libfreetype6 amd64 2.13.3+dfsg-1+deb13u1 \[452 kB\]

5.565 Get:7 http://deb.debian.org/debian trixie/main amd64 fonts-dejavu-mono all 2.37-8 \[489 kB\]

5.607 Get:8 http://deb.debian.org/debian trixie/main amd64 fonts-dejavu-core all 2.37-8 \[840 kB\]

5.640 Get:9 http://deb.debian.org/debian trixie/main amd64 fontconfig-config amd64 2.15.0-2.3 \[318 kB\]

5.643 Get:10 http://deb.debian.org/debian trixie/main amd64 libfontconfig1 amd64 2.15.0-2.3 \[392 kB\]

5.646 Get:11 http://deb.debian.org/debian trixie/main amd64 libsharpyuv0 amd64 1.5.0-0.1 \[116 kB\]

5.673 Get:12 http://deb.debian.org/debian trixie/main amd64 libdav1d7 amd64 1.5.1-1 \[559 kB\]

5.677 Get:13 http://deb.debian.org/debian-security trixie-security/main amd64 libheif-plugin-dav1d amd64 1.19.8-1+deb13u1 \[11.9 kB\]

5.702 Get:14 http://deb.debian.org/debian-security trixie-security/main amd64 libde265-0 amd64 1.0.15-1+deb13u1 \[190 kB\]

5.705 Get:15 http://deb.debian.org/debian-security trixie-security/main amd64 libheif-plugin-libde265 amd64 1.19.8-1+deb13u1 \[15.5 kB\]

5.733 Get:16 http://deb.debian.org/debian-security trixie-security/main amd64 libheif1 amd64 1.19.8-1+deb13u1 \[522 kB\]

5.738 Get:17 http://deb.debian.org/debian trixie/main amd64 libjbig0 amd64 2.1-6.1+b2 \[32.1 kB\]

5.765 Get:18 http://deb.debian.org/debian trixie/main amd64 libjpeg62-turbo amd64 1:2.1.5-4 \[168 kB\]

5.792 Get:19 http://deb.debian.org/debian trixie/main amd64 liblcms2-2 amd64 2.16-2+deb13u2 \[160 kB\]

5.823 Get:20 http://deb.debian.org/debian trixie/main amd64 libglib2.0-0t64 amd64 2.84.4-3\~deb13u3 \[1519 kB\]

5.863 Get:21 http://deb.debian.org/debian trixie/main amd64 liblqr-1-0 amd64 0.4.2-2.1+b2 \[29.5 kB\]

5.890 Get:22 http://deb.debian.org/debian trixie/main amd64 libltdl7 amd64 2.5.4-4 \[416 kB\]

5.919 Get:23 http://deb.debian.org/debian trixie/main amd64 libopenjp2-7 amd64 2.5.3-2.1\~deb13u2 \[205 kB\]

5.944 Get:24 http://deb.debian.org/debian trixie/main amd64 libraw23t64 amd64 0.21.4-2 \[390 kB\]

5.948 Get:25 http://deb.debian.org/debian trixie/main amd64 libdeflate0 amd64 1.23-2 \[47.3 kB\]

5.974 Get:26 http://deb.debian.org/debian trixie/main amd64 liblerc4 amd64 4.0.0+ds-5 \[183 kB\]

6.006 Get:27 http://deb.debian.org/debian trixie/main amd64 libwebp7 amd64 1.5.0-0.1 \[318 kB\]

6.009 Get:28 http://deb.debian.org/debian-security trixie-security/main amd64 libtiff6 amd64 4.7.0-3+deb13u3 \[345 kB\]

6.012 Get:29 http://deb.debian.org/debian trixie/main amd64 libwebpdemux2 amd64 1.5.0-0.1 \[113 kB\]

6.013 Get:30 http://deb.debian.org/debian trixie/main amd64 libwebpmux3 amd64 1.5.0-0.1 \[126 kB\]

6.015 Get:31 http://deb.debian.org/debian trixie/main amd64 libxau6 amd64 1:1.0.11-1 \[20.4 kB\]

6.015 Get:32 http://deb.debian.org/debian trixie/main amd64 libxdmcp6 amd64 1:1.1.5-1 \[27.8 kB\]

6.039 Get:33 http://deb.debian.org/debian trixie/main amd64 libxcb1 amd64 1.17.0-2+b1 \[144 kB\]

6.043 Get:34 http://deb.debian.org/debian trixie/main amd64 libx11-data all 2:1.8.12-1 \[343 kB\]

6.045 Get:35 http://deb.debian.org/debian trixie/main amd64 libx11-6 amd64 2:1.8.12-1 \[815 kB\]

6.055 Get:36 http://deb.debian.org/debian trixie/main amd64 libxext6 amd64 2:1.3.4-1+b3 \[50.4 kB\]

6.080 Get:37 http://deb.debian.org/debian-security trixie-security/main amd64 libmagickcore-7.q16-10 amd64 8:7.1.1.43+dfsg1-1+deb13u11 \[1859 kB\]

6.131 Get:38 http://deb.debian.org/debian trixie/main amd64 libpixman-1-0 amd64 0.44.0-3 \[248 kB\]

6.133 Get:39 http://deb.debian.org/debian trixie/main amd64 libxcb-render0 amd64 1.17.0-2+b1 \[115 kB\]

6.134 Get:40 http://deb.debian.org/debian trixie/main amd64 libxcb-shm0 amd64 1.17.0-2+b1 \[105 kB\]

6.135 Get:41 http://deb.debian.org/debian trixie/main amd64 libxrender1 amd64 1:0.9.12-1 \[27.9 kB\]

6.160 Get:42 http://deb.debian.org/debian trixie/main amd64 libcairo2 amd64 1.18.4-1+b1 \[538 kB\]

6.166 Get:43 http://deb.debian.org/debian trixie/main amd64 libdjvulibre-text all 3.5.28-2.2 \[52.0 kB\]

6.166 Get:44 http://deb.debian.org/debian trixie/main amd64 libdjvulibre21 amd64 3.5.28-2.2 \[610 kB\]

6.198 Get:45 http://deb.debian.org/debian-security trixie-security/main amd64 libmagickwand-7.q16-10 amd64 8:7.1.1.43+dfsg1-1+deb13u11 \[354 kB\]

6.203 Get:46 http://deb.debian.org/debian trixie/main amd64 libimath-3-1-29t64 amd64 3.1.12-1+b3 \[45.5 kB\]

6.203 Get:47 http://deb.debian.org/debian trixie/main amd64 libopenexr-3-1-30 amd64 3.1.13-2 \[945 kB\]

6.262 Get:48 http://deb.debian.org/debian trixie/main amd64 fontconfig amd64 2.15.0-2.3 \[463 kB\]

6.291 Get:49 http://deb.debian.org/debian trixie/main amd64 libfribidi0 amd64 1.0.16-1 \[26.5 kB\]

6.291 Get:50 http://deb.debian.org/debian trixie/main amd64 libgraphite2-3 amd64 1.3.14-2+deb13u1 \[75.2 kB\]

6.291 Get:51 http://deb.debian.org/debian trixie/main amd64 libharfbuzz0b amd64 10.2.0-1+deb13u1 \[479 kB\]

6.295 Get:52 http://deb.debian.org/debian trixie/main amd64 libthai-data all 0.1.29-2 \[168 kB\]

6.296 Get:53 http://deb.debian.org/debian trixie/main amd64 libdatrie1 amd64 0.2.13-3+b1 \[38.1 kB\]

6.297 Get:54 http://deb.debian.org/debian trixie/main amd64 libthai0 amd64 0.1.29-2+b1 \[49.4 kB\]

6.314 Get:55 http://deb.debian.org/debian trixie/main amd64 libpango-1.0-0 amd64 1.56.3-1 \[226 kB\]

6.318 Get:56 http://deb.debian.org/debian trixie/main amd64 libpangoft2-1.0-0 amd64 1.56.3-1 \[55.6 kB\]

6.318 Get:57 http://deb.debian.org/debian trixie/main amd64 libpangocairo-1.0-0 amd64 1.56.3-1 \[35.7 kB\]

6.319 Get:58 http://deb.debian.org/debian trixie/main amd64 libwmflite-0.2-7 amd64 0.2.13-1.1+b3 \[75.6 kB\]

6.320 Get:59 http://deb.debian.org/debian-security trixie-security/main amd64 libmagickcore-7.q16-10-extra amd64 8:7.1.1.43+dfsg1-1+deb13u11 \[82.3 kB\]

6.322 Get:60 http://deb.debian.org/debian trixie/main amd64 libbz2-dev amd64 1.0.8-6 \[31.4 kB\]

6.348 Get:61 http://deb.debian.org/debian trixie/main amd64 libjpeg62-turbo-dev amd64 1:2.1.5-4 \[292 kB\]

6.352 Get:62 http://deb.debian.org/debian trixie/main amd64 libjpeg-dev amd64 1:2.1.5-4 \[72.2 kB\]

6.352 Get:63 http://deb.debian.org/debian trixie/main amd64 libdjvulibre-dev amd64 3.5.28-2.2 \[2431 kB\]

6.448 Get:64 http://deb.debian.org/debian trixie/main amd64 libexif12 amd64 0.6.25-1+deb13u1 \[423 kB\]

6.481 Get:65 http://deb.debian.org/debian trixie/main amd64 libexif-dev amd64 0.6.25-1+deb13u1 \[102 kB\]

6.508 Get:66 http://deb.debian.org/debian trixie/main amd64 libbrotli-dev amd64 1.1.0-2+b7 \[316 kB\]

6.538 Get:67 http://deb.debian.org/debian trixie/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1+b1 \[920 kB\]

6.589 Get:68 http://deb.debian.org/debian trixie/main amd64 libpng-dev amd64 1.6.48-1+deb13u5 \[367 kB\]

6.621 Get:69 http://deb.debian.org/debian trixie/main amd64 libfreetype-dev amd64 2.13.3+dfsg-1+deb13u1 \[623 kB\]

6.678 Get:70 http://deb.debian.org/debian trixie/main amd64 libopenjp2-7-dev amd64 2.5.3-2.1\~deb13u2 \[240 kB\]

6.709 Get:71 http://deb.debian.org/debian trixie/main amd64 liblcms2-dev amd64 2.16-2+deb13u2 \[2189 kB\]

6.776 Get:72 http://deb.debian.org/debian trixie/main amd64 liblqr-1-0-dev amd64 0.4.2-2.1+b2 \[71.6 kB\]

6.780 Get:73 http://deb.debian.org/debian trixie/main amd64 autotools-dev all 20240727.1 \[60.2 kB\]

6.782 Get:74 http://deb.debian.org/debian trixie/main amd64 automake all 1:1.17-4 \[862 kB\]

6.833 Get:75 http://deb.debian.org/debian trixie/main amd64 libltdl-dev amd64 2.5.4-4 \[168 kB\]

6.859 Get:76 http://deb.debian.org/debian trixie/main amd64 libimath-dev amd64 3.1.12-1+b3 \[122 kB\]

6.887 Get:77 http://deb.debian.org/debian trixie/main amd64 libopenexr-dev amd64 3.1.13-2 \[202 kB\]

6.915 Get:78 http://deb.debian.org/debian trixie/main amd64 gir1.2-glib-2.0 amd64 2.84.4-3\~deb13u3 \[199 kB\]

6.945 Get:79 http://deb.debian.org/debian trixie/main amd64 libcairo-gobject2 amd64 1.18.4-1+b1 \[130 kB\]

6.946 Get:80 http://deb.debian.org/debian trixie/main amd64 gir1.2-freedesktop amd64 1.84.0-1 \[60.5 kB\]

6.948 Get:81 http://deb.debian.org/debian trixie/main amd64 libgdk-pixbuf2.0-common all 2.42.12+dfsg-4+deb13u1 \[312 kB\]

6.982 Get:82 http://deb.debian.org/debian trixie/main amd64 shared-mime-info amd64 2.4-5+b2 \[760 kB\]

7.018 Get:83 http://deb.debian.org/debian trixie/main amd64 libgdk-pixbuf-2.0-0 amd64 2.42.12+dfsg-4+deb13u1 \[141 kB\]

7.020 Get:84 http://deb.debian.org/debian trixie/main amd64 gir1.2-gdkpixbuf-2.0 amd64 2.42.12+dfsg-4+deb13u1 \[14.5 kB\]

7.020 Get:85 http://deb.debian.org/debian trixie/main amd64 librsvg2-2 amd64 2.60.0+dfsg-1 \[1789 kB\]

7.071 Get:86 http://deb.debian.org/debian trixie/main amd64 gir1.2-rsvg-2.0 amd64 2.60.0+dfsg-1 \[17.2 kB\]

7.073 Get:87 http://deb.debian.org/debian trixie/main amd64 liblzo2-2 amd64 2.10-3+b1 \[55.1 kB\]

7.074 Get:88 http://deb.debian.org/debian trixie/main amd64 libcairo-script-interpreter2 amd64 1.18.4-1+b1 \[59.3 kB\]

7.099 Get:89 http://deb.debian.org/debian-security trixie-security/main amd64 libexpat1-dev amd64 2.8.2-1\~deb13u1 \[178 kB\]

7.102 Get:90 http://deb.debian.org/debian trixie/main amd64 uuid-dev amd64 2.41-5 \[48.8 kB\]

7.102 Get:91 http://deb.debian.org/debian trixie/main amd64 libfontconfig-dev amd64 2.15.0-2.3 \[414 kB\]

7.111 Get:92 http://deb.debian.org/debian trixie/main amd64 native-architecture all 0.2.6 \[2264 B\]

7.137 Get:93 http://deb.debian.org/debian trixie/main amd64 libgirepository-2.0-0 amd64 2.84.4-3\~deb13u3 \[144 kB\]

7.165 Get:94 http://deb.debian.org/debian trixie/main amd64 girepository-tools amd64 2.84.4-3\~deb13u3 \[151 kB\]

7.166 Get:95 http://deb.debian.org/debian trixie/main amd64 libffi-dev amd64 3.4.8-2 \[61.1 kB\]

7.167 Get:96 http://deb.debian.org/debian trixie/main amd64 libblkid-dev amd64 2.41-5 \[208 kB\]

7.212 Get:97 http://deb.debian.org/debian trixie/main amd64 libsepol-dev amd64 3.8.1-1 \[373 kB\]

7.240 Get:98 http://deb.debian.org/debian trixie/main amd64 libpcre2-16-0 amd64 10.46-1\~deb13u1 \[281 kB\]

7.269 Get:99 http://deb.debian.org/debian trixie/main amd64 libpcre2-32-0 amd64 10.46-1\~deb13u1 \[268 kB\]

7.272 Get:100 http://deb.debian.org/debian trixie/main amd64 libpcre2-posix3 amd64 10.46-1\~deb13u1 \[63.9 kB\]

7.276 Get:101 http://deb.debian.org/debian trixie/main amd64 libpcre2-dev amd64 10.46-1\~deb13u1 \[853 kB\]

7.323 Get:102 http://deb.debian.org/debian trixie/main amd64 libselinux1-dev amd64 3.8.1-1 \[169 kB\]

7.326 Get:103 http://deb.debian.org/debian trixie/main amd64 libmount-dev amd64 2.41-5 \[30.5 kB\]

7.327 Get:104 http://deb.debian.org/debian trixie/main amd64 libsysprof-capture-4-dev amd64 48.0-2 \[49.9 kB\]

7.351 Get:105 http://deb.debian.org/debian trixie/main amd64 libgio-2.0-dev amd64 2.84.4-3\~deb13u3 \[1689 kB\]

7.419 Get:106 http://deb.debian.org/debian trixie/main amd64 libglib2.0-data all 2.84.4-3\~deb13u3 \[1287 kB\]

7.476 Get:107 http://deb.debian.org/debian trixie/main amd64 libelf1t64 amd64 0.192-4 \[189 kB\]

7.505 Get:108 http://deb.debian.org/debian trixie/main amd64 libglib2.0-bin amd64 2.84.4-3\~deb13u3 \[131 kB\]

7.532 Get:109 http://deb.debian.org/debian trixie-updates/main amd64 libpython3.13-minimal amd64 3.13.5-2+deb13u4 \[863 kB\]

7.543 Get:110 http://deb.debian.org/debian trixie-updates/main amd64 python3.13-minimal amd64 3.13.5-2+deb13u4 \[2217 kB\]

7.614 Get:111 http://deb.debian.org/debian trixie/main amd64 python3-minimal amd64 3.13.5-1 \[27.2 kB\]

7.614 Get:112 http://deb.debian.org/debian trixie/main amd64 netbase all 6.5 \[12.4 kB\]

7.641 Get:113 http://deb.debian.org/debian trixie-updates/main amd64 libpython3.13-stdlib amd64 3.13.5-2+deb13u4 \[1957 kB\]

7.695 Get:114 http://deb.debian.org/debian trixie-updates/main amd64 python3.13 amd64 3.13.5-2+deb13u4 \[757 kB\]

7.715 Get:115 http://deb.debian.org/debian trixie/main amd64 libpython3-stdlib amd64 3.13.5-1 \[10.2 kB\]

7.716 Get:116 http://deb.debian.org/debian trixie/main amd64 python3 amd64 3.13.5-1 \[28.2 kB\]

7.716 Get:117 http://deb.debian.org/debian trixie/main amd64 python3-packaging all 25.0-1 \[56.6 kB\]

7.742 Get:118 http://deb.debian.org/debian trixie/main amd64 libgio-2.0-dev-bin amd64 2.84.4-3\~deb13u3 \[167 kB\]

7.745 Get:119 http://deb.debian.org/debian trixie/main amd64 libglib2.0-dev-bin amd64 2.84.4-3\~deb13u3 \[55.6 kB\]

7.746 Get:120 http://deb.debian.org/debian trixie/main amd64 libglib2.0-dev amd64 2.84.4-3\~deb13u3 \[56.4 kB\]

7.748 Get:121 http://deb.debian.org/debian trixie/main amd64 libpixman-1-dev amd64 0.44.0-3 \[11.4 kB\]

7.777 Get:122 http://deb.debian.org/debian trixie/main amd64 x11-common all 1:7.7+24+deb13u1 \[217 kB\]

7.780 Get:123 http://deb.debian.org/debian trixie/main amd64 libice6 amd64 2:1.1.1-1 \[65.4 kB\]

7.781 Get:124 http://deb.debian.org/debian trixie/main amd64 libsm6 amd64 2:1.2.6-1 \[37.3 kB\]

7.783 Get:125 http://deb.debian.org/debian trixie/main amd64 xorg-sgml-doctools all 1:1.11-1.1 \[22.1 kB\]

7.807 Get:126 http://deb.debian.org/debian trixie/main amd64 x11proto-dev all 2024.1-1 \[603 kB\]

7.819 Get:127 http://deb.debian.org/debian trixie/main amd64 libice-dev amd64 2:1.1.1-1 \[73.8 kB\]

7.820 Get:128 http://deb.debian.org/debian trixie/main amd64 libsm-dev amd64 2:1.2.6-1 \[39.7 kB\]

7.821 Get:129 http://deb.debian.org/debian trixie/main amd64 libxau-dev amd64 1:1.0.11-1 \[23.6 kB\]

7.823 Get:130 http://deb.debian.org/debian trixie/main amd64 libxdmcp-dev amd64 1:1.1.5-1 \[44.3 kB\]

7.823 Get:131 http://deb.debian.org/debian trixie/main amd64 xtrans-dev all 1.4.0-1 \[98.7 kB\]

7.856 Get:132 http://deb.debian.org/debian trixie/main amd64 libxcb1-dev amd64 1.17.0-2+b1 \[181 kB\]

7.884 Get:133 http://deb.debian.org/debian trixie/main amd64 libx11-dev amd64 2:1.8.12-1 \[894 kB\]

7.934 Get:134 http://deb.debian.org/debian trixie/main amd64 libxcb-render0-dev amd64 1.17.0-2+b1 \[118 kB\]

7.962 Get:135 http://deb.debian.org/debian trixie/main amd64 libxcb-shm0-dev amd64 1.17.0-2+b1 \[108 kB\]

7.988 Get:136 http://deb.debian.org/debian trixie/main amd64 libxext-dev amd64 2:1.3.4-1+b3 \[104 kB\]

7.992 Get:137 http://deb.debian.org/debian trixie/main amd64 libxrender-dev amd64 1:0.9.12-1 \[39.0 kB\]

7.993 Get:138 http://deb.debian.org/debian trixie/main amd64 libcairo2-dev amd64 1.18.4-1+b1 \[43.4 kB\]

7.993 Get:139 http://deb.debian.org/debian trixie/main amd64 libgdk-pixbuf2.0-bin amd64 2.42.12+dfsg-4+deb13u1 \[18.9 kB\]

7.994 Get:140 http://deb.debian.org/debian trixie/main amd64 libjbig-dev amd64 2.1-6.1+b2 \[31.4 kB\]

8.018 Get:141 http://deb.debian.org/debian trixie/main amd64 liblzma-dev amd64 5.8.1-1+deb13u1 \[348 kB\]

8.049 Get:142 http://deb.debian.org/debian trixie/main amd64 libzstd-dev amd64 1.5.7+dfsg-1 \[371 kB\]

8.078 Get:143 http://deb.debian.org/debian trixie/main amd64 libwebpdecoder3 amd64 1.5.0-0.1 \[208 kB\]

8.107 Get:144 http://deb.debian.org/debian trixie/main amd64 libsharpyuv-dev amd64 1.5.0-0.1 \[120 kB\]

8.133 Get:145 http://deb.debian.org/debian trixie/main amd64 libwebp-dev amd64 1.5.0-0.1 \[450 kB\]

8.166 Get:146 http://deb.debian.org/debian-security trixie-security/main amd64 libtiffxx6 amd64 4.7.0-3+deb13u3 \[164 kB\]

8.170 Get:147 http://deb.debian.org/debian trixie/main amd64 libdeflate-dev amd64 1.23-2 \[55.9 kB\]

8.195 Get:148 http://deb.debian.org/debian trixie/main amd64 liblerc-dev amd64 4.0.0+ds-5 \[183 kB\]

8.222 Get:149 http://deb.debian.org/debian-security trixie-security/main amd64 libtiff-dev amd64 4.7.0-3+deb13u3 \[488 kB\]

8.231 Get:150 http://deb.debian.org/debian trixie/main amd64 gir1.2-glib-2.0-dev amd64 2.84.4-3\~deb13u3 \[917 kB\]

8.258 Get:151 http://deb.debian.org/debian trixie/main amd64 libgdk-pixbuf-2.0-dev amd64 2.42.12+dfsg-4+deb13u1 \[52.9 kB\]

8.261 Get:152 http://deb.debian.org/debian trixie/main amd64 libharfbuzz-gobject0 amd64 10.2.0-1+deb13u1 \[32.9 kB\]

8.262 Get:153 http://deb.debian.org/debian trixie/main amd64 gir1.2-harfbuzz-0.0 amd64 10.2.0-1+deb13u1 \[42.2 kB\]

8.265 Get:154 http://deb.debian.org/debian trixie/main amd64 libxft2 amd64 2.3.6-1+b4 \[54.5 kB\]

8.265 Get:155 http://deb.debian.org/debian trixie/main amd64 libpangoxft-1.0-0 amd64 1.56.3-1 \[27.6 kB\]

8.265 Get:156 http://deb.debian.org/debian trixie/main amd64 gir1.2-pango-1.0 amd64 1.56.3-1 \[39.1 kB\]

8.266 Get:157 http://deb.debian.org/debian trixie/main amd64 libfribidi-dev amd64 1.0.16-1 \[65.9 kB\]

8.267 Get:158 http://deb.debian.org/debian trixie/main amd64 gir1.2-freedesktop-dev amd64 1.84.0-1 \[51.6 kB\]

8.295 Get:159 http://deb.debian.org/debian trixie/main amd64 libicu76 amd64 76.1-4 \[9722 kB\]

8.947 Get:160 http://deb.debian.org/debian trixie/main amd64 libharfbuzz-icu0 amd64 10.2.0-1+deb13u1 \[15.5 kB\]

8.948 Get:161 http://deb.debian.org/debian trixie/main amd64 libharfbuzz-subset0 amd64 10.2.0-1+deb13u1 \[560 kB\]

9.006 Get:162 http://deb.debian.org/debian trixie/main amd64 libharfbuzz-cairo0 amd64 10.2.0-1+deb13u1 \[45.6 kB\]

9.011 Get:163 http://deb.debian.org/debian trixie/main amd64 libgraphite2-dev amd64 1.3.14-2+deb13u1 \[20.1 kB\]

9.043 Get:164 http://deb.debian.org/debian trixie/main amd64 icu-devtools amd64 76.1-4 \[215 kB\]

9.079 Get:165 http://deb.debian.org/debian trixie/main amd64 libicu-dev amd64 76.1-4 \[10.8 MB\]

10.40 Get:166 http://deb.debian.org/debian trixie/main amd64 libharfbuzz-dev amd64 10.2.0-1+deb13u1 \[145 kB\]

10.41 Get:167 http://deb.debian.org/debian trixie/main amd64 libdatrie-dev amd64 0.2.13-3+b1 \[18.4 kB\]

10.41 Get:168 http://deb.debian.org/debian trixie/main amd64 libthai-dev amd64 0.1.29-2+b1 \[24.5 kB\]

10.41 Get:169 http://deb.debian.org/debian trixie/main amd64 libxft-dev amd64 2.3.6-1+b4 \[73.2 kB\]

10.43 Get:170 http://deb.debian.org/debian trixie/main amd64 pango1.0-tools amd64 1.56.3-1 \[44.3 kB\]

10.46 Get:171 http://deb.debian.org/debian trixie/main amd64 libpango1.0-dev amd64 1.56.3-1 \[156 kB\]

10.49 Get:172 http://deb.debian.org/debian trixie/main amd64 libxml2-dev amd64 2.12.7+dfsg+really2.9.14-2.1+deb13u3 \[795 kB\]

86.00 Processing triggers for libc-bin (2.41-12+deb13u3) ...

86.05 Processing triggers for libgdk-pixbuf-2.0-0:amd64 (2.42.12+dfsg-4+deb13u1) ...

86.26

86.26 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

86.26

86.29 Reading package lists...

86.95 Building dependency tree...

87.10 Reading state information...

87.69 gcc is already the newest version (4:14.2.0-1).

87.69 make is already the newest version (4.4.1-2).

87.69 g++ is already the newest version (4:14.2.0-1).

87.69 curl is already the newest version (8.14.1-2+deb13u4).

87.69 Installing:

87.69   apt-utils  gnupg  libonig-dev  wget

87.69

87.70 Installing dependencies:

87.70   dirmngr     gpg        gpgconf  libassuan9   libgpg-error0  libnpth0t64

87.70   gnupg-l10n  gpg-agent  gpgsm    libgcrypt20  libksba8       pinentry-curses

87.70

87.70 Suggested packages:

87.70   dbus-user-session  tor             xloadimage  rng-tools

87.70   libpam-systemd     gpg-wks-server  scdaemon    pinentry-doc

87.70   pinentry-gnome3    parcimonie      tpm2daemon

87.70

87.70 Recommended packages:

87.70   gnupg-utils  gpg-wks-client  gpgv  libgpg-error-l10n

87.70

87.72 Warning: More space needed than available: 18.4 MB > 0 B, installation may fail

87.72 Error: You don't have enough free space in /var/cache/apt/archives/.

87.72 Summary:

87.72   Upgrading: 0, Installing: 16, Removing: 0, Not Upgrading: 1

87.72   Download size: 5509 kB

87.72   Space needed: 18.4 MB / 0 B available

I reproduced the packages installation phase in the container, and I have no issues. I can’t exactly reproduce the issue since I am building a multi-platform image (linux/amd64,linux/arm64) and I am on a ARM system.

So you possibly need to double the size that the new layers of one image would need.
One thing I noticed in your logs is this:

5.402   Download size: 113 MB

5.402   Space needed: 526 MB / 1137 MB available

As if you had only a little more than 1 gigabyte available on your virtual disk. I tried your original list of packages including the upgrade part. And got this (I removed everything except the apt lines)

 »  docker image ls localhost/diskspace --tree
                                                                                                                                                                                              i Info →   U  In Use
IMAGE                        ID             DISK USAGE   CONTENT SIZE   EXTRA
localhost/diskspace:latest   3c24b41c5bf2       2.16GB          853MB
├─ linux/amd64               d4224cb9733a        434MB          434MB
└─ linux/arm64               5d4dccfe324b       1.73GB          420MB

Although I also removed the apt-clean part, so not sure how much that would have deleted.

What you should try to figure out why apt sees only 1137 MB available. It is really small and you still had other apt commands after that and at the end you have no available space

87.72   Download size: 5509 kB

87.72   Space needed: 18.4 MB / 0 B available

Can you make a screenshot of the Docker DEsktop settings where you set the disk size limit?

Also can you please run the following command?

docker run --rm php:8.5-apache-trixie df -h /

This is my output:

Filesystem      Size  Used Avail Use% Mounted on
overlay         196G   20G  167G  11% /

I also noticed the disk space limit was looking odd on the apt install command. After running the command you gave me, I had the following result:

Status: Downloaded newer image for php:8.5-apache-trixie

Filesystem      Size  Used Avail Use% Mounted on

overlay          59G   54G  1.9G  97% /

tmpfs            64M     0   64M   0% /dev

shm              64M     0   64M   0% /dev/shm

/dev/vda1        59G   54G  1.9G  97% /etc/hosts

tmpfs           7.8G     0  7.8G   0% /proc/scsi

tmpfs           7.8G     0  7.8G   0% /sys/firmware

I realized the /dev/vda1 size was my disk usage size in Settings > Ressources (in Docker Desktop). So, as a temporary fix, I increased my disk limit to 70G. But I am now wondering where the 54G used comes from. I already cleared all my docker datas with docker system prune -a I have almost nothing to clear.
It’s unclear to me where the /dev/vda1 datas are stored on my host machine.

There was a bug in Docker Desktop when it stored all previous OS disk image snapshots on the data disk. It increased the disk after every upgrade. The bug was fixed, but and only the virtual disk had to be resized manually, but your disk still has a lot of data, so I have to ask (which I thought I already asked) which Docker Desktop version do you have?

If it is recent, you can still try running a shell in the VM of Docker Desktop and figure out where the data is and what it is, but I would go into details only if needed.

I am on MacOS Seqoïa 15.6.1, using docker setup like this:

Client: Docker Engine - Community

Version:           29.4.0

API version:       1.54

Go version:        go1.26.1

Git commit:        9d7ad9ff18

Built:             Fri Apr  3 14:24:17 2026

OS/Arch:           darwin/amd64 (rosetta)

Context:           desktop-linux



Server: Docker Desktop 4.69.0 (224084)

Engine:

  Version:          29.4.0

  API version:      1.54 (minimum version 1.40)

  Go version:       go1.26.1

  Git commit:       daa0cb7

  Built:            Tue Apr  7 08:36:25 2026

  OS/Arch:          linux/arm64

  Experimental:     false

containerd:

  Version:          v2.2.1

  GitCommit:        dea7da592f5d1d2b7755e3a161be07f43fad8f75

runc:

  Version:          1.3.4

  GitCommit:        v1.3.4-0-gd6d73eb8

docker-init:

  Version:          0.19.0

  GitCommit:        de40ad0

I realized I don’t have the very last version, hope this is not an issue

That is old indeed, so your problem can be related to this issue I mentioned :

It was fixed in Docker Desktop 4.76:

https://docs.docker.com/desktop/release-notes/#4760

This was the bug https://github.com/docker/desktop-feedback/issues/375
The release notes point to another issue. I believe that is a mistake. That is related too, but not closed.

So you should first upgrade Docker Desktop that will delete the cache files. Otherwise you could manually delete some now, but better letting Docker Desktop do it.