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:
https://pastebin.com/uJ0bL7bF
--simulate
flag) to discover which of your server applications is also marked for removal. If nothing key to your workflow is removed by the test, then remove that desktop stack (and then fully test your system!) before starting the release-upgrade.dpkg -l
and not had any luck finding anything that stands out. I've been usingapt-cache depends <packagename>
to analyze suspects, but that's slow and I have to do it one by one. Is there any way for me to search the tree?do-release-upgrade
(such asgnome-control-center
) it claims they are not currently installed (I'm usingapt-get remove --simulate <packagename>
). Which I find confusing - if they're dependencies of something I have installed already I don't know how I could get into my current state with them not yet installed.apt-cache depends
output.