Debian Bug report logs - #1020966
anacron: after update anacron.service is disabled

version graph

Package: anacron; Maintainer for anacron is Lance Lin <lq27267@gmail.com>; Source for anacron is src:anacron (PTS, buildd, popcon).

Reported by: GT <grandtoubab@msn.com>

Date: Thu, 29 Sep 2022 17:48:01 UTC

Severity: important

Merged with 1019554, 1021496

Found in version anacron/2.3-34

Fixed in version 2.3-35

Done: Lance Lin <LQi254@protonmail.com>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, grandtoubab@msn.com, Lance Lin <lqi254@protonmail.com>:
Bug#1020966; Package anacron. (Thu, 29 Sep 2022 17:48:03 GMT) (full text, mbox, link).


Acknowledgement sent to GT <grandtoubab@msn.com>:
New Bug report received and forwarded. Copy sent to grandtoubab@msn.com, Lance Lin <lqi254@protonmail.com>. (Thu, 29 Sep 2022 17:48:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: GT <grandtoubab@msn.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: anacron: after update anacron.service is disabled
Date: Thu, 29 Sep 2022 19:45:16 +0200
Package: anacron
Version: 2.3-35
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
update
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
sudo apt full-upgrade
   * What was the outcome of this action?
after update the anacron service is left disabled
I have to perform manually systemctl enable anacron.service
   * What outcome did you expect instead?
anacron service must be running after update
*** End of the template - remove these template lines ***


-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-security
  APT policy: (990, 'stable-security'), (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.19.0-1-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages anacron depends on:
ii  libc6                      2.35-1
ii  lsb-base                   11.4
ii  sysvinit-utils [lsb-base]  3.05-6

Versions of packages anacron recommends:
ii  cron [cron-daemon]  3.0pl1-149

Versions of packages anacron suggests:
ii  exim4-daemon-light [mail-transport-agent]  4.96-4
ii  powermgmt-base                             1.37
ii  rsyslog [system-log-daemon]                8.2208.0-1

-- Configuration Files:
/etc/anacrontab changed:
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
HOME=/root
LOGNAME=root
0 40	cron.hourly 	 run-parts --report /etc/cron.hourly
1 20	cron.daily	 run-parts --report /etc/cron.daily
7 30	cron.weekly	 run-parts --report /etc/cron.weekly
@monthly 50     cron.monthly     run-parts --report /etc/cron.monthly


-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Lance Lin <lqi254@protonmail.com>:
Bug#1020966; Package anacron. (Wed, 05 Oct 2022 10:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Gábor Gombás <gombasg@digikabel.hu>:
Extra info received and forwarded to list. Copy sent to Lance Lin <lqi254@protonmail.com>. (Wed, 05 Oct 2022 10:57:03 GMT) (full text, mbox, link).


Message #10 received at 1020966@bugs.debian.org (full text, mbox, reply):

From: Gábor Gombás <gombasg@digikabel.hu>
To: Debian Bug Tracking System <1020966@bugs.debian.org>
Subject: Re: anacron: after update anacron.service is disabled
Date: Wed, 05 Oct 2022 11:56:15 +0200
Package: anacron
Version: 2.3-35
Followup-For: Bug #1020966

Hi,

This happened here as well:

diff --git a/systemd/system/multi-user.target.wants/anacron.service b/systemd/system/multi-user.target.wants/anacron.service
deleted file mode 120000
index 18167769..00000000
--- a/systemd/system/multi-user.target.wants/anacron.service
+++ /dev/null
@@ -1 +0,0 @@
-/lib/systemd/system/anacron.service
\ No newline at end of file
diff --git a/systemd/system/timers.target.wants/anacron.timer b/systemd/system/timers.target.wants/anacron.timer
deleted file mode 120000
index 0acf85ee..00000000
--- a/systemd/system/timers.target.wants/anacron.timer
+++ /dev/null
@@ -1 +0,0 @@
-/lib/systemd/system/anacron.timer
\ No newline at end of file

Regards,
Gabor

-- System Information:
Debian Release: bookworm/sid
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'stable-security'), (103, 'testing'), (102, 'unstable'), (101, 'experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.19.12-00001-g6b8ac68e5f67 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages anacron depends on:
ii  libc6     2.35-1
ii  lsb-base  11.2

Versions of packages anacron recommends:
ii  cron [cron-daemon]  3.0pl1-150

Versions of packages anacron suggests:
ii  postfix [mail-transport-agent]      3.6.4-1+b3
ii  powermgmt-base                      1.37
ii  syslog-ng-core [system-log-daemon]  3.35.1-1+b2

-- no debconf information



Marked as found in versions anacron/2.3-34. Request was from Lance Lin <LQi254@protonmail.com> to control@bugs.debian.org. (Tue, 11 Oct 2022 12:45:05 GMT) (full text, mbox, link).


Merged 1019554 1020966 Request was from Lance Lin <LQi254@protonmail.com> to control@bugs.debian.org. (Tue, 11 Oct 2022 12:45:06 GMT) (full text, mbox, link).


Merged 1019554 1020966 1021496 Request was from Lance Lin <LQi254@protonmail.com> to control@bugs.debian.org. (Tue, 11 Oct 2022 12:45:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Lance Lin <lqi254@protonmail.com>:
Bug#1020966; Package anacron. (Tue, 11 Oct 2022 13:00:03 GMT) (full text, mbox, link).


Acknowledgement sent to Lance Lin <LQi254@protonmail.com>:
Extra info received and forwarded to list. Copy sent to Lance Lin <lqi254@protonmail.com>. (Tue, 11 Oct 2022 13:00:03 GMT) (full text, mbox, link).


Message #21 received at 1020966@bugs.debian.org (full text, mbox, reply):

From: Lance Lin <LQi254@protonmail.com>
To: Gábor Gombás <gombasg@digikabel.hu>, 1020966@bugs.debian.org
Subject: Re: Bug#1020966: anacron: after update anacron.service is disabled
Date: Tue, 11 Oct 2022 12:52:24 +0000
[Message part 1 (text/plain, inline)]
Gabor, GT,


I have merged this bug with #1019554.

The problem was introduced in -33. I've noticed that it resulted in an incomplete cleanup on upgrade. It has been fixed in -35 but the service still doesn't start due to the cleanup.

My tested working solution is to backup existing cron files, remove anacron, manually remove the files and install the -35 version. Then you should be able to overlay your backed up cron files.

Specifically, I removed:
/var/lib/systemd/deb-systemd-helper-*/ ... anacron files
/var/lib/dpkg/info/anacron.* files
/var/spool/anacron
/etc/anacrontab

Sorry for the inconvenience. Please let me know if this works as it seems to fix it on my system.

Lance Lin <lqi254@protonmail.com>
GPG Fingerprint:  4A31 DB5A 1EE4 096C 8739 9880 9036 4929 4C33 F9B7
[signature.asc (application/pgp-signature, attachment)]

Message #22 received at 1021496-done@bugs.debian.org (full text, mbox, reply):

From: Lance Lin <LQi254@protonmail.com>
To: "1021496-done@bugs.debian.org" <1021496-done@bugs.debian.org>
Subject: Closing
Date: Sat, 29 Oct 2022 12:08:52 +0000
[Message part 1 (text/plain, inline)]
Version: 2.3-35



Lance Lin <lqi254@protonmail.com>
GPG Fingerprint:  4A31 DB5A 1EE4 096C 8739 9880 9036 4929 4C33 F9B7
[signature.asc (application/pgp-signature, attachment)]

Reply sent to Lance Lin <LQi254@protonmail.com>:
You have taken responsibility. (Sat, 29 Oct 2022 12:12:32 GMT) (full text, mbox, link).


Notification sent to GT <grandtoubab@msn.com>:
Bug acknowledged by developer. (Sat, 29 Oct 2022 12:12:32 GMT) (full text, mbox, link).


Message #27 received at 1020966-done@bugs.debian.org (full text, mbox, reply):

From: Lance Lin <LQi254@protonmail.com>
To: "1020966-done@bugs.debian.org" <1020966-done@bugs.debian.org>
Subject: Closing 1020966
Date: Sat, 29 Oct 2022 12:11:30 +0000
[Message part 1 (text/plain, inline)]
Version: 2.3-35
[signature.asc (application/pgp-signature, attachment)]

Reply sent to Lance Lin <LQi254@protonmail.com>:
You have taken responsibility. (Sat, 29 Oct 2022 12:12:33 GMT) (full text, mbox, link).


Notification sent to Helge Kreutzmann <debian@helgefjell.de>:
Bug acknowledged by developer. (Sat, 29 Oct 2022 12:12:33 GMT) (full text, mbox, link).


Reply sent to Lance Lin <LQi254@protonmail.com>:
You have taken responsibility. (Sat, 29 Oct 2022 12:12:34 GMT) (full text, mbox, link).


Notification sent to Ralf Jung <post@ralfj.de>:
Bug acknowledged by developer. (Sat, 29 Oct 2022 12:12:34 GMT) (full text, mbox, link).


Message #36 received at 1019554-done@bugs.debian.org (full text, mbox, reply):

From: Lance Lin <LQi254@protonmail.com>
To: "1019554-done@bugs.debian.org" <1019554-done@bugs.debian.org>
Subject: Closing 1019554
Date: Sat, 29 Oct 2022 12:12:37 +0000
[Message part 1 (text/plain, inline)]
Version: 2.3-35
[signature.asc (application/pgp-signature, attachment)]

No longer marked as found in versions anacron/2.3-35. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sat, 29 Oct 2022 13:51:17 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 22 Dec 2022 07:27:45 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Nov 4 12:11:05 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.