[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1028142: dlocate: cannot find recent files - obsolete database?



On 2023-01-07 20:05:59 +0100, Sven Joachim wrote:
> >> If not, you may have been bitten by bug #1019554 in
> >> anacron which needs manual restore as mentioned in
> >> https://lists.debian.org/debian-devel-announce/2022/11/msg00001.html.
> >
> > 2022-07-14 20:57:59 upgrade anacron:amd64 2.3-32 2.3-33
> > 2022-07-14 20:57:59 status half-configured anacron:amd64 2.3-32
> > 2022-07-14 20:57:59 status unpacked anacron:amd64 2.3-32
> > 2022-07-14 20:57:59 status half-installed anacron:amd64 2.3-32
> > 2022-07-14 20:57:59 status unpacked anacron:amd64 2.3-33
> 
> Note that the anacron bug only makes itself apparent after the upgrade
> to a later version, since that would run the faulty postrm from 2.3-33.

I track the diffs in etc, and it seems that 2.3-33 and later did
nothing wrong. Dangling symlinks were removed after the upgrade
to anacron 2.3-34, but these were *dangling* symlinks, so that
this should have no effect. See the bug I reported:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993348

Dangling symlinks are bad as they can break other tools
(e.g. checkrestart, which was the reason I reported this bug).

> > but I get mail from failing cron scripts.
> 
> What does "systemctl status anacron.service" print?

○ anacron.service - Run anacron jobs
     Loaded: loaded (/lib/systemd/system/anacron.service; disabled; preset: enabled)
     Active: inactive (dead)
       Docs: man:anacron
             man:anacrontab

And anacron is no longer in the timers (systemctl list-timers).

-- 
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 / AriC project (LIP, ENS-Lyon)


Reply to: