15th Nov, 2013, 09:11 PM
Dear users,
XBian Beta2 has been released but be aware this is only upgrade instruction and not an full installation process.
NOTE: this memo is not relevant for users already on Beta2 as part of the testing process
before you start double check /etc/apt/sources.list file (this is valid for all XBian versions - Alpha5, Beta1X). remove ALL XBian related lines and replace with this one
All packages are accessible to apt and xbian-config. upgrade process was tested for releases Alpha5, Beta1 (without hotfix and also for hotfix 1.1 and 1.2).
because of many changes in dependencies, apt will not include all packages needed for Beta2 for upgrade (those will be listed as Kept Back packages). for best experience is therefore needed to follow some steps manually. log into your XBian install via ssh and run these commands:
sudo -i
apt-get clean; apt-get update; apt-get upgrade
this will install any upstream package updates.
after this step finishes proceed to next step without doing reboot between them (PLEASE CONTINUE READING also red colored text below BEFORE you run upgrade process).
apt-get install xbian-update
For most simple and automated finish of the update process it is preferred to list all packages reported as "kept back" as parameters to "apt-get install xbian-update" command described on top of this post. It all depends on combination or age of actual installed packages as well on the order in which apt-get will process updates in each specific case. Than means simple "apt-get install xbian-update" can do just fine for one user, but can require explicitly named another package on command line for different user.
This means if apt-get will report:
and
proceed with:
Beta2 has more changes in the area of update / upgrade implemented which should once and for all make use of command line tools via ssh not needed anymore. xbian-config-shell and -xbmc should then be able to handle updates with more ease.
for future updates you can use XBIAN-CONFIG within XBMC and "Update all" (or XBIAN-CONFIG in ssh console and UPDATES). with Beta2, "Kept Back" packages will no longer be ignored while updating through this components.
to speed up the process, stop XBMC before. by QUIT from XBMC menu, or "stop xbmc" from console. all the commands should be run with "sudo", or just log as xbian, then type "sudo -i". this will open console with root privileges where sudo before command is not needed anymore.
IF YOU GET INTO ANY TROUBLES DURING THE ABOVE STEPS, READ BELOW.
impotant info as of Oct-17-2013:
Debian released Wheezy 7.2 update released the day before yesterday will add additional ~30 packages to the update process of Beta2 install with regularly updated XBian / system packages. Could be more for Beta1/Beta1.1 and specially Alpha5. Update process from Alpha5 (and possibly also Beta1 and Beta1.1) will install initscripts package and trigger dpkg configure error and stop on processing updates. Beta2 update package is correcting the specific error (and even more conflicts), but as this is not yet installed, we need to correct this manually (code to be executed is right below). Already existing installations with Beta2 or Beta1.2 hotfix should be fine.
apt-get upgrade in step three will start where previous update process stopped - by configuring initscripts package again and this time will finish successfully.
on this question (and similar if encountered)
just press Y (or you '-y' command line option to apt-get install)
errors about not being able to start LIRC or RNG-TOOL can be ignored. it is caused by dependency to kernel which is just going to be installed or services which xbian-update package will install later and will be started only after reboot.
mk
XBian Beta2 has been released but be aware this is only upgrade instruction and not an full installation process.
NOTE: this memo is not relevant for users already on Beta2 as part of the testing process
before you start double check /etc/apt/sources.list file (this is valid for all XBian versions - Alpha5, Beta1X). remove ALL XBian related lines and replace with this one
Code:
deb http://xbian.brantje.com wheezy main
All packages are accessible to apt and xbian-config. upgrade process was tested for releases Alpha5, Beta1 (without hotfix and also for hotfix 1.1 and 1.2).
because of many changes in dependencies, apt will not include all packages needed for Beta2 for upgrade (those will be listed as Kept Back packages). for best experience is therefore needed to follow some steps manually. log into your XBian install via ssh and run these commands:
Terminal
sudo -i
apt-get clean; apt-get update; apt-get upgrade
this will install any upstream package updates.
after this step finishes proceed to next step without doing reboot between them (PLEASE CONTINUE READING also red colored text below BEFORE you run upgrade process).
Terminal
apt-get install xbian-update
For most simple and automated finish of the update process it is preferred to list all packages reported as "kept back" as parameters to "apt-get install xbian-update" command described on top of this post. It all depends on combination or age of actual installed packages as well on the order in which apt-get will process updates in each specific case. Than means simple "apt-get install xbian-update" can do just fine for one user, but can require explicitly named another package on command line for different user.
This means if apt-get will report:
Code:
xbian-package-lirc, xbian-package-cec and others to upgrade
Code:
xbian-package-xbmc, xbian-update, xbian-package-config-shell as "kept back"
proceed with:
Code:
apt-get install xbian-package-xbmc xbian-update xbian-package-config-shell
instead of simple
apt-get install xbian-update
Beta2 has more changes in the area of update / upgrade implemented which should once and for all make use of command line tools via ssh not needed anymore. xbian-config-shell and -xbmc should then be able to handle updates with more ease.
for future updates you can use XBIAN-CONFIG within XBMC and "Update all" (or XBIAN-CONFIG in ssh console and UPDATES). with Beta2, "Kept Back" packages will no longer be ignored while updating through this components.
to speed up the process, stop XBMC before. by QUIT from XBMC menu, or "stop xbmc" from console. all the commands should be run with "sudo", or just log as xbian, then type "sudo -i". this will open console with root privileges where sudo before command is not needed anymore.
IF YOU GET INTO ANY TROUBLES DURING THE ABOVE STEPS, READ BELOW.
impotant info as of Oct-17-2013:
Debian released Wheezy 7.2 update released the day before yesterday will add additional ~30 packages to the update process of Beta2 install with regularly updated XBian / system packages. Could be more for Beta1/Beta1.1 and specially Alpha5. Update process from Alpha5 (and possibly also Beta1 and Beta1.1) will install initscripts package and trigger dpkg configure error and stop on processing updates. Beta2 update package is correcting the specific error (and even more conflicts), but as this is not yet installed, we need to correct this manually (code to be executed is right below). Already existing installations with Beta2 or Beta1.2 hotfix should be fine.
Code:
sudo -i
rm -f /etc/init.d/mountall*
insserv -f
apt-get upgrade (again)
apt-get upgrade in step three will start where previous update process stopped - by configuring initscripts package again and this time will finish successfully.
on this question (and similar if encountered)
Code:
Configuration file `/etc/apt/apt.conf.d/15update-stamp'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
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 : start a shell to examine the situation
The default action is to keep your current version.
just press Y (or you '-y' command line option to apt-get install)
errors about not being able to start LIRC or RNG-TOOL can be ignored. it is caused by dependency to kernel which is just going to be installed or services which xbian-update package will install later and will be started only after reboot.
mk