Forum
upgrade instructions - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Installation (/forum-16.html)
+--- Thread: upgrade instructions (/thread-100.html)



upgrade instructions - msgreenf - 23rd Dec, 2012 10:12 PM

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...


RE: upgrade instructions - Koenkk - 23rd Dec, 2012 10:29 PM

On which XBian version are you?


RE: upgrade instructions - msgreenf - 23rd Dec, 2012 10:30 PM

(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


upgrade instructions - Koenkk - 24th Dec, 2012 04:29 AM

Can you post all the commands you are using?


RE: upgrade instructions - msgreenf - 24th Dec, 2012 06:12 AM

(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:~#



RE: upgrade instructions - CurlyMo - 24th Dec, 2012 06:18 AM

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



RE: upgrade instructions - msgreenf - 24th Dec, 2012 06:41 AM

thank you! worked perfect Smile rebooting now


RE: upgrade instructions - fantsypants - 26th Jan, 2013 08:09 AM

what is the benefit of upgrading like this?


RE: upgrade instructions - CurlyMo - 26th Jan, 2013 08:51 AM

That you don't have to reinstall to go from Alpha 2 to Alpha 3.


upgrade instructions - fantsypants - 26th Jan, 2013 11:10 AM

Aha, makes sense.