How to update XBMCLive to SVN PPA's and Bleeding Edge
#1
How to Install XBMC-Live to My HTPC and Update to Bleeding EDGE


UPDATED * July 14th 2009
Added the line "sudo apt-get install xbmc" to the SVN PPA Section 5.)
Requirements:

XBMCLive CD
Internet conection
Putty (ssh program)
bit of knowledge


1.) Boot from XBMCLive CD 9.04
Install to HDD - follow prompts. [do not choose removable disk]
choose a password (don't forget it) EX: "xbmc"
eject and reboot


Were going to add the PPA's from wattazoum (good stuff wattazoum)

http://www.xbmc.org/forum/showthread.php?t=33327

I choose SVN PPA's but this can be used as a template for any of the PPA's listed here. (don't forget to change your GPA keys tough)

https://edge.launchpad.net/~team-xbmc-svn/+archive/ppa

2). ssh into xbmc user account using putty

username =xbmc
password =xbmc (what ever you choose)

3). add the deb's to the 3rd party sources.list

Code:
sudo pico /etc/apt/sources.list.d/xbmc.org.list

copy and paste these lines

Code:
deb http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu jaunty main

save updated list. (press ctrl x, y and then enter)

4.) import the GPA key

Code:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 64234534

Now you have updated the PPA's and have a valid key.

5.) update and upgrade the latest PPA's

Code:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install xbmc  
sudo reboot

you have now updated XBMC to the current SVN PPA's if you want to live on the edge keep reading.

OPTIONAL

BLEEDING EDGE update
(this is only if you dont mind dealing with possible bugs)

6.) Install build environment, install and build

Code:
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)
sudo apt-get install subversion
sudo apt-get build-dep xbmc
sudo apt-get update
sudo apt-get upgrade

***NOTE***

At the time of writing this --HOW TO-- there was a bug in the xbmc-live PPA's update.

if you see this error:

"xbmc-live
E: Sub-process /usr/bin/dpkg returned an error code (1)"

copy and paste this into terminal


Code:
sudo rm /var/lib/dpkg/info/xbmc-live.postinst
sudo pico /var/lib/dpkg/info/xbmc-live.postinst

copy this modified xbmc-live.postinst

Code:
#!/bin/sh
# postinst script for test
#
# see: dh_installdeb(1)

set -e

# summary of how this script can be called:
#        * <postinst> `configure' <most-recently-configured-version>
#        * <old-postinst> `abort-upgrade' <new version>
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
#          <new-version>
#        * <postinst> `abort-remove'
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
#          <failed-install-package> <version> `removing'
#          <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package


case "$1" in
    configure)
        sed -i.bak-xbmc-live s/allowed_users=console/allowed_users=anybody/ /etc/X11/Xwrapper.config

        USER=xbmc
        USER_EXISTS=`grep $USER /etc/passwd|awk -F : '{print $1}'`
        if [ ! "$USER_EXISTS" = "$USER" ]; then
            adduser $USER
        fi

        USER_IN_GROUP=`groups xbmc|grep adm`
        if [ "$USER_IN_GROUP" = "" ]; then
                adduser xbmc adm
        fi
        USER_IN_GROUP=`groups xbmc|grep dialout`
        if [ "$USER_IN_GROUP" = "" ]; then
                adduser xbmc dialout
        fi
        USER_IN_GROUP=`groups xbmc|grep cdrom`
        if [ "$USER_IN_GROUP" = "" ]; then
                adduser xbmc cdrom
        fi
        USER_IN_GROUP=`groups xbmc|grep floppy`
        if [ "$USER_IN_GROUP" = "" ]; then
                adduser xbmc floppy
        fi
        USER_IN_GROUP=`groups xbmc|grep audio`
        if [ "$USER_IN_GROUP" = "" ]; then
                adduser xbmc audio
        fi
        USER_IN_GROUP=`groups xbmc|grep dip`
        if [ "$USER_IN_GROUP" = "" ]; then
                adduser xbmc dip
        fi
        USER_IN_GROUP=`groups xbmc|grep video`
        if [ "$USER_IN_GROUP" = "" ]; then
                adduser xbmc video
        fi
        USER_IN_GROUP=`groups xbmc|grep plugdev`
        if [ "$USER_IN_GROUP" = "" ]; then
                adduser xbmc plugdev
        fi
        USER_IN_GROUP=`groups xbmc|grep fuse`
        if [ "$USER_IN_GROUP" = "" ]; then
                adduser xbmc fuse
        fi
#       USER_IN_GROUP=`groups xbmc|grep sudo`
#       if [ "$USER_IN_GROUP" = "" ]; then
#               adduser xbmc sudo
#       fi

        AUTH_EXISTS=`polkit-auth --user xbmc --show-obtainable --explicit | grep org.freedesktop.hal.power-management.shutdown`
        if [ "$AUTH_EXISTS" = "" ]; then
                polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown
                polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown-multiple-sessions
        fi
        AUTH_EXISTS=`polkit-auth --user xbmc --show-obtainable --explicit | grep org.freedesktop.hal.power-management.reboot`
        if [ "$AUTH_EXISTS" = "" ]; then
                polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot
                polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot-multiple-sessions
        fi
        AUTH_EXISTS=`polkit-auth --user xbmc --show-obtainable --explicit | grep org.freedesktop.hal.power-management.set-powersave`
        if [ "$AUTH_EXISTS" = "" ]; then
                polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.set-powersave
        fi
        AUTH_EXISTS=`polkit-auth --user xbmc --show-obtainable --explicit | grep org.freedesktop.hal.power-management.suspend`
        if [ "$AUTH_EXISTS" = "" ]; then
                polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.suspend
        fi
        AUTH_EXISTS=`polkit-auth --user xbmc --show-obtainable --explicit | grep org.freedesktop.hal.power-management.hibernate`
        if [ "$AUTH_EXISTS" = "" ]; then
                polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.hibernate
        fi
        AUTH_EXISTS=`polkit-auth --user xbmc --show-obtainable --explicit | grep org.freedesktop.hal.storage.mount-removable`
        if [ "$AUTH_EXISTS" = "" ]; then
                polkit-auth --user xbmc --grant org.freedesktop.hal.storage.mount-removable
        fi
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

