I installed @minimal-environment + @kde-desktop-environment
I discovered there is package tigervnc-server-minimal on my system.
When I tried to remove it I got a long list of packages that would be removed:
I’m not a CentOS user, so I’m not sure. Is your system installed on Btrfs? If so, you could probably take a snapshot of your root filesystem before running the command. Then you should be able to rollback your filesystem if you find you need to. (You can even recover the snapshot if the system is unbootable, as long as you can get to the dracut emergency shell or boot from a Live CD.)
FWIW on Fedora Linux 40, it’s only Anaconda (which is there as a weird artifact of the installation process — it’s not necessary or even useful) that would be removed. (Well, also a few random Python modules apparently just used by Anaconda.)
On yours, I think it’s mostly okay — except it is removing a bunch of container management stuff for some reason.
I think the issue is that clean_requirements_on_remove=true is set in CentOS Stream 9 so it is going to pull off a lot of things which are pulled in when the tigervnc-server-minimal was added. Try dnf remove --noautoremove tigervnc-server-minimal and see if that cuts down the list. The only thing which ‘depends on’ tigervnc-server-minimal is anaconda… which is pulling in a LOT of things like contaienrs which is where most of those dependencies are coming from.