Source: live-build Version: 1:20250814 Severity: wishlist Dear Maintainer, please add an option to finalize apt configuration in chroot with "apt-get distclean" command. With minimal images this could significantly reduce resulting image size since apt lists and pkgcache take up more that 100MB, but could be removed with distclean.
I tried to do this via chroot_hooks but other components like chroot_hacks and chroot_archives recreate apt indices later. -- System Information: Debian Release: forky/sid APT prefers unstable APT policy: (900, 'unstable'), (300, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.16.7+deb14-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_AUX Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
