-
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

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS
$84.49

Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS
$144.98

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS
$189.98

Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W
$29.00

DELL PRECISION 5820 TOWER | INTEL XEON W-2235 3.80GHZ | 512GB | 16GB | NO OS
$299.99

Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW
$94.99

Intel Xeon-Gold 6548Y+ 2.5GHz 32-core 250W Processor SRN6Q
$2850.00

DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11
$149.00

Intel Xeon Processor E5-2687W V4 SR2NA 3.00GHz Broadwell 160W LGA2011 12-Core
$36.00