Control: tags -1 pending

Hi,

On Sat, 4 Mar 2023 00:50:04 +0100 Couret Charles-Antoine <charles-antoine.cou...@mind.be> wrote:
update-rc.d (provided by #DEBHELPER#) which is called after "invoke-rc.d timidity stop" which stops the service.


It means systemd was not able to find the relevant service to stop at this moment in time. Making this update just before does the trick.

The patch is in attachment.

I have based my NMU on the attachment and uploaded the attached debdiff to DELAYED/2. Please let me know if I should delay or cancel it (or you can do that yourself).

Paul
diff -Nru timidity-2.14.0/debian/changelog timidity-2.14.0/debian/changelog
--- timidity-2.14.0/debian/changelog    2018-06-27 22:06:49.000000000 +0200
+++ timidity-2.14.0/debian/changelog    2023-04-07 20:22:10.000000000 +0200
@@ -1,3 +1,11 @@
+timidity (2.14.0-8.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Fix fails to install: invoke update-rc.d before invoke-rc.d
+    (Closes: #1000209)
+
+ -- Paul Gevers <elb...@debian.org>  Fri, 07 Apr 2023 20:22:10 +0200
+
 timidity (2.14.0-8) unstable; urgency=medium
 
   * Fix FTBFS due to test requiring /etc/timidity/timidity.cfg
diff -Nru timidity-2.14.0/debian/timidity-daemon.postinst 
timidity-2.14.0/debian/timidity-daemon.postinst
--- timidity-2.14.0/debian/timidity-daemon.postinst     2018-06-27 
21:58:00.000000000 +0200
+++ timidity-2.14.0/debian/timidity-daemon.postinst     2023-04-07 
20:22:10.000000000 +0200
@@ -56,6 +56,7 @@
 # make sure we really stop, because packaging system doesn't
 # understand what we're trying to do with migration to timidity-daemon
 [ -f "/etc/init.d/timidity" ] && if which invoke-rc.d >/dev/null 2>&1; then
+  update-rc.d timidity defaults >/dev/null
   invoke-rc.d timidity stop
 else
   /etc/init.d/timidity stop

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to