I would like to know if there is a specific command to upgrade my whole system except Gnome with sudo apt-get update
and sudo apt-get dist-upgrade
.
In a previous post I found the following command to exclude one packet from upgrade sudo apt-mark hold [package]
, but I don't think that this is suitable for my purpose because gdm3 has dependencies, so I think I shouldn't upgrade those too.
Is this statement right or am I wrong?
Please, provide a detailed solution. Thanks you all