I'm trying to run
do-release-upgrade to upgrade from 18.04 to 20.04 on an install of Ubuntu Server. When working out what it will install at the beginning of that process, by pressing "d" for details of which packages will be installed/removed etc, it lists a bunch of GUI related packages for Gnome and X. This is a server install that doesn't have any of those packages installed at the moment, and my intent is to keep it that way.
Some packages it wants to install include:
gnome-control-center gnome-session-common gnome-menus gnome-startup-applications xserver-xorg
And a series of others with similar names.
I believe this means that some package I have installed either currently depends or upgrades into a version that depends on these packages? Is there any way for me to investigate what existing package might be creating that dependency without actually doing the upgrade and installing them all first?
These are the packages output by
dpkg -l on my machine: