Now it comes to mind that exit code 124 isn’t from APT. It’s the exit code of timeout
.
This is the command that systemcheck is running
-
sudo --non-interactive /usr/libexec/helper-scripts/apt-get-update-simulate
This is what then essentially, simplified happens:
timeout_after="10"
kill_after="5"
timeout \
--kill-after="$kill_after" \
"$timeout_after" \
apt-get dist-upgrade --simulate
So apt-get dist-upgrade --simulate
didn’t complete within 10 seconds and sigterm
was sufficient to terminate apt-get
. (sigkill
--kill-after
was not needed.)
## `timeout` returns:
## - 124 if sigterm was sufficient
## - 137 if needed to use kill.
The question now is…
apt-get dist-upgrade --simulate
didn’t complete within 10 seconds
Why? Slow system? High system load?
Transitory issue?
Might be the first time that was ever reported. 10 seconds seems more than enough time for this.
The error message by systemcheck could be better. I didn’t add the complex parsing/notification since this wasn’t expected.