APT updates sometimes missing

Hi @andreas-doehler,

Thanks for looking into this case!

I forgot to mention that I have run the debug command. It does not show any error or traceback, so I decided it’s worthless to show. The only line matching ‘apt’ is:

APT Updates          UNKN - Item not found in agent output

Are there other switches to increase chattiness?

Regarding dist-upgrade, I have to disagree. I would not have asked for it if mk_apt would have shown the kernel updates in the first place. It did not. I noticed it by chance on a host whose “Apt Updates” check was green, but opening aptitude showed “1 update pending”. So I went ahead and checked all Debian systems and found kernel updates pending on all of them. Here’s an example:

root@nc:~# uname -a
Linux nc 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64 GNU/Linux
root@nc:~# apt-get -s -qq upgrade
root@nc:~# apt-get -s -qq dist-upgrade
Inst linux-image-4.9.0-13-amd64 (4.9.228-1 Debian:9.13/oldstable [amd64])
Inst linux-image-amd64 [4.9+80+deb9u10] (4.9+80+deb9u11 Debian:9.13/oldstable [amd64])
Conf linux-image-4.9.0-13-amd64 (4.9.228-1 Debian:9.13/oldstable [amd64])
Conf linux-image-amd64 (4.9+80+deb9u11 Debian:9.13/oldstable [amd64])

Some of the hosts are also Debian 10, it’s just the same there. If there are other means of alerting me for all pending updates then please let me know. I found it well-documented in mk_apt and thought it would solve the problem.

Regards,
sultansofswing.