[Guide] Upgrade XBMC Live 10.1 (Dharma) installation into Eden
#1
Lightbulb 
This Guide is Outdated and will not work for the latest version of XBMC!

Follow my new guide instead:
Upgrade XBMC Live 10.1 (Dharma) installation into Frodo


----

(this tutorial is loosely based on X3lectric's excellent guide HOW-TO compile XBMC from a GIT source)

A guide on how to upgrade an installed XBMC Live 10.1 (Dharma) into Eden

If you, like myself, are experiencing problems with the newly released XBMCbuntu Eden and don't have the patience to wait while the great XBMC coders are ironing out the glitches, this guide will offer an alternative solution to make you up and running with the latest Eden. I've found that the Eden itself is working excellent. It's the implementation into Ubuntu 11.10, forming XBMCbuntu 11.0, that somewhat could cause a few unexpected situations.

My hardware:
  • Zotac MAG
  • Intel Atom Dual Core 330
  • NVIDIA ION Chipset
  • 2GB RAM
  • 160 GB HDD

I strongly recommend doing this guide via a ssh terminal (or putty for windows users) with Copy & Paste, since it's easy to make a typing error on all the commands and parameters written here.

So here's how to solve it:

1. If not doing a clean XBMC Live 10.1 installation, skip to point #2 below.
Download the XBMC 10.1 Live CD and install it on the HTPC harddisk
Link: http://mirrors.xbmc.org/releases/live/xb...1-live.iso

2. Boot the XBMC from harddisk. Notice the IP address of your box, if you want to login from network later on here.

3. In the XBMC panel, go to the shutdown menu and select "Exit"

4a. Login in to the XBMC. For example, I choosed the Username "mediabox" and Password "pass1234" during installation. So I will use that for login. You will of course use the Username and Password you've entered during your own installation.

4b. If a remote login is to be used, the XBMC box's IP address is needed. For my own example, the box is using "192.168.0.25". Then I used the "ssh" command from a Ubuntu Desktop Computer (or putty for windows users):
(The "#" is not typed. Only for symbolising command input)

Code:
# ssh 192.168.0.25 -l mediabox
(replace the "192.168.0.25" with the IP of your own XBMC box, and "mediabox" with your own username from install)

5. Activate the Root user:

Code:
# sudo passwd root
[sudo] password for mediabox: (your password)
Enter new UNIX password: (enter new password for the root user)
Retype new UNIX password: (enter the new password for the root user again)
passwd: password updated successfully

6. Then logout:

Code:
# exit

7a. Login again as root on the HTPC.

7b. If you are using a remote connection over a network, use the ssh command (or putty for windows users):

Code:
# ssh 192.168.0.25 -l root
(replace the "192.168.0.25" with the IP of your own XBMC box)

8. As a root user, the "sudo" command isn't needed. Update the repositories:

Code:
# apt-get update

9. Upgrade the system:

Code:
# apt-get upgrade
.
.
Do you want to continue [Y/n]? y

The system will now upgrade. Don't ever use the "apt-get dist-upgrade"! It will upgrade everything, including the XBMC.
This will break the installation and XBMC will not work after reboot.

The upgrade will probably halt and need a question answered. Just press the "enter" -key since the suggested "N" is the proper answer:

Code:
Configuration file `/etc/lsb-release'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : background this process to examine the situation
The default action is to keep your current version.
*** lsb-release (Y/I/N/O/D/Z) [default=N] ? (press enter)

Then reboot:

Code:
# reboot

10. In the XBMC panel, go to the shutdown menu and select "Exit"

11a. Login again as root on the HTPC.

11b. If you are using a remote connection over a network, use the ssh command (or putty for windows users):

Code:
# ssh 192.168.0.25 -l root
(replace the "192.168.0.25" with the IP of your own XBMC box)

12. Now we need to download the necessary libraries in order to compile the XBMC:

Code:
# apt-get install python-software-properties pkg-config -y
# add-apt-repository ppa:team-iquik/xbmc-stable
# add-apt-repository ppa:lucid-bleed/ppa
# apt-get update
# apt-get install libplist-dev python-support python-dev ccache libyajl-dev libvdpau-dev debhelper zip git-core make g++ gcc gawk pmount libtool yasm nasm automake cmake gperf gettext unzip bison libsdl-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libfribidi-dev liblzo2-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound-dev python-sqlite libglew-dev libcurl3 libcurl4-openssl-dev x11proto-xinerama-dev libxinerama-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbisenc2 libsmbclient-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 libxtst-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev libmms-dev libmpeg3-dev libfaad-dev libflac-dev libiso9660-dev libass-dev libssl-dev fp-compiler gdc libwavpack-dev libmpeg2-4-dev libmicrohttpd-dev libmodplug-dev libboost-thread-dev libboost-system-dev libssl-dev -y -q
# apt-get build-dep xbmc -y
# apt-get clean

13. Download XBMC Source Code and prepare for compilation:

Code:
# mkdir ~/setup
# cd ~/setup
# git clone git://github.com/xbmc/xbmc.git

14. Compile the Source Code:

Code:
# cd xbmc
# make -C lib/libnfs && make -C lib/libnfs install
# ./bootstrap ; ./configure --prefix=/usr --enable-vdpau --disable-pulse --disable-crystalhd
# make -C $HOME/setup/xbmc/lib/addons/script.module.pil
# make -j4

If the compilation went through without errors, the following message should appear:

Code:
-----------------------
XBMC built successfully
-----------------------

15. Install Eden:

Code:
# make install prefix=/usr
# make distclean

If you're using a Remote Control, you could install and setup the drivers now.

16. Reboot the HTPC:

Code:
# reboot

The XBMC Eden panel should now appear on screen.
Just adjust the sound and screen settings and it's ready for use.

Done!


Proceedure for upgrading Eden later on, with the above steps already done once

1. Boot the XBMC. Notice the IP address of your box, if you want to login from network later on here.

2. In the XBMC panel, go to the shutdown menu and select "Exit"

3a. Login in to the XBMC.

3b. If you are using a remote connection over a network, use the ssh command (replace the IP address with your own):
(The "#" is not typed. Only for symbolising command input)

Code:
# ssh 192.168.0.25 -l root
(replace the "192.168.0.25" with the IP of your own XBMC box)

4. Download the latest GIT and compile the source code:

Code:
# cd ~/setup/xbmc
# make distclean
# git reset --hard
# git clean -xfd
# git pull --rebase
# make -C lib/libnfs && make -C lib/libnfs install
# ./bootstrap ; ./configure --prefix=/usr --enable-vdpau --disable-pulse --disable-crystalhd
# make -C $HOME/setup/xbmc/lib/addons/script.module.pil
# make -j4

If the compilation went through without errors, the following message should appear:

Code:
-----------------------
XBMC built successfully
-----------------------

5. Install Eden:

Code:
# make install prefix=/usr
# make distclean

You probably need to re-setup the Remote Control drivers, since some configuration files are copied from the sources.

6. Reboot the HTPC:

Code:
# reboot

The XBMC panel with the updated Eden should now appear on screen.

Done!

Please post any feedback on how you're succeeding!
Reply
#2
I will be trying this out the minute I get home from work! I've been looking for a really simple noob-friendly way to do this for a few days now as I've had nothing but problems with XBMCbuntu and assume it's due to the new version of Ubuntu rather than Eden itself. I'll let you know how it goes.

Thanks!
XBMCbuntu {Frodo} - Ubuntu 12.04 (Main):
Intel Q6600 [2.4GHz Quad Core], 4GB DDR3, nVidia GT-210, Antec Fusion Case (iMon LCD), PS3 BD Remote

XBMC Live {Frodo} - Ubuntu 10.04 (Bedroom): Intel Atom D510 [1.66GHz Dual Core], ION Graphics, 2GB DDR2, PS3 BD Remote
Reply
#3
I used this guide a few months and it worked fine, considerably easier (just take out the "/unstable" part):

http://shadower16.wordpress.com/2011/10/...nightlies/
Reply
#4
So I was able to get to the following command in step 12 without any issues, but when I run:

Milleman Wrote:apt-get build-dep xbmc -y

It gives me an error saying:
Quote:root@XBMCLive:~# apt-get build-dep xbmc -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package autopoint is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
The following packages will be REMOVED:
libcurl4-openssl-dev
The following NEW packages will be installed:
libafpclient-dev libafpclient0 libao-dev libao2 libavcodec-dev libavcodec52 libavfilter-dev libavfilter0 libavformat-dev libavformat52 libavutil-dev libavutil49 libbluetooth-dev libbluetooth3 libcec
libcec-dev libcrystalhd-dev libcrystalhd3 libcurl4-gnutls-dev libcwiid-dev libcwiid1 libgcrypt11-dev libgnutls-dev libgpg-error-dev libgsm1 libnfs-dev libnfs0 liboil0.3 libpostproc-dev libpostproc51
librtmp-dev libschroedinger-1.0-0 libshairport-dev libshairport1 libspeex1 libswscale-dev libswscale0 libtasn1-3-dev libtheora0 libudev-dev python-imaging
0 upgraded, 41 newly installed, 1 to remove and 12 not upgraded.
E: Package autopoint has no installation candidate
E: Failed to process build dependencies

I recall reading something about this supposedly not being possible, but figured I'd post it here if you are able to figure out why I'm getting this before I can track down the issue then bonus, if not when I figure it out I'll post back with how I fixed it... I literally just did a fresh install of XMBC-Live 10.1 so I'm not sure what's going on.
XBMCbuntu {Frodo} - Ubuntu 12.04 (Main):
Intel Q6600 [2.4GHz Quad Core], 4GB DDR3, nVidia GT-210, Antec Fusion Case (iMon LCD), PS3 BD Remote

XBMC Live {Frodo} - Ubuntu 10.04 (Bedroom): Intel Atom D510 [1.66GHz Dual Core], ION Graphics, 2GB DDR2, PS3 BD Remote
Reply
#5
(2012-03-30, 01:25)DaMizZa Wrote: So I was able to get to the following command in step 12 without any issues, but when I run:

Milleman Wrote:apt-get build-dep xbmc -y

It gives me an error saying:
Quote:root@XBMCLive:~# apt-get build-dep xbmc -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package autopoint is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
The following packages will be REMOVED:
libcurl4-openssl-dev
The following NEW packages will be installed:
libafpclient-dev libafpclient0 libao-dev libao2 libavcodec-dev libavcodec52 libavfilter-dev libavfilter0 libavformat-dev libavformat52 libavutil-dev libavutil49 libbluetooth-dev libbluetooth3 libcec
libcec-dev libcrystalhd-dev libcrystalhd3 libcurl4-gnutls-dev libcwiid-dev libcwiid1 libgcrypt11-dev libgnutls-dev libgpg-error-dev libgsm1 libnfs-dev libnfs0 liboil0.3 libpostproc-dev libpostproc51
librtmp-dev libschroedinger-1.0-0 libshairport-dev libshairport1 libspeex1 libswscale-dev libswscale0 libtasn1-3-dev libtheora0 libudev-dev python-imaging
0 upgraded, 41 newly installed, 1 to remove and 12 not upgraded.
E: Package autopoint has no installation candidate
E: Failed to process build dependencies

I recall reading something about this supposedly not being possible, but figured I'd post it here if you are able to figure out why I'm getting this before I can track down the issue then bonus, if not when I figure it out I'll post back with how I fixed it... I literally just did a fresh install of XMBC-Live 10.1 so I'm not sure what's going on.

Are you sure you entered this line (3rd line at point #12):

Code:
# add-apt-repository ppa:lucid-bleed/ppa

If you didn't, it will complain about missing "autopoint" after executing "apt-get build-dep xbmc -y"!

Also, don't forget this afterwards (4th line at point #12):

Code:
# apt-get update
Reply
#6
Can we make this a sticky?
Reply
#7
Thumbs Up 
Wow! Just when you think you've done everything right, I missed both these lines:

Quote:# add-apt-repository ppa:team-iquik/xbmc-stable
# add-apt-repository ppa:lucid-bleed/ppa

Works great now though... All I need to do is finish the fight to get the LCD working properly and I'm all set! Thanks for the awesome how to, I really think this should be stickied or put into the Wiki, especially if everyone got the same experience I got with XBMCubuntu... Eden itself seems to be working awesome though for the recordNod
XBMCbuntu {Frodo} - Ubuntu 12.04 (Main):
Intel Q6600 [2.4GHz Quad Core], 4GB DDR3, nVidia GT-210, Antec Fusion Case (iMon LCD), PS3 BD Remote

XBMC Live {Frodo} - Ubuntu 10.04 (Bedroom): Intel Atom D510 [1.66GHz Dual Core], ION Graphics, 2GB DDR2, PS3 BD Remote
Reply
#8
Things seemed to go well until I ran
3rd line at point #14
./bootstrap ; ./configure --prefix=/usr --enable-vdpau --disable-pulse --disable-crystalhd

last few lines

checking openssl/crypto.h usability... no
checking openssl/crypto.h presence... no
checking for openssl/crypto.h... no
checking gcrypt.h usability... yes
checking gcrypt.h presence... yes
checking for gcrypt.h... yes
checking for gcry_control in -lgcrypt... yes
checking for main in -lbz2... yes
checking for main in -ljpeg... yes
checking for main in -ltiff... yes
checking for main in -lpthread... yes
checking for main in -llzo2... yes
checking for main in -lz... yes
checking for main in -lcrypto... no
configure: error: Could not find a required library. Please see the README for your platform.

Proceeded with

4th line at point #14
root@XBMCLive:~/setup/xbmc# make -C $HOME/setup/xbmc/lib/addons/script.module.pil
make: Entering directory `/root/setup/xbmc/lib/addons/script.module.pil'
make: *** No targets specified and no makefile found. Stop.
make: Leaving directory `/root/setup/xbmc/lib/addons/script.module.pil'

I have gone through this process twice with clean installs of XBMC Live 10.1

Reply
#9
(2012-03-30, 16:50)kitana Wrote: Things seemed to go well until I ran
3rd line at point #14
./bootstrap ; ./configure --prefix=/usr --enable-vdpau --disable-pulse --disable-crystalhd

last few lines

checking openssl/crypto.h usability... no
checking openssl/crypto.h presence... no
checking for openssl/crypto.h... no
checking gcrypt.h usability... yes
checking gcrypt.h presence... yes
checking for gcrypt.h... yes
checking for gcry_control in -lgcrypt... yes
checking for main in -lbz2... yes
checking for main in -ljpeg... yes
checking for main in -ltiff... yes
checking for main in -lpthread... yes
checking for main in -llzo2... yes
checking for main in -lz... yes
checking for main in -lcrypto... no
configure: error: Could not find a required library. Please see the README for your platform.

Proceeded with

4th line at point #14
root@XBMCLive:~/setup/xbmc# make -C $HOME/setup/xbmc/lib/addons/script.module.pil
make: Entering directory `/root/setup/xbmc/lib/addons/script.module.pil'
make: *** No targets specified and no makefile found. Stop.
make: Leaving directory `/root/setup/xbmc/lib/addons/script.module.pil'

I have gone through this process twice with clean installs of XBMC Live 10.1

Looks like the "openssl-dev" isn't installed on your box.

All this should should be on one continuous line of text without line breaks:
Code:
# apt-get install libplist-dev python-support python-dev ccache libyajl-dev libvdpau-dev debhelper zip git-core make g++ gcc gawk pmount libtool yasm nasm automake cmake gperf gettext unzip bison libsdl-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libfribidi-dev liblzo2-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound-dev python-sqlite libglew-dev libcurl3 libcurl4-openssl-dev x11proto-xinerama-dev libxinerama-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbisenc2 libsmbclient-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 libxtst-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev libmms-dev libmpeg3-dev libfaad-dev libflac-dev libiso9660-dev libass-dev libssl-dev fp-compiler gdc libwavpack-dev libmpeg2-4-dev libmicrohttpd-dev libmodplug-dev libboost-thread-dev libboost-system-dev -y -q

Or try install each one row by row:

Code:
# apt-get install libplist-dev
# apt-get install python-support
# apt-get install python-dev
# apt-get install ccache
# apt-get install libyajl-dev
# apt-get install libvdpau-dev
# apt-get install debhelper
# apt-get install zip
# apt-get install git-core
# apt-get install make
# apt-get install g++
# apt-get install gcc
# apt-get install gawk
# apt-get install pmount
# apt-get install libtool
# apt-get install yasm
# apt-get install nasm
# apt-get install automake
# apt-get install cmake
# apt-get install gperf
# apt-get install gettext
# apt-get install unzip
# apt-get install bison
# apt-get install libsdl-dev
# apt-get install libsdl-image1.2-dev
# apt-get install libsdl-gfx1.2-dev
# apt-get install libsdl-mixer1.2-dev
# apt-get install libfribidi-dev
# apt-get install liblzo2-dev
# apt-get install libfreetype6-dev
# apt-get install libsqlite3-dev
# apt-get install libogg-dev
# apt-get install libasound-dev
# apt-get install python-sqlite
# apt-get install libglew-dev
# apt-get install libcurl3
# apt-get install libcurl4-openssl-dev
# apt-get install x11proto-xinerama-dev
# apt-get install libxinerama-dev
# apt-get install libxrandr-dev
# apt-get install libxrender-dev
# apt-get install libmad0-dev
# apt-get install libogg-dev
# apt-get install libvorbisenc2
# apt-get install libsmbclient-dev
# apt-get install libmysqlclient-dev
# apt-get install libpcre3-dev
# apt-get install libdbus-1-dev
# apt-get install libhal-dev
# apt-get install libhal-storage-dev
# apt-get install libjasper-dev
# apt-get install libfontconfig-dev
# apt-get install libbz2-dev
# apt-get install libboost-dev
# apt-get install libfaac-dev
# apt-get install libenca-dev
# apt-get install libxt-dev
# apt-get install libxtst-dev
# apt-get install libxmu-dev
# apt-get install libpng-dev
# apt-get install libjpeg-dev
# apt-get install libpulse-dev
# apt-get install mesa-utils
# apt-get install libcdio-dev
# apt-get install libsamplerate-dev
# apt-get install libmms-dev
# apt-get install libmpeg3-dev
# apt-get install libfaad-dev
# apt-get install libflac-dev
# apt-get install libiso9660-dev
# apt-get install libass-dev
# apt-get install libssl-dev
# apt-get install fp-compiler
# apt-get install gdc
# apt-get install libwavpack-dev
# apt-get install libmpeg2-4-dev
# apt-get install libmicrohttpd-dev
# apt-get install libmodplug-dev
# apt-get install libboost-thread-dev
# apt-get install libboost-system-dev

You will succeed if you follow and do everything exactly as written in the guide.
Reply
#10
Just curious, but are there any issues with running XBMC Eden on Ubuntu 10.04 LTS from XBMC-Live Dharma? Like there isn't anything new in the new version of Ubuntu that you can't get in 10.04 LTS that XBMC would require?
XBMCbuntu {Frodo} - Ubuntu 12.04 (Main):
Intel Q6600 [2.4GHz Quad Core], 4GB DDR3, nVidia GT-210, Antec Fusion Case (iMon LCD), PS3 BD Remote

XBMC Live {Frodo} - Ubuntu 10.04 (Bedroom): Intel Atom D510 [1.66GHz Dual Core], ION Graphics, 2GB DDR2, PS3 BD Remote
Reply
#11
Thanks. I did follow line by line including the above long step (continuous w/o line breaks) but couldn't get it to compile. I tried the shortened steps under X3lectric's "Upgrading existing XBMCLive with via compile of GIT source" and it finally worked.
Reply
#12
(2012-03-30, 20:07)DaMizZa Wrote: Just curious, but are there any issues with running XBMC Eden on Ubuntu 10.04 LTS from XBMC-Live Dharma? Like there isn't anything new in the new version of Ubuntu that you can't get in 10.04 LTS that XBMC would require?

Besides Linux Kernel v 3.0.0, there's nothing new that you would notice while running XBMC Eden on a dedicated HTPC. The same GPU drivers will work on both, which is the most important thing for us XBMC-addicts.

IMHO I would prefer that the XBMC-team only released Live ISO based on LTS releases of Ubuntu, since everything in between is more or less Bleeding Edge from Canonical Ltd. The idea behind LTS releases, is to let the Enterprise Companies stay on those and don't have to worry about incompatibility and glitches after radical updates.
Just in order to keep their daily business running as usual.

The XBMC code itself is sweet. But problems on implementation could be annoying...
Reply
#13
(2012-03-30, 20:10)kitana Wrote: Thanks. I did follow line by line including the above long step (continuous w/o line breaks) but couldn't get it to compile. I tried the shortened steps under X3lectric's "Upgrading existing XBMCLive with via compile of GIT source" and it finally worked.

Can't see how that one differs. But as long as you're happy, I'm happy!
Reply
#14
First of thx mate for taking the time to write this guide, kudos.

I will redo my installation tomorow using yor guide and hope it works better then the xbmcbuntu build. All respect to the members and contributors of the best htpc software ever but... There are just to many bugs with the new buntu live install, that also is starting to show in the forum. I sure do want to contibute geting the next version better and more stable but for now i need to make the gf happy and do error searching / debugging on my free time since the htpc xbmc is sacret in here, hearing stuff like upgrade hell no whats wrong with this version lol...

Inwill post my findings later
All the best
---------------------------------------------------
Intel NUC Haswell D34010WYK | ATV2 | Logitech Harmony One | Onkyo TX-NR808 Receiver | QNAP 809 | APC Back-UPS RS 550
Reply
#15
Is it normal for XBMC to report this upgraded version as "11.0-PRE" under System Info?
Reply

Logout Mark Read Team Forum Stats Members Help
[Guide] Upgrade XBMC Live 10.1 (Dharma) installation into Eden3