FAQ

This page contains the answers to the most important and most critical Frequently Asked Questions. Other answers to less critical and important FAQ’s can be found on our wiki.

[All Platforms] The APT repository at xbian.brantje.com seems to be unreachable

To fix the problem, you need to manually replace the APT repository.

1. Open a SSH connection to your XBian machine like this except the default login and password is xbian and raspberry.
2. Then run the following two commands. When you are asked for a password, enter raspberry again.

sudo sed -i 's/xbian.brantje.com/apt.xbian.org/g' /etc/apt/sources.list.d/xbian.list
sudo sed -i 's/xbian.brantje.com/apt.xbian.org/g' /etc/apt/sources.list

In case either of the two commands gives an error, just ignore it.

3. Then run this command apt-get update -f and you’re done. You can now close the SSH session.

[All Platforms] Updating fails on btrfs-auto-snapshot

If you get this warning (or similar):
/usr/sbin/btrfs-auto-snapshot: line 462: [: : integer expression expected
Error: root is not existing volume.
/usr/sbin/btrfs-auto-snapshot: line 1: 12578 Segmentation fault exit 138
E: Problem executing scripts DPkg::Pre-Invoke '[ ! -e /etc/default/xbian-snap ] || . /etc/default/xbian-snap; [ $ENABLEDAPT = yes ] || exit 0; z=$(findmnt -n /| awk '{print $2}'); z=${z#*\[\/}; export z=${z%%\/*}; if [ -x /usr/sbin/btrfs-auto-snapshot ]; then btrfs-auto-snapshot snapshot -k $KEEPAPT -l apt-run $z ; fi ;'
E: Sub-process returned an error code

Run the following steps:

1. Open a SSH connection to your XBian machine like this except the default login and password is xbian and raspberry.
2. Then run the following two commands. When you are asked for a password, enter raspberry again.

sudo sed -i 's/dpkg/#dpkg/g' /etc/apt/apt.conf.d/06xbian-btrfs

3. Then run this command apt get upgrade and you’re done, although you might want to run the following command to be sure:

sudo sed -i 's/#dpkg/dpkg/g' /etc/apt/apt.conf.d/06xbian-btrfs

4. You can now close the session.

[Raspberry Pi] When updating XBian RC2 libsystemd-login0 is held back. How to I upgrade this package?

You can’t. As you might have seen while trying to install the package, it has unmet dependencies:

The following packages have unmet dependencies:
libsystemd-login0 : Depends: libc6 (>= 2.14) but 2.13-38+rpi2+deb7u3 is to be installed

This is an issue of Raspbian that we can’t do much about.

[HummingBoard] After installing the XBian image… it just doesn’t work!

The HummingBoard is currently being under heavy development. Not only by XBian, but also by SolidRun (the company behind it). Known issues are that the GPIO is not working at all (and therefor the IR receiver) and Btrfs support is unstable. Until the most important issues have been fix, help us with development, or stay away from the HummingBoard for the time being.