Hello Lance, On Fri, Oct 07, 2022 at 12:34:33PM +0000, Lance Lin wrote: > I believe I've found the issue! Sorry it has taken so long to get back to you > but I believe I have an answer. > > It seems to be related to an inadequate cleanup. I don't have a great > explanation but I found something that works. > > The -33 version that removed the symlinks *somehow* (I am not sure) corrupted > the whole install. I've found that > uninstalling anacron, removing the files associated with anacron and then > re-installing the package (-35) will > > yield a service that works. > > Specifically, I removed: > /var/lib/systemd/deb-systemd-helper-*/ ... anacron files [might not be > needed?] > /var/lib/dpkg/info/anacron.* files [might not be needed?] > /var/spool/anacron > /etc/anacrontab [I think this file is the problem!!] > > Since you already have cron files, perhaps you could back them up, uninstall > anacron, remove the files, and then > re-install anacron (-35), and then overlay your existing cron files? Would > you be so kind to test this out on > your machine and see if this fixes it?
I did the following: apt-get remove --purge anacron root@twentytwo:~# ls /var/lib/systemd/deb-systemd-helper-* | grep anacron root@twentytwo:~# root@twentytwo:~# LC_ALL=C ls /var/lib/dpkg/info/anacron* ls: cannot access '/var/lib/dpkg/info/anacron*': No such file or directory root@twentytwo:~# LC_ALL=C ls /var/spool/anacron ls: cannot access '/var/spool/anacron': No such file or directory root@twentytwo:~# LC_ALL=C ls /etc/anacrontab ls: cannot access '/etc/anacrontab': No such file or directory root@twentytwo:~# mkdir ~/crontmp root@twentytwo:~# mv -iv /etc/cron* ~/crontmp/ Datei umbenannt '/etc/cron.d' -> '/root/crontmp/cron.d' Datei umbenannt '/etc/cron.daily' -> '/root/crontmp/cron.daily' Datei umbenannt '/etc/cron.hourly' -> '/root/crontmp/cron.hourly' Datei umbenannt '/etc/cron.monthly' -> '/root/crontmp/cron.monthly' Datei umbenannt '/etc/crontab' -> '/root/crontmp/crontab' Datei umbenannt '/etc/cron.weekly' -> '/root/crontmp/cron.weekly' # apt-get install anacron and then moved the cron files back. root@twentytwo:~# LC_ALL=C ls -l /var/spool/anacron total 0 -rw------- 1 root root 0 Oct 16 18:31 cron.daily -rw------- 1 root root 0 Oct 16 18:31 cron.monthly -rw------- 1 root root 0 Oct 16 18:31 cron.weekly I report to you tomorrow if cron.daily gets updated … > Thank you for your help in tracking this down! Thanks for fixing it so swiftly and promptly. Greetings Helge -- Dr. Helge Kreutzmann deb...@helgefjell.de Dipl.-Phys. http://www.helgefjell.de/debian.php 64bit GNU powered gpg signed mail preferred Help keep free software "libre": http://www.ffii.de/
signature.asc
Description: PGP signature