A couple of years ago I made a live-image for personal uses (a mixture of use cases) using debootstrap, chroot, and squashfs-tools
Now i want to re-design the distro, update the software in it, add some new software and debloat it a bit, starting with the package management
When I try to run:
$ apt remove apt dpkg
or
$ apt purge apt dpkg
, apt targets all the installed packages on the system, which is something that i don't want to happen: I want to keep all the software installed through apt, but also want get rid of all the package management and update mechanisms, which aren't necessary in a live-system
I tried searching for this on the internet, i also tried searching in Stack Overflow, Serverfault, and tried searching in this Stack Exchange site and none of the results had any information for what I need