View Full Version : Upgrading XBMC Live?
maxpower
2009-06-18, 18:13
Hi folks,
Possible stupid question about XBMC Live: is it possible to manually upgrade it to the latest SVN? I built a custom HTPC and was keen to use the linux version to benefit from the GPU acceleration, however my linux knowledge is basically zero so I went with a Live install on a USB pen, which works great. I'm wanting to upgrade to a newer SVN however to get the new media flagging stuff, and was wondering if there is an easy way to upgrade? Is there a script that can be run? Can it be done over SFTP manually?
I've tried searching for an answer for a while but had no success, apologies if the answer is somewhere obvious and I've missed it.
Many thanks
harryzimm
2009-06-18, 18:29
Hi and welcome to the forums.
You will have to download the source, packages and compile yourself. This should get you started. You can do this using scp.
From the readme.linux (http://xbmc.org/trac/browser/branches/linuxport/XBMC/README.ubuntu).
cd $HOME
sudo apt-get install subversion
svn checkout https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC
sudo apt-get install subversion make g++ gcc gawk pmount libtool nasm automake cmake gperf unzip bison libsdl-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libsdl-sound1.2-dev libsdl-stretch-dev libfribidi-dev liblzo-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound-dev python-sqlite libglew-dev libcurl4-dev x11proto-xinerama-dev libxinerama-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbis-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libfaac-dev libenca-dev libxt-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev
45
cd XBMC
./configure --prefix=/usr
make
Add -j2 for dual core cpu. eg "make -j2"
sudo make install
And finally
sudo /etc/init.d/xbmc-live stop
xbmc should then restart and will be the latest svn.
cheers.
ps If you are using a version of xbmc live older than 9.04.1, this method wont work 100% .
l.capriotti
2009-06-18, 18:37
you'd better user the SVN PPAs if you are not conversant with Linux:
sudo sed -i -e "s/\/team-xbmc\//\/team-xbmc-svn\//" /etc/apt/sources.list.d/xbmc.org.list
sudo apt-get update
sudo apt-get dist-upgrade
fuzz1912
2009-06-20, 11:45
Hi l.capriotti
Just used this code and it worked.
Code:
sudo sed -i -e "s/\/team-xbmc\//\/team-xbmc-svn\//" /etc/apt/sources.list.d/xbmc.org.list
sudo apt-get update
sudo apt-get dist-upgrade
But now it won't boot into xbmc live which l install to hdd.
Do you know what l need to do for it to boot straight into xbmc again?
Thanks
fuzz1912
l.capriotti
2009-06-20, 15:31
try this:
wget http://xbmc.org/trac/export/21168/branches/linuxport/XBMC/tools/XBMCLive/xbmc
sudo cp xbmc /etc/init.d/xbmc-live
try this:
wget http://xbmc.org/trac/export/21168/branches/linuxport/XBMC/tools/XBMCLive/xbmc
sudo cp xbmc /etc/init.d/xbmc-live
Doesn't work for me. When the system is rebooted I get the messages below stuck on screen:
* Starting Hardware abstraction layer hald [OK]
Setting volumes at 100%
* Checking battery state... [OK]
/dev/sda:
setting Advanced Power Management level to Oxfe (254) [OK]
This just stays on screen.
If I SSH into the box and type sudo /etc/init.d/xbmc-live force-reload then I see the following:
* Configuring system and starting XBMC...
* Increasing ALSA volumes...
...done.
(T: XBMCLive)xbmc@XBMCLive:~$ Setting volumes at 100%
but nothing happens after this. It did on one reboot ask me for my login and password but I got the same result when I entered these.
fuzz1912
2009-06-21, 00:29
Still didn't work
Getting the same problems as duplu
newb2linux
2009-06-21, 08:40
Me too~ I think I have reallyt screwed things up
l.capriotti
2009-06-21, 10:19
if you upgraded your kernel you are done, restricted drivers are built for the original kernel
only.
you'd better user the SVN PPAs if you are not conversant with Linux:
sudo sed -i -e "s/\/team-xbmc\//\/team-xbmc-svn\//" /etc/apt/sources.list.d/xbmc.org.list
sudo apt-get update
sudo apt-get dist-upgrade
I had some problems with the correct key; I fixed it with this script;
for i in 2BBD133164234534 A956EB81318C7509 6D975C4791E7EE5E
do
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys $i
gpg --export --armor $i | apt-key add -
done
nc88keyz
2009-06-21, 16:56
what is the correct way to do this without messing with the kernel.
I too only want to update live to SVN.
Please post code that will work and continue allowing xbmc live to autoboot. I have it booting in like 32 secs and do not want to jimmy that up so to speak.
Yep, this happened to me too - I upgraded a USB disk using l.capriotti's method and it worked fine. Now after upgrading my hard drive (non portable) using the same method it's freezing at * Checking battery state... [OK]. What have we stuffed? The kernel of our nvidia drivers or something else? Would anyone know how to only upgrade XBMC?
b00sted4fun
2009-06-24, 20:34
anyone found any solutions to this?
harryzimm
2009-06-24, 20:46
Have you tried my method? it works perfect for me.
cheers
b00sted4fun
2009-06-24, 22:31
you have verified it works on the live as well? cause every time i try to jsut use the linux build all hell breaks lose lol
harryzimm
2009-06-24, 22:36
you have verified it works on the live as well? cause every time i try to jsut use the linux build all hell breaks lose lol
Yes, im using live 9.04.1
cheers
Evanrich
2009-08-02, 03:25
Hi and welcome to the forums.
You will have to download the source, packages and compile yourself. This should get you started. You can do this using scp.
From the readme.linux (http://xbmc.org/trac/browser/branches/linuxport/XBMC/README.ubuntu).
cd $HOME
sudo apt-get install subversion
svn checkout https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC
sudo apt-get install subversion make g++ gcc gawk pmount libtool nasm automake cmake gperf unzip bison libsdl-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libsdl-sound1.2-dev libsdl-stretch-dev libfribidi-dev liblzo-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound-dev python-sqlite libglew-dev libcurl4-dev x11proto-xinerama-dev libxinerama-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbis-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libfaac-dev libenca-dev libxt-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev
45
cd XBMC
./configure --prefix=/usr
make
Add -j2 for dual core cpu. eg "make -j2"
sudo make install
And finally
sudo /etc/init.d/xbmc-live stop
xbmc should then restart and will be the latest svn.
cheers.
ps If you are using a version of xbmc live older than 9.04.1, this method wont work 100% .
hey thanks for the guide...i just tried it, and everything worked up until the /configure line...this is what i get:
checking for main in -lSDL_mixer... yes
checking for main in -ldl... yes
checking for main in -lresolv... yes
checking for main in -lenca... yes
checking for main in -ljasper... yes
checking for main in -lmms... no
configure: error: Could not find a required library. Please see the README for your platform.
(T: XBMCLive)xbmc@XBMCLive:~/XBMC$
any ideas?
Evanrich
2009-08-03, 10:25
Hey harryzimm... i hate to ask this, but for us that are green to linux, would it be possible for you to maybe zip/tar a copy of your installation?
I tried your method and almost finished it, except for the one line i posted about where it stopped working. I think i got maybe 80% complete when that happened.
The Aptitude script within XBMC live doesn't seem to work, as whenever I run it, it tells me no updates available.
I'd try l.capriotti's method, but from what people are saying, that seems to break the auto boot. When I was using your method, it looks like the current build in svn is some 1300+ builds further along than what is in XBMC live 9.04.1, so I'm sure there are hundreds of changes that may help us on the ION platform. In addition, AEON doesn't seem to work with the 9.04.1 build, so I and I'm sure everyone else here would like to try and get updated.
Thanks
burritoboy9984
2009-08-03, 22:36
I get the same problem as evanrich... Any ideas?
-Erik
Evanrich
2009-08-04, 19:48
I get the same problem as evanrich... Any ideas?
-Erik
use this link to get it successfully updated, it worked like a charm for me.
http://xbmc.org/forum/showthread.php?t=54350
harryzimm
2009-08-04, 23:38
use this link to get it successfully updated, it worked like a charm for me.
http://xbmc.org/forum/showthread.php?t=54350
Yes if you are new to linux use the svn ppa. Some people prefer to compile there own builds though. Anyway the error you recieved is caused by not having all the packages needed to compile xbmc. Obviously new packages have been added since i posted that guide. It was pretty much copy and paste from the readme.linux file anyway. If you look at the top of my guide you will see a link to the readme file which is always updated when new things are added.
cheers
Evanrich
2009-08-05, 01:03
Yes if you are new to linux use the svn ppa. Some people prefer to compile there own builds though. Anyway the error you recieved is caused by not having all the packages needed to compile xbmc. Obviously new packages have been added since i posted that guide. It was pretty much copy and paste from the readme.linux file anyway. If you look at the top of my guide you will see a link to the readme file which is always updated when new things are added.
cheers
ahh ok, I'm still getting my feet wet with linux, so when that error came up...i was lost. I'll go take a look at that page to see whats new. thanks!