Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1289395

Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..."

From Vincent Lefevre <vincent@vinc17.net>
Newsgroups linux.debian.bugs.dist
Subject Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..."
Date 2026-04-13 14:10 +0200
Message-ID <MJoh3-ePp9-3@gated-at.bofh.it> (permalink)
References (2 earlier) <MIPMl-erHq-3@gated-at.bofh.it> <MJmRX-eOll-1@gated-at.bofh.it> <MJnuF-eOQx-1@gated-at.bofh.it> <MIPMl-erHq-3@gated-at.bofh.it> <MJnuF-eOQx-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Control: retitle -1 upgrade frozen on "Setting up anacron (2.3-48) ..." when upgrading between midnight and 07:30

On 2026-04-13 13:11:54 +0200, Vincent Lefevre wrote:
> Actually I think that there were no reasons to run the above jobs
> on the other machine. I had (the first two concern both cron.daily
> and cron.weekly):
[...]
> So, cron.daily & cron.weekly jobs are normally run at around 7:30
> (every day for cron.daily, every week for cron.weekly). But on this
> machine, when I upgraded, it did not wait for 7:30.

Note: the 7:30 corresponds to the first hour in

[Timer]
OnCalendar=*-*-* 07..23:30
RandomizedDelaySec=5m
Persistent=true

of the /etc/systemd/system/timers.target.wants/anacron.timer file.

> Or is this forced when the deadline is close enough, e.g. a few hours
> before cron.weekly jobs should be run?

This is indeed the case. The anacron(8) man page says:

    After the command exits, Anacron records the date in a
    special timestamp file for that job, so it can know when
    to execute it again. Only the date is used for the time
    calculations. The hour is not used.

So I got the issue on the first machine because I upgraded
between midnight and about 7:30.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Back to linux.debian.bugs.dist | Previous | NextNext in thread | Find similar


Thread

Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..." Vincent Lefevre <vincent@vinc17.net> - 2026-04-13 14:10 +0200
  Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..." Vincent Lefevre <vincent@vinc17.net> - 2026-04-13 14:40 +0200
  Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..." Vincent Lefevre <vincent@vinc17.net> - 2026-04-13 15:20 +0200
    Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..." Vincent Lefevre <vincent@vinc17.net> - 2026-04-13 16:20 +0200
    Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..." Vincent Lefevre <vincent@vinc17.net> - 2026-04-13 17:20 +0200

csiph-web