For developing my LMDE-based distro Swift Linux, I'm trying to remove the zenity packages and the libdecoration0 package. In the post-installation setup, the "apt-get purge" command works as I'd expect. But in the chroot environment in my modified version of the mintConstructor remastering script (the one that generates the ISO file), things work differently.
In this chroot environment only, removing libdecoration0 forces the installation of many KDE packages that I don't want, and removing the zenity packages forces the installation of many Xfce packages that I don't want. (Keep in mind that Swift Linux is a lightweight distro that uses IceWM and ROX pinboard for the DE, just like antiX Linux.)
Why is there a trigger for these forced installations? Is there a way I can disable this trigger?