# Automatically added by dh_installinit
if [ -x "/etc/init.d/xbmc-live" ]; then
        update-rc.d xbmc-live defaults >/dev/null
        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
                invoke-rc.d xbmc-live start || exit $?
        else
                /etc/init.d/xbmc-live start || exit $?
        fi
fi
# End automatically added section


exit 0

save and exit pico

reinstall xbmc-live

Code:
sudo apt-get install xbmc-live


Please let me know if this was helpfull or if you come across any errors.
I will update if needed.

GOOD LUCK!!!
HTPC SPECS:Samsung Series 850 58" PDP
[email protected] (full Screen)
XBMCLive : 10.00
HDD: 500GB WD Blue MOBO:P5n7a-VM
GPU: Geforce 9300/nforce 730i/PCI/SSE2
MEMORY: 2 GIG 1066MHZ DDR3 (single)
CPU: Intel® Core™2 Duo CPU E7500 @ 2.93GHz
Reply


Messages In This Thread
How to update XBMCLive to SVN PPA's and Bleeding Edge - by newb2linux - 2009-07-10, 01:14
[No subject] - by windirt - 2009-07-10, 05:07
[No subject] - by seninha - 2009-07-12, 00:02
[No subject] - by newb2linux - 2009-07-12, 05:42
[No subject] - by seninha - 2009-07-13, 11:02
[No subject] - by noikz - 2009-07-13, 12:12
[No subject] - by kurai - 2009-07-13, 13:39
[No subject] - by noikz - 2009-07-13, 14:31
[No subject] - by sladflob - 2009-07-14, 07:52
[No subject] - by newb2linux - 2009-07-15, 04:27
[No subject] - by sladflob - 2009-07-15, 05:21
[No subject] - by amejia - 2009-07-15, 08:07
[No subject] - by newb2linux - 2009-07-17, 04:09
[No subject] - by Killer Rabbit - 2009-07-23, 04:09
[No subject] - by newb2linux - 2009-07-24, 04:28
[No subject] - by newb2linux - 2009-07-29, 04:24
[No subject] - by Evanrich - 2009-08-04, 06:12
wanted to add - by rrambo - 2009-08-04, 15:02
[No subject] - by burritoboy9984 - 2009-08-05, 00:19
[No subject] - by SofaKng - 2009-08-09, 19:52
[No subject] - by rrambo - 2009-08-09, 20:14
[No subject] - by iainmacleod - 2009-08-15, 19:18
[No subject] - by 3DT3k - 2009-08-18, 20:30
[No subject] - by Evanrich - 2009-08-21, 09:36
[No subject] - by SofaKng - 2009-08-21, 12:27
nvidia vdpau team ppa - by rrambo - 2009-08-21, 14:11
[No subject] - by SofaKng - 2009-08-21, 15:28
[No subject] - by iainmacleod - 2009-08-21, 15:33
[No subject] - by iainmacleod - 2009-08-21, 15:35
[No subject] - by nhterra - 2009-08-31, 22:08
[No subject] - by nhterra - 2009-09-01, 10:38
[No subject] - by LastMile - 2009-09-20, 01:49
SVN Build not reporting - by lloydy - 2009-09-20, 21:34
[No subject] - by HitchHiker - 2009-09-24, 17:23
[No subject] - by funkigreendog - 2009-09-25, 00:39
initramfs error - by shooks - 2009-10-03, 06:00
[No subject] - by HitchHiker - 2009-10-03, 07:49
[No subject] - by PrimaryMaster - 2009-10-05, 15:33
[No subject] - by micster - 2009-10-10, 07:38
[No subject] - by kees667 - 2009-10-10, 17:28
[No subject] - by Ooblivion - 2009-10-11, 17:54
[No subject] - by vikjon0 - 2009-10-11, 18:09
[No subject] - by Ooblivion - 2009-10-12, 04:21
[No subject] - by Birtybasset - 2009-10-18, 01:23
[No subject] - by mojo6911 - 2009-10-19, 23:41
[No subject] - by mojo6911 - 2009-10-20, 01:21
[No subject] - by KOROR - 2009-10-22, 21:01
[No subject] - by brookz - 2009-11-14, 01:58
[No subject] - by voyager2 - 2009-11-14, 02:12
[No subject] - by brookz - 2009-11-15, 04:04
[No subject] - by Birtybasset - 2009-11-19, 00:16
[No subject] - by Doomstone - 2009-11-23, 20:46
[No subject] - by piotr - 2009-11-24, 12:59
[No subject] - by Cartman255 - 2009-11-24, 17:08
[No subject] - by Grippen - 2009-12-03, 01:46
[No subject] - by Kieron - 2009-12-16, 21:06
[No subject] - by coendeurloo - 2010-01-14, 19:39
[No subject] - by casatech - 2010-08-06, 12:41
[No subject] - by casatech - 2010-08-08, 03:17
[No subject] - by Hannes The Hun - 2010-08-08, 11:16
[No subject] - by X3lectric - 2010-08-08, 20:12
[No subject] - by casatech - 2010-08-09, 00:24
[No subject] - by casatech - 2010-08-09, 00:59
Logout Mark Read Team Forum Stats Members Help
How to update XBMCLive to SVN PPA's and Bleeding Edge0