-
Fix for Knoppix Install Components utility
This has been broken for a while, maybe nobody has reported it?
When you go to Menu>Preferences>Install Components and try to install something, nothing happens.
Today I decided to look into it, and found that the problem is actually in /usr/sbin/checkinstall.
This patch fixes it (at least for me):
Code:
# wget -O - http://dl.dropbox.com/u/17126237/checkinstall.patch | patch -p0
These are the contents of the patch file for those interested, only one line is changed:
Code:
--- /usr/sbin/checkinstall.orig 2009-02-07 18:59:59.000000000 +0000
+++ /usr/sbin/checkinstall 2011-08-06 21:10:30.936666664 +0000
@@ -103,7 +103,7 @@
type -p Xdialog >/dev/null 2>&1 && exec Xdialog --title "'"$TITLE"'" '"$ICON"' --msgbox "'"$FAILED"'" 10 55
fi' >"$TMP"
chmod 755 "$TMP"
- ${XSHELL[@]} "$TMP"
+ "${XSHELL[@]}" "$TMP"
rm -f "$TMP"
}
Hopefully somebody finds this helpful
-
Senior Member
registered user
steev-p
Fine work.
That's been around a long time.
There should be some sort of award for this.
I love one-liners myself.
Welcome to the forum.
-
Junior Member
registered user
Originally Posted by
steev-p
This has been broken for a while, maybe nobody has reported it?
When you go to
Menu>Preferences>Install Components and try to install something, nothing happens.
Today I decided to look into it, and found that the problem is actually in /usr/sbin/checkinstall.
This patch fixes it (at least for me):
Code:
# wget -O - http://dl.dropbox.com/u/17126237/checkinstall.patch | patch -p0
These are the contents of the patch file for those interested, only one line is changed:
Code:
--- /usr/sbin/checkinstall.orig 2009-02-07 18:59:59.000000000 +0000
+++ /usr/sbin/checkinstall 2011-08-06 21:10:30.936666664 +0000
@@ -103,7 +103,7 @@
type -p Xdialog >/dev/null 2>&1 && exec Xdialog --title "'"$TITLE"'" '"$ICON"' --msgbox "'"$FAILED"'" 10 55
fi' >"$TMP"
chmod 755 "$TMP"
- ${XSHELL[@]} "$TMP"
+ "${XSHELL[@]}" "$TMP"
rm -f "$TMP"
}
Hopefully somebody finds this helpful
Thanks for finding this! I totally missed it, probably because checkinstall worked "accidentially" with german locales, since the $TITLE contains a single word there and this fixes the wrong syntax, too, while in the english version, I had used two words for the title. Your solution is the corretco one.
I also will also replace Xdialog by zenity in all scripts soon, since Xdialog is keeping the old gtk1 libs installed and has broken fonts when english locales are set, the "digital" fonts were NOT intentional, I have to admit it now.
-
Glad I could help
@utu Thanks for the welcome.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Dell PowerEdge R730 2x E5-2699V3 2.3Ghz 36 Core 128GB RAM H730 X520-I350 2x750W
$329.99
Dell PowerEdge T420 2x Xeon E5-2430 V2 2.50GHZ 32GB DDR3-1600MHZ 2x 550W PSU
$149.95
Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config
$509.99
DELL PowerEdge R730XD Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45
$271.00
DELL R630 SERVER 8 x 2.5'' 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU
$169.95
Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays
$159.99
Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330
$182.65
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Cores / 128gb / H330 / 2x 1TB
$334.99
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE
$259.00