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
  •  


Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 64GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 64GB 2x10G SFP+ 2x2200W

$3180.00



Dell Precision R3930 Rackmount Workstation | Core I9-9900 | 32GB 2666 | RTX 4000 picture

Dell Precision R3930 Rackmount Workstation | Core I9-9900 | 32GB 2666 | RTX 4000

$1499.99



Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 256GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 256GB 2x10G SFP+ 2x2200W

$3472.00



Dell Desktop Computer 16GB RAM 512GB SSD Intel Core i5 8th Gen. Windows 11 Pro picture

Dell Desktop Computer 16GB RAM 512GB SSD Intel Core i5 8th Gen. Windows 11 Pro

$275.60



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$489.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



ALLEGIANCE Desktop Computer Gaming PC: Intel 8 Core 128GB RAM, 2TB SSD, GeForce picture

ALLEGIANCE Desktop Computer Gaming PC: Intel 8 Core 128GB RAM, 2TB SSD, GeForce

$687.99



FAST Dell TOUCHSCREEN 8th Gen Intel Quad Core 16GB RAM Pick SSD Wi-Fi BT Win11 picture

FAST Dell TOUCHSCREEN 8th Gen Intel Quad Core 16GB RAM Pick SSD Wi-Fi BT Win11

$199.00