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

Bug#472773: xdebconfigurator upgrade fails



tags 472773 + patch
thanks

[Heikki Kantola]
> I just tried to upgrade xdebconfigurator package to version 1.32, but
> the installation fails with the following error:
> 
>  Preparing to replace xdebconfigurator 1.31 (using
>  .../xdebconfigurator_1.32_all.deb) ...
>  update-rc.d: /etc/init.d/xdebconfigurator exists during rc.d purge
>  (use -f to force)

Thank you for the report.  I've fixed it in svn, and the fix will be in the next upload.

This is the fix.

Index: debian/preinst
===================================================================
--- debian/preinst      (revision 40621)
+++ debian/preinst      (working copy)
@@ -3,7 +3,7 @@
 set -e

 if [ ! -z $2 ] && dpkg --compare-versions "$2" le "1.31"; then
-    update-rc.d xdebconfigurator remove # Replacing with updated settings
+    update-rc.d -f xdebconfigurator remove # Replacing with updated settings
 fi

 #DEBHELPER#

Happy hacking,
-- 
Petter Reinholdtsen



Reply to: