Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

upgrade instructions
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
upgrade instructions
23rd Dec, 2012, 10:12 PM
Post: #1
msgreenf Offline
Registered
Posts: 11
Joined: Dec 2012
Reputation: 1
upgrade instructions
I cannot get the upgrade instructions to work. I download the file fine but the one line with the perl command doesn't work for me...
Find all posts by this user
Quote this message in a reply
23rd Dec, 2012, 10:29 PM
Post: #2
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
RE: upgrade instructions
On which XBian version are you?

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
23rd Dec, 2012, 10:30 PM
Post: #3
msgreenf Offline
Registered
Posts: 11
Joined: Dec 2012
Reputation: 1
RE: upgrade instructions
(23rd Dec, 2012 10:29 PM)Koenkk Wrote:  On which XBian version are you?

alpha 2

Here is what it says:
xbian@xbian:~# ./update.sh
-bash: ./update.sh: /bin/bash^M: bad interpreter: No such file or directory

and If i try to run it with bash:

xbian@xbian:~# bash ./update.sh
./update.sh: line 2: $'\r': command not found
./update.sh: line 64: syntax error: unexpected end of file
Find all posts by this user
Quote this message in a reply
24th Dec, 2012, 04:29 AM
Post: #4
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
upgrade instructions
Can you post all the commands you are using?

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
24th Dec, 2012, 06:12 AM
Post: #5
msgreenf Offline
Registered
Posts: 11
Joined: Dec 2012
Reputation: 1
RE: upgrade instructions
(24th Dec, 2012 04:29 AM)Koenkk Wrote:  Can you post all the commands you are using?

Terminal

xbian@xbian:~# ./update.sh
-bash: ./update.sh: /bin/bash^M: bad interpreter: No such file or directory
xbian@xbian:~#
Find all posts by this user
Quote this message in a reply
24th Dec, 2012, 06:18 AM
Post: #6
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: upgrade instructions
This are the steps:

Code:
sudo su
wget http://jb.xenserver.sk/xbian/update.sh
perl -p -i -e "s/\r\n/\n/g" update.sh
chmod +x update.sh
./update.sh

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
24th Dec, 2012, 06:41 AM
Post: #7
msgreenf Offline
Registered
Posts: 11
Joined: Dec 2012
Reputation: 1
RE: upgrade instructions
thank you! worked perfect Smile rebooting now
Find all posts by this user
Quote this message in a reply
26th Jan, 2013, 08:09 AM
Post: #8
fantsypants Offline
Registered
Posts: 8
Joined: Jan 2013
Reputation: 0
RE: upgrade instructions
what is the benefit of upgrading like this?
Find all posts by this user
Quote this message in a reply
26th Jan, 2013, 08:51 AM
Post: #9
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: upgrade instructions
That you don't have to reinstall to go from Alpha 2 to Alpha 3.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
26th Jan, 2013, 11:10 AM
Post: #10
fantsypants Offline
Registered
Posts: 8
Joined: Jan 2013
Reputation: 0
upgrade instructions
Aha, makes sense.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 08:34 AM Powered By MyBB, © 2002-2025 MyBB Group.