[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


Messages In This Thread
[Guide] Upgrade XBMC Live 10.1 (Dharma) installation into Eden - by Milleman - 2012-03-29, 21:05
Logout Mark Read Team Forum Stats Members Help
[Guide] Upgrade XBMC Live 10.1 (Dharma) installation into Eden3