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


Groups > linux.debian.bugs.rc > #415699

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

From Vincent Lefevre <vincent@vinc17.net>
Newsgroups linux.debian.bugs.rc
Subject Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..."
Date 2026-04-14 03:10 +0200
Message-ID <MJArU-eXqV-11@gated-at.bofh.it> (permalink)
References (7 earlier) <MJreV-eRhW-5@gated-at.bofh.it> <MJreV-eRhW-3@gated-at.bofh.it> <MJArU-eXqV-13@gated-at.bofh.it> <MIPMl-erHq-3@gated-at.bofh.it> <MJArU-eXqV-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2026-04-13 22:44:00 +0700, Lin Qigang wrote:
> The install section was removed from the service file before and
> added again since this caused issues.

Only because the maintainer did something wrong when he removed
the Install section. At

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913584#5,

Michael Biebl said:

  Starting via multi-user.target should either be re-introduced or
  the symlink removed on upgrades.
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

So, removing the symlink would have been the other possibility.

Running anacron on upgrades is not a big problem, but it makes the
start time of the daily jobs less regular without any good reason
when an upgrade is done between midnight and 07:30. For instance,
if an upgrade is done on day 3 at 00:10,

Day 1: 07:30 (with a delay of up to 5 minutes)
Day 2: 07:30 (with a delay of up to 5 minutes)
Day 3: 00:10
Day 4: 07:30 (with a delay of up to 5 minutes)

So I would say that it would be better to avoid that.

> If there is an actual issue with the install section, I will debug
> this via a new issue since this one will close with the next release
> of anacron 2.3-50.

I confirm that upgrading to anacron 2.3-49 between midnight and 07:30
did not hang:

Apr 14 02:24:16 qaa systemd[1]: Started anacron.service - Run anacron jobs.
Apr 14 02:24:16 qaa systemd[1]: anacron.timer: Deactivated successfully.
Apr 14 02:24:16 qaa systemd[1]: Stopped anacron.timer - Trigger anacron every hour.
Apr 14 02:24:16 qaa systemd[1]: Stopping anacron.timer - Trigger anacron every hour...
Apr 14 02:24:16 qaa systemd[1]: Started anacron.timer - Trigger anacron every hour.
Apr 14 02:24:16 qaa anacron[983995]: Anacron 2.3 started on 2026-04-14
Apr 14 02:24:16 qaa anacron[983995]: Will run job `cron.daily' in 5 min.
Apr 14 02:24:16 qaa anacron[983995]: Jobs will be executed sequentially
[...]
Apr 14 02:29:16 qaa anacron[983995]: Job `cron.daily' started
Apr 14 02:29:16 qaa anacron[984832]: Updated timestamp for job `cron.daily' to 2026-04-14
Apr 14 02:29:17 qaa anacron[983995]: Job `cron.daily' terminated
Apr 14 02:29:17 qaa anacron[983995]: Normal exit (1 job run)
Apr 14 02:29:17 qaa systemd[1]: anacron.service: Deactivated successfully.
Apr 14 02:29:17 qaa systemd[1]: anacron.service: Consumed 719ms CPU time over 5min 747ms wall clock time, 149.9M memory peak.

and in /var/log/dpkg.log:

2026-04-14 02:24:15 configure anacron:amd64 2.3-49 <none>
2026-04-14 02:24:15 status unpacked anacron:amd64 2.3-49
2026-04-14 02:24:16 status half-configured anacron:amd64 2.3-49
2026-04-14 02:24:16 status installed anacron:amd64 2.3-49

-- 
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.rc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..." Vincent Lefevre <vincent@vinc17.net> - 2026-04-12 01:20 +0200
  Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..." Vincent Lefevre <vincent@vinc17.net> - 2026-04-12 01:30 +0200
  Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..." Jean-Marc <jean-marc@6jf.be> - 2026-04-13 12:40 +0200
    Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..." Vincent Lefevre <vincent@vinc17.net> - 2026-04-13 13:20 +0200
  Processed: Re: Bug#1133304: anacron: upgrade frozen on "Setting  up anacron (2.3-48) ..." "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-04-13 14:10 +0200
  Processed: Re: Bug#1133304: anacron: upgrade frozen on "Setting  up anacron (2.3-48) ..." "Debian Bug Tracking System" <owner@bugs.debian.org> - 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-14 03:10 +0200
  Bug#1133304: marked as done (anacron: upgrade hangs for any jobs  waiting to be run (anacron 2.3-48)) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-04-14 14:30 +0200
  Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..." Vincent Lefevre <vincent@vinc17.net> - 2026-04-14 15:30 +0200
    Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..." Vincent Lefevre <vincent@vinc17.net> - 2026-04-14 15:50 +0200

csiph-web