tags 498717 + patch
thanks

[Matthias Heinz]
> I still get the following error message. To reproduce I used aptitude 
> reinstall:

I believe the problem is that the postinst script fail to handle
machines using the dependency based boot sequencing system, where the
shutdown sequence number might be different from 20.

This untested patch should solve it, by allowing the shell to expand
to any sequence number:

--- cpufrequtils-006/debian/cpufrequtils.postinst       2010-04-24 
23:50:23.000000000 +0200
+++ cpufrequtils-006-pere/debian/cpufrequtils.postinst  2010-04-25 
00:12:45.000000000 +0200
@@ -59,8 +59,7 @@
        # them.
        # Make sure they are not there.
        for i in 0 1 6 ; do
-               link="/etc/rc$i.d/K20cpufrequtils"
-               [ -f $link ] && rm $link
+               [ -f /etc/rc$i.d/K*cpufrequtils ] && rm 
/etc/rc$i.d/K*cpufrequtils
        done
 
     ;;

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to