How does apt-get upgrade really work?

Solution 1:

Try to look APT and dpkg logs:

  • /var/log/apt/history.log
  • /var/log/apt/term.log
  • /var/log/dpkg.log

You can simulate the upgrade process with

sudo apt-get upgrade --simulate