[Bug 2006589] Re: Anacron service and timer disabled after upgrading from 2.3-33

Adrien Nader 2006589 at bugs.launchpad.net
Tue Mar 7 15:31:44 UTC 2023


I'm attaching an updated debdiff. I can't (easily) produce an debdiff
between patch revisions unfortunately.

Changes:
- fixed the indentation
- improved messages a bit
- made it so that the backup directory is not removed anymore in case a file exists at the original location of the backup: replace "rm -rf $dir" with "rmdir --ignore-fail-on-non-empty" in order to not fail configuration but maybe we prefer it to fail.

For reference, the (updated) message in case a file exists at the original location of the backup:
> Warning: found a backup for anacron.timer but a file exists at the original location; please check its status and configuration; backup is available at `/var/lib/dpkg/anacron-service-timer-status/anacron-timer-backup'

The changelog still has all the clutter from the several revisions here
but it should be simple to remove all the ppa entries before applying.

** Patch added: "anacron_2.3-36ubuntu1-to-2.3-36ubuntu2~ppa6.diff"
   https://bugs.launchpad.net/ubuntu/+source/anacron/+bug/2006589/+attachment/5652480/+files/anacron_2.3-36ubuntu1-to-2.3-36ubuntu2~ppa6.diff

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2006589

Title:
  Anacron service and timer disabled after upgrading from 2.3-33

Status in anacron package in Ubuntu:
  Confirmed

Bug description:
  As hinted by https://lists.debian.org/debian-devel-
  announce/2022/11/msg00001.html , anacron 2.3-33's packaging has a bug
  which disables both the timer and service when its postrm script is
  invoked and that includes upgrades from this package.

  We need to work-around this issue since it is the version in kinetic.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/anacron/+bug/2006589/+subscriptions




More information about the Ubuntu-sponsors mailing list