sh

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

sh

Postby McQ on Sun Mar 15, 2009 3:02 pm

Trying to install PunkBuster manually update. Downloaded the file "pbsetup.run" put it in the pb folder. Open the folder as root.
Opened the terminal (I am root), wrote "sh pbsetup.run" (without ") Got a "18: Syntax error: "(" unexpected" .
What am I doing wrong? :?: And how to do right? Grateful for some help.
User avatar
McQ
Level 1
Level 1
 
Posts: 2
Joined: Sun Mar 08, 2009 7:39 am

Linux Mint is funded by ads and donations.
 

Re: sh

Postby rbanavara on Sun Mar 15, 2009 10:18 pm

its a problem with the pbsetup.run program or you may not be executing the way it needs to be run (I dont have knowledge on PunkBuster, I am talking purely from shell script perspective). try this:

cd <path to pbsetup.run folder>
sudo sh ./pbsetup.rn

If this still doens not help, you may have check line 18 of pbsetup.run file.
Don't fix it if it ain't broken, don't break it if you can't fix it -Husse
User avatar
rbanavara
Level 4
Level 4
 
Posts: 233
Joined: Mon Jun 02, 2008 9:07 am

Re: sh

Postby garda on Sun Mar 15, 2009 10:29 pm

You have to 'decompress' the pbsetup script with upx-ucl. Therefore, install the said package using Synaptic or apt then execute it like this:
Code: Select all
cd /path/to/the/script/directory/

Code: Select all
upx -d pbsetup.run

Code: Select all
sudo ./pbsetup.run

If the last command does not work, try this one:
Code: Select all
sudo sh ./pbsetup.run

Good luck.
User avatar
garda
Level 5
Level 5
 
Posts: 744
Joined: Sat Aug 30, 2008 2:55 am
Location: /root

Re: sh

Postby McQ on Thu Mar 19, 2009 2:52 pm

Thx for the help!
I really feel like the noobie I am :oops:
Just to right click the file, "preferences", "rights" and "make the file executable" So easy! :oops:
User avatar
McQ
Level 1
Level 1
 
Posts: 2
Joined: Sun Mar 08, 2009 7:39 am


Return to Newbie Questions

Who is online

Users browsing this forum: Bryan88, Google Adsense [Bot], T1tch and 39 guests