tags 499922 patch
thanks
Package: ifenslave-2.6
Version: 1.1.0-15
Followup-For: Bug #499922
the postinst and preinst were doing a dpkg version comparison even on a fresh
install. the following patch should fix the issue:
diff -Nru ifenslave-2.6-1.1.0/debian/ifenslave-2.6.postinst
ifenslave-2.6-1.1.0/debian/ifenslave-2.6.postinst
--- ifenslave-2.6-1.1.0/debian/ifenslave-2.6.postinst 2009-12-18
04:26:46.000000000 -0800
+++ ifenslave-2.6-1.1.0/debian/ifenslave-2.6.postinst 2010-07-03
10:36:49.000000000 -0700
@@ -16,7 +16,7 @@
case "$1" in
configure)
- if dpkg --compare-versions "$2" le "1.1.0-6"; then
+ if [ -n "$2" ] && dpkg --compare-versions "$2" le "1.1.0-6"; then
mv_conffile "/etc/network/if-up.d/ifenslave"
"/etc/network/if-pre-up.d/ifenslave"
mv_conffile "/etc/network/if-down.d/ifenslave"
"/etc/network/if-post-down.d/ifenslave"
fi
diff -Nru ifenslave-2.6-1.1.0/debian/ifenslave-2.6.preinst
ifenslave-2.6-1.1.0/debian/ifenslave-2.6.preinst
--- ifenslave-2.6-1.1.0/debian/ifenslave-2.6.preinst 2009-12-18
04:26:43.000000000 -0800
+++ ifenslave-2.6-1.1.0/debian/ifenslave-2.6.preinst 2010-07-03
10:34:50.000000000 -0700
@@ -16,7 +16,7 @@
case "$1" in
install|upgrade)
- if dpkg --compare-versions "$2" le "1.1.0-6"; then
+ if [ -n "$2" ] && dpkg --compare-versions "$2" le "1.1.0-6"; then
prep_mv_conffile ifenslave
"/etc/network/if-up.d/wireless-tools"
prep_mv_conffile ifenslave
"/etc/network/if-down.d/wireless-tools"
fi
i'm wondering if the ifenslave's preinst should be messing with
/etc/network/if*.d/wireless-tools at all? that might be an RC bug in it's own
right, messing with the configuration files of another package...
live well,
vagrant
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]