`... not upgraded`. how to find out which packages?

I get this message:

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

How do I find out which packages are not upgraded, and why?

On many similar outputs like this, it additionally prints sth like The following packages have been kept back:, but not in my case here.

Additionally:

$ sudo apt list --upgradable
Listing... Done

Additionally:

sudo apt-get dist-upgrade --dry-run
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

and:

sudo apt-get full-upgrade --dry-run
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

apt-cache policy log here.


Solution 1:

The two packages that will not be upgraded are the ones that are pinned, to prevent them from being upgraded.

From the end of the apt-cache policy output:

Pinned packages:
     nsight-compute -> 10.1.243-3 with priority -1
     nsight-systems -> 10.1.243-3 with priority -1