Results 1 to 5 of 5

Thread: Fix for Knoppix Install Components utility

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    3

    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

  2. #2
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    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.

  3. #3
    Junior Member registered user
    Join Date
    Dec 2002
    Location
    Germany
    Posts
    22
    Quote Originally Posted by steev-p View Post
    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.

  4. #4
    Junior Member
    Join Date
    Aug 2011
    Posts
    3
    Glad I could help

    @utu Thanks for the welcome.

  5. #5
    Junior Member
    Join Date
    Aug 2011
    Posts
    2
    Thanks, works perfectly

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC picture

DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC

$50.00



Dell PowerEdge M640 Dual Bay 2.5

Dell PowerEdge M640 Dual Bay 2.5" SFF Blade Server Barebone No Processors No RAM

$250.00



Cisco UCS 5108 Blade Server Chassis Enclosure 8x B200 M4 16x E5-2640v3 128gb picture

Cisco UCS 5108 Blade Server Chassis Enclosure 8x B200 M4 16x E5-2640v3 128gb

$599.99



Dell PowerEdge M620 Blade Server picture

Dell PowerEdge M620 Blade Server

$39.99



2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD picture

2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD

$30.00



Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS picture

Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS

$103.99



HP Proliant BL460c G10 Gen10 Blade Server No CPU/No Mem/No Drives/P204i-B picture

HP Proliant BL460c G10 Gen10 Blade Server No CPU/No Mem/No Drives/P204i-B

$329.99



HP BL460c 2SFF GEN9 Blade Server 2x 12 Core Xeon E5-2670 v3 256GB RAM 600GB HDD picture

HP BL460c 2SFF GEN9 Blade Server 2x 12 Core Xeon E5-2670 v3 256GB RAM 600GB HDD

$199.99



UCSB-B200-M4 UCS Blade Server, 2x E5-2667 V3, 256GB RAM DDR4, 2x 300GB Drives picture

UCSB-B200-M4 UCS Blade Server, 2x E5-2667 V3, 256GB RAM DDR4, 2x 300GB Drives

$299.99



Cisco UCSB-5108-AC2 UCS AC2 8-Slot Blade Server CTO Chassis - Barebones picture

Cisco UCSB-5108-AC2 UCS AC2 8-Slot Blade Server CTO Chassis - Barebones

$199.99