I see on my server at the login, that a few updates are available.
How can I see which packages will be updated on my server without starting the update?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
--no-act argument and it won't actually do anything, it'll just tell you what it would do:
From the apt-get man page
-s, --simulate, --just-print, --dry-run, --recon, --no-act No action; perform a simulation of events that would occur but do not actually change the system. Configuration Item: APT::Get::Simulate. Simulate prints out a series of lines each one representing a dpkg operation, Configure (Conf), Remove (Remv), Unpack (Inst). Square brackets indicate broken packages with and empty set of square brackets meaning breaks that are of no consequence (rare).
so easily take a look into the comand:
apt-get upgrade --dry-run
apt-get upgrade -s