If we look at lines 131 and 132 in /usr/lib/apt/apt.systemd.daily, we will se the following:
interval="${interval%d}" interval=$((interval*60*60*24))
I’m not 100% certain but I think that this time logic is what cause the bug to occur, in accordance with what Magnus has pointed out in his comments.
(It’s possible that lines 122-130 are also relevant.)
Any ideas on how to modify the code in order to avoid this bug?
If we look at lines 131 and 132 in /usr/lib/ apt/apt. systemd. daily, we will se the following:
interval= "${interval% d}" $((interval* 60*60*24) )
interval=
I’m not 100% certain but I think that this time logic is what cause the bug to occur, in accordance with what Magnus has pointed out in his comments.
(It’s possible that lines 122-130 are also relevant.)
Any ideas on how to modify the code in order to avoid this bug?