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

Adrien Nader 2006589 at bugs.launchpad.net
Thu Feb 16 17:17:40 UTC 2023


It's a bit difficult to understand deb-systemd-helper fully well but
this doesn't matter much.

Luckily, we don't need to look at the whole code. No script is called
between the new preinst, the old postrm and the new postinst. As such,
the only code we have to look at is what is inserted through the
#DEBHELPER placeholder. The only cases during which deb-systemd-helper
can be called are on "purge" and "remove" events which are not a concern
here.

As for the configuration step being interrupted, I think I prefer to
keep this simpler and not try to take into account voluntary changes
between preinst and postinst, even if the two are separate by a month.
Having anacron installed but disabled makes fairly little sense and
disabling it in the middle of an upgrades makes even less sense. What do
you think about this?

-- 
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