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).
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).
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 10195541020966
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 101955410209661021496
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).
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
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).
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/.