I used dnf system-upgrade to upgrade from F39 to F40, and there are some record issues (I don’t really know how to call them…):
“ghostscript-tools-fonts”, “ghostscript-tools-printing” are now marked as user installed, but they should really be dependencies to “ghostscript” etc.
This is easy to solve sudo dnf mark remove ghostscript-tools-fonts ghostscript-tools-printing.
However why does this happen?
“Desktop Accessibility” is listed as explicitly installed in dnf group list installed unlike other groups that belong to “Fedora Workstation” environment group. sudo dnf group remove "Desktop Accessibility" makes dnf think it’s really not installed, as it doesn’t show up in sudo dnf group upgrade "Fedora Workstation".[1]
And, orca is still kept and considered group installed for whatever reason.
“snapshot” was made part of “gnome-desktop” group instead of “cheese”, I installed snapshot before the change, and it’s still marked user installed.
This is easy to solve and is my fault. sudo dnf mark group snapshot-46.2-1.fc40.x86_64[2].
F40 removes X11, but “base-x” optional group is still installed.
This is easy sudo dnf group remove base-x.
I suppose this is an XY problem. I just wish that system-upgrade equals to fresh install with Everything installer selecting “Fedora Workstation” group (as I initially installed the system this way[3]), without having to play nannies to fix up problems.