On Thu, Oct 08, 2026 at 13:15:28 +0000, [email protected] wrote:
> $apt purge --dry-run busybox
> NOTE: This is only a simulation!
>       apt needs root privileges for real execution.
>       Keep also in mind that locking is deactivated,
>       so don't depend on the relevance to the real current situation!
> 
> REMOVING:
>   busybox*
> 
> Summary:
>   Upgrading: 0, Installing: 0, Removing: 1, Not Upgrading: 0
> Purg busybox [1:1.37.0-6+b9]
> 
> 
> See not installed by any dependency. Hence the original question why ship it 
> by default?

hobbit:~$ lsinitramfs /boot/initrd.img-6.12.111+deb13-amd64 | grep busy
usr/bin/busybox

It's part of the initramfs that's created by the kernel infrastructure.
Removing it would probably leave your future initrd.img* files without
a functioning shell.

Feel free to test this and report the results, but be aware of the
possibility of not being able to boot (keep an old kernel+initrd on hand
to revert to if needed).

Reply via email to