What does it mean if apt upgrade doesn't say which 2 packages are not upgraded but all packages are up to date?

Sounds weird? Yes.
In my eyes this doesn’t make sense, however I can’t determine which packages those are:

apt update
Hit:1 http://ftp.de.debian.org/debian bullseye InRelease
Hit:2 http://ftp.de.debian.org/debian bullseye-updates InRelease                                                       
Hit:3 http://ftp.de.debian.org/debian bullseye-backports InRelease                                                     
Hit:4 https://repos.influxdata.com/debian bullseye InRelease                                                           
Hit:5 https://archive.raspberrypi.org/debian bullseye InRelease                                                        
Hit:6 https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Debian_11  InRelease                          
Hit:7 https://deb.nodesource.com/node_12.x bullseye InRelease                                                          
Hit:8 https://packages.grafana.com/oss/deb stable InRelease                                                            
Hit:9 https://deb.debian.org/debian-security bullseye-security InRelease                                          
Reading package lists... Done                               
Building dependency tree... Done
Reading state information... Done
All packages are up to date.



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

you could try following to show packages

apt upgrade -o APT::Get::Show-Upgraded=true

Maybe this help to upgrade them

apt full-upgrade
apt dist-upgrade

Thank you for the suggestions.
The output is the same as apt upgrade

can you check if there are packages on-hold?

apt-mark showhold
dpkg -l | grep "^hi"

nothing pops up

whats about following

apt list --upgradable
apt upgrade --dry-run

apt list --upgradable

Listing… Done

apt upgrade --dry-run

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

MichaIng
Any further ideas?

Is it probably due to APT pinning? Can you check:

cat /etc/apt/preferences.d/*

cat /etc/apt/preferences.d/*

Package: openbox* obconf* libob* pcmanfm* libfm* gtk-* libgtk* libgail* gir1.2-gtk-3.0 lx*
Pin: origin archive.raspberrypi.org
Pin-Priority: -1

Actually APT pinning should be handled silent, hence you shouldn’t see anywhere a hint about those packages, at least when I tested last. But just to test it:

apt update
apt upgrade
mv /etc/apt/{preferences.d/,}dietpi-lxde
# For the next command it is important that you do NOT confirm the upgrade. It would break your LXDE desktop.
# This is just to see whether there are offered as well 2 package upgrades
apt upgrade
# Move the pinning back in place
mv /etc/apt/{,preferences.d/}dietpi-lxde
# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.



# mv /etc/apt/{preferences.d/,}dietpi-lxde
# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libkeybinder0 libwnck-common libwnck22
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  eject libkeybinder-3.0-0 xinput
The following packages will be upgraded:
  libfm-data libfm-extra4 libfm-gtk-data libfm-gtk4 libfm-modules libfm4
  libgail-3-0 libgtk-3-0 libgtk-3-common libgtk2.0-0 libgtk2.0-common
  libobrender32v5 libobt2v5 lxinput lxlock lxpanel lxpanel-data lxpolkit
  lxsession lxsession-data lxsession-edit lxsession-logout lxterminal openbox
  pcmanfm
25 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.0 MB of archives.
After this operation, 524 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

# mv /etc/apt/{,preferences.d/}dietpi-lxde

Okay, more than 2 upgrades. Still not sure where this number is coming from/which packages is refers to. However, you should be safe to ignore it.

Ok, thanks for looking into it.