Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Sandisk - Installation/Removal
| | | |-+  e200rpatcher.linux problems with ubuntu
« previous next »
  • Print
Pages: [1]

Author Topic: e200rpatcher.linux problems with ubuntu  (Read 4118 times)

Offline mmac

  • Member
  • *
  • Posts: 5
e200rpatcher.linux problems with ubuntu
« on: December 16, 2007, 08:53:43 PM »
So I know it's probably some simple phrase that I'm missing, but what do I need to do to get this to run?  The file is on my desktop, I'm running Ubuntu 7.10 Gutsy, and I have a Sansa e270r.  Please help, I must listen to Glorious FLAC!



michael@michael-laptop:~$ sudo ./home/michael/Desktop/e200rpatcher.linux
[sudo] password for michael:
sudo: ./home/michael/Desktop/e200rpatcher.linux: command not found
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: e200rpatcher.linux problems with ubuntu
« Reply #1 on: December 17, 2007, 03:13:09 AM »
Quote from: mmac on December 16, 2007, 08:53:43 PM
michael@michael-laptop:~$ sudo ./home/michael/Desktop/e200rpatcher.linux
[sudo] password for michael:
sudo: ./home/michael/Desktop/e200rpatcher.linux: command not found

Try :

Code: [Select]
sudo /home/michael/Desktop/e200rpatcher.linux

instead. Note the lack "." just after the sudo.
Logged

Read The Manual Please

Offline mmac

  • Member
  • *
  • Posts: 5
Re: e200rpatcher.linux problems with ubuntu
« Reply #2 on: December 17, 2007, 11:04:45 AM »
michael@michael-laptop:~$ sudo /home/michael/Desktop/e200rpatcher.linux
sudo: /home/michael/Desktop/e200rpatcher.linux: command not found


Same problem.  When I run without sudo I get
michael@michael-laptop:~$ /home/michael/Desktop/e200rpatcher.linux
bash: /home/michael/Desktop/e200rpatcher.linux: Permission denied

I'm going to try running it as root.
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: e200rpatcher.linux problems with ubuntu
« Reply #3 on: December 17, 2007, 11:18:53 AM »
Have you made sure it's set executable?

i.e.

chmod a+x /home/michael/Desktop/e200rpatcher.linux ?
Logged

Read The Manual Please

Offline mmac

  • Member
  • *
  • Posts: 5
Re: e200rpatcher.linux problems with ubuntu
« Reply #4 on: December 17, 2007, 11:32:32 AM »
I went into Properties, and made it an executable file.  Now it's giving me this.

michael@michael-laptop:~$ sudo /home/michael/Desktop/e200rpatcher.linux/home/michael/Desktop/e200rpatcher.linux: 1: Syntax error: newline unexpected
Logged

Offline scharkalvin

  • Member
  • *
  • Posts: 332
Re: e200rpatcher.linux problems with ubuntu
« Reply #5 on: December 17, 2007, 04:12:45 PM »
try:


cd
sudo ~/Desktop/e200rpatcher.linux < cr >
should prompt you for your root password ....

Note the < cr >  is just the Enter key.

you only have to use the "./" trick to run an executable that is in the same directory that you are currently "logged" into.  If you specify a complete path to a different directory to run an executable the "." isn't needed.  (It's a bash thing to prevent rogue commands replacing bash internal commands).

« Last Edit: December 17, 2007, 04:16:06 PM by scharkalvin »
Logged

Offline mmac

  • Member
  • *
  • Posts: 5
Re: e200rpatcher.linux problems with ubuntu
« Reply #6 on: December 17, 2007, 04:28:26 PM »
So I keep getting this

michael@michael-laptop:~$ cd
michael@michael-laptop:~$ sudo ~/Desktop/e200rpatcher.linux
/home/michael/Desktop/e200rpatcher.linux: 1: Syntax error: newline unexpected
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: e200rpatcher.linux problems with ubuntu
« Reply #7 on: December 18, 2007, 02:27:46 AM »
could you post the output of :

Code: [Select]
file ~/Desktop/e200rpatcher.linux

please ?
Logged

Read The Manual Please

Offline mmac

  • Member
  • *
  • Posts: 5
Re: e200rpatcher.linux problems with ubuntu
« Reply #8 on: December 18, 2007, 02:33:11 AM »
michael@michael-laptop:~$ file ~/Desktop/e200rpatcher.linux
/home/michael/Desktop/e200rpatcher.linux: XML
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: e200rpatcher.linux problems with ubuntu
« Reply #9 on: December 18, 2007, 02:58:34 AM »
Okay - that explains a lot.

I don't know where you got that file from - but it's not the right one - it's not a binary.

Try downloading it again.
Logged

Read The Manual Please

Offline websynapse

  • Member
  • *
  • Posts: 1
Re: e200rpatcher.linux problems with ubuntu
« Reply #10 on: September 21, 2009, 04:58:56 AM »
I'm having a similar problem with the file e200rpatcher.linux64, downloaded from http://www.rockbox.org/wiki/SansaE200RInstallation.


Code: [Select]
ryan@ryan-desktop:~/Packages/rockbox$ sudo ./e200rpatcher.linux64 
./e200rpatcher.linux64: 1: ELF: not found
./e200rpatcher.linux64: 2: Syntax error: "(" unexpected

ryan@ryan-desktop:~/Packages/rockbox$ file ~/Packages/rockbox/e200rpatcher.linux64
/home/ryan/Packages/rockbox/e200rpatcher.linux64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped

Is this the right file? It's the one from the wiki.

Thanks
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Sandisk - Installation/Removal
| | | |-+  e200rpatcher.linux problems with ubuntu
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.084 seconds with 14 queries.