Author Topic: Command './mce-installer' not found  (Read 5999 times)

Faceless King

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
Command './mce-installer' not found
« on: January 22, 2008, 07:40:18 pm »
So I fresh installed Kubuntu on my PC, and burned the 2 cd version.  Put the first disk in, then installed the mce-installer thing.  Every time I try to execute it, it asks for my password, then shows "Command './mce-installer' not found"

Any ideas?

Thanks,
Faceless King

Loeckchen

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Command './mce-installer' not found
« Reply #1 on: January 22, 2008, 07:44:01 pm »
Same problem here. I removed the exec line with /dev/null in the script for it to be more verbose. It says:

gzip: stdin: invalid compressed data..format violated

Maybe the installer is corrupted.

Faceless King

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
Re: Command './mce-installer' not found
« Reply #2 on: January 22, 2008, 07:47:33 pm »
I am downloading the DVD version now, but, I'd rather use what I have access to.

Not too mention that'll take like 16 hours.

Hmm, if it is corrupt though, I suppose I'll have to wait for the dvd's to get done.

Loeckchen

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Command './mce-installer' not found
« Reply #3 on: January 22, 2008, 07:56:42 pm »
WAIT, I GOT IT WORKING!

I am just writing a small shell script, stand by.

Loeckchen

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Command './mce-installer' not found
« Reply #4 on: January 22, 2008, 08:06:49 pm »
So, I have the following script:

Code: [Select]
#!/bin/bash

exec &>/dev/null </dev/null
export DISPLAY=:0
echo ""
echo "Linux MCE Installer Starting ... please wait"
echo ""

# create a temp directory to extract to.
export WRKDIR=`mktemp -d /tmp/selfextract.XXXXXX`

#SKIP=`awk '/^__ARCHIVE_FOLLOWS__/ { print NR + 1; exit 0; }' $0`

# Take the TGZ portion of this file and pipe it to tar.
#tail -n +$SKIP $0 | tar xz -C $WRKDIR

tail -n 5071 /usr/share/mce-installer/mce-installer.sh >/tmp/inst.sh

# execute the installation script

PREV=`pwd`
cd $WRKDIR
tar xzf /tmp/inst.sh
export LD_LIBRARY_PATH=$WRKDIR
export PATH=$PATH:$WRKDIR
if [[ $UID != "0" ]] ;then
        mv ./mce-installer ./mce-installer-user
        echo "#!/bin/bash
              LD_LIBRARY_PATH=$WRKDIR ./mce-installer-user
              " > ./mce-installer
        chmod +x ./mce-installer
        ./mce-installer-user
else
        mkdir -p /home/public/data/samples || :
        cp ./sample.mpg /home/public/data/samples/ || :
        ./mce-installer
fi


# delete the temp files
cd $PREV
rm -rf $WRKDIR

exit 0

But this gets me the error "kdesu cannot connect to X server"

xhost + doesn't work either.

EDIT: It now works.

Delete the line
rm -rf $WRKDIR
from above. Then run: kdesu xterm
In this xterm, go to the /tmp/selfextract.XXXXXXX
There, execute: LD_LIBRARY_PATH=. ./mce-installer
« Last Edit: January 22, 2008, 08:11:05 pm by Loeckchen »

Faceless King

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
Re: Command './mce-installer' not found
« Reply #5 on: January 22, 2008, 08:19:48 pm »
Ok, so I am Linux incompetent, how do I do this?

I used Ubuntu briefly a year or so ago, but I can't remember much at all.

Loeckchen

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Command './mce-installer' not found
« Reply #6 on: January 22, 2008, 08:39:43 pm »
Open a text editor and copy-paste what's in the code-block. Then remove the line as I appended there. Save the document as whatever you want it to be named.

Then do a chmod a+rx filename (filename is what you named the script).

then do ./filename

then you can execute kdesu xterm or gksudo xterm, cd to the temp directory and run the installer script.

EDIT: Still doesn't work - it seems not to recognize the Kubuntu Live CD.

Here is the installer log:
http://nopaste.info/a94f39ea8d.html
« Last Edit: January 22, 2008, 08:46:49 pm by Loeckchen »

tkmedia

  • wants to work for LinuxMCE
  • **
  • Posts: 937
    • View Profile
    • LMCECompatible
Re: Command './mce-installer' not found
« Reply #7 on: January 22, 2008, 08:50:25 pm »
I am assuming you have the right version of kubuntu with the proper version of Linuxmce .

I have seen similar issues when the Linuxmce installer is for a different version than the one you trying to install

make sure your kubuntu is 0704 if installing Linuxmce 0704  and Linuxmce 0710b3 if installing on kubuntu 0710
My Setup http://wiki.linuxmce.org/index.php/User:Tkmedia

For LinuxMce compatible  systems and accessories
http://lmcecompatible.com/

Hagen

  • Guru
  • ****
  • Posts: 437
  • LMCE wannabe user
    • View Profile
Re: Command './mce-installer' not found
« Reply #8 on: January 22, 2008, 09:04:50 pm »
I have had that error once, but it was due to faulty RAM.

Faceless King

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
Re: Command './mce-installer' not found
« Reply #9 on: January 22, 2008, 09:09:12 pm »
Ah, I have the wrong version of Kubuntu, someone probably ought to update the wiki then.  I followed it's instructions and did all the downloads through the provided links.

http://wiki.linuxmce.org/index.php/Installation_Guide

It clearly says to use version 704 of kubuntu, and doesn't say anything about needing a new version.

Faceless King

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
Re: Command './mce-installer' not found
« Reply #10 on: January 23, 2008, 02:33:37 am »
Ok, so I updated to 710 from within Kubuntu, and so far all seems well, I am still installing everything though, I'll keep you updated.

tkmedia

  • wants to work for LinuxMCE
  • **
  • Posts: 937
    • View Profile
    • LMCECompatible
Re: Command './mce-installer' not found
« Reply #11 on: January 23, 2008, 03:18:09 am »
When posting please give a little more detail on what method cd- dvd and verions of both linuxmce as well as the kubuntu version.
This will help us tremendously in the effort to help you.  The next question may pertain to your hardware so the more info the better we can help.
My Setup http://wiki.linuxmce.org/index.php/User:Tkmedia

For LinuxMce compatible  systems and accessories
http://lmcecompatible.com/

Faceless King

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
Re: Command './mce-installer' not found
« Reply #12 on: January 23, 2008, 03:54:40 am »
Sorry, I had just downloaded everything according the the guide.  SO I had assumed it would all work.

However I am still not succeeding in the install as I updated and didn't have a 710 disk, so, I have to download that as well.

The guide needs fixed.