Hi!

The source code of the postinst file for mediatomb-daemon states:

 "# Force removal of previous scripts if upgrading from 0.11.0-3"

If we want to force removal, we should use force, i.e. option -f on
update-rc.d. Patch attached.

With kind regards,

Robert Kehl
--- /var/lib/dpkg/info/mediatomb-daemon.postinst        2011-02-16 
00:25:48.000000000 +0100
+++ mediatomb-daemon.postinst.new       2011-02-16 00:20:30.000000000 +0100
@@ -20,7 +20,7 @@
 configure)
     # Force removal of previous scripts if upgrading from 0.11.0-3
     if [ -n "$2" ] && dpkg --compare-versions "$2" le "0.11.0-3"; then
-        update-rc.d mediatomb remove >/dev/null || exit $?
+        update-rc.d -f mediatomb remove >/dev/null || exit $?
     fi
     if [ -n "$2" ] && dpkg --compare-versions "$2" le "0.12.0~svn2018-1"; then
         mv_db
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to