crazyskeggy
Posts: 36
Joined: Mon Dec 17, 2012 4:02 pm

xbmc-bin not in default repositories

Sat Nov 09, 2013 10:00 am

I have recently installed XBMC by following the instructions at this post. Once I have installed it, I attempt to run it. I get the following error:

Code: Select all

ERROR: Unable to create GUI. Exiting
Illegal Instruction (core dumped)
Crash report available at /home/pi/xbmc_crashlog-20131109_093841.log
ERROR: Unable to create GUI. Exiting
Illegal Instruction (core dumped)
Crash report available at /home/pi/xbmc_crashlog-20131109_093900.log
ERROR: Unable to create GUI. Exiting
Segmentation fault (core dumped)
Crash report available at /home/pi/xbmc_crashlog-20131109_093919.log
XBMC has exited uncleanly 3 times in the last 57 seconds.
Something is probably wrong.
I have pasted the logs into a single pastebin file, at http://pastebin.com/cBunkFev

How do I fix this?

Subject line changed to reflect change in topic. Previously was 'XBMC "Cannot create GUI" error (plus others)'
Last edited by crazyskeggy on Sat Nov 09, 2013 3:22 pm, edited 1 time in total.
Running a Model B (256MB RAM) with Raspbian (in NOOBS 1.3) and a Model B (512MB RAM) with OpenELEC + CEC (No NOOBS, as it breaks CEC)

hal8000
Posts: 190
Joined: Fri Oct 04, 2013 5:22 pm

Re: XBMC "Cannot create GUI" error (plus others)

Sat Nov 09, 2013 12:48 pm

You need to state:
The distribution you are using:
The desktop
Command you used to start xmbc whether xbmc-stanadalone
or if your modified /etc/default/xbmc

That howto was October 2012, so possible the version you installed
was compiled against a different version of glibc which can cause
a segmentation fault.

On debian distrios you can install xbmc with:
sudo apt-get install xbmc

crazyskeggy
Posts: 36
Joined: Mon Dec 17, 2012 4:02 pm

Re: XBMC "Cannot create GUI" error (plus others)

Sat Nov 09, 2013 1:56 pm

Hi!

I am using Rasbpian on NOOBS 1.3
I am launching XBMC from the xbmc-standalone command.

The reason I followed that website because dependencies are broken for the xbmc package on the default repos, and they haven't been fixed for months.

Another note: I get a black screen whilst the output I mentioned gets written to the VT (because you can only launch XBMC from a VT, apparently)
Running a Model B (256MB RAM) with Raspbian (in NOOBS 1.3) and a Model B (512MB RAM) with OpenELEC + CEC (No NOOBS, as it breaks CEC)

hal8000
Posts: 190
Joined: Fri Oct 04, 2013 5:22 pm

Re: XBMC "Cannot create GUI" error (plus others)

Sat Nov 09, 2013 2:42 pm

I haven't tried xbmc on Raspian but it installed no problem on Arch with LXDE desktop.
You can launch xbmc from a terminal running a desktop environment but the load
average is high.

SSH into your Pi and post output of:

ldd --version

This will show version of your GNU C library. There has probably been changes since
that how-to was wrote, and the library it was compiled for has most likely changed and will
not be possible to fix without compiling from source and easier to try a workaround.

There are a couple of workarounds though.
As you are running NOOBS you can add another distro to your system like Raspmc,
OpenElectric or Xbian, which are dedicated to xbmc.
You can still access a separate disk drive with Raspmc, SSH, telnet etc, you just can
not run a desktop, hope that helps.

crazyskeggy
Posts: 36
Joined: Mon Dec 17, 2012 4:02 pm

Re: XBMC "Cannot create GUI" error (plus others)

Sat Nov 09, 2013 2:48 pm

I already have OpenELEC installed, but was just curious as to whether I could install XBMC in Raspbian so that I can save space by using just one OS.

I will try and look into this further, and possibly even see if I can't try compiling fro source, like the Raspbian website (where I got the link to the tutorial from) mentions, and maybe even host my own apt repo. (I assume Debian can't access PPAs at all, right?)
Running a Model B (256MB RAM) with Raspbian (in NOOBS 1.3) and a Model B (512MB RAM) with OpenELEC + CEC (No NOOBS, as it breaks CEC)

crazyskeggy
Posts: 36
Joined: Mon Dec 17, 2012 4:02 pm

Re: XBMC "Cannot create GUI" error (plus others)

Sat Nov 09, 2013 3:17 pm

I have just uninstalled and how found the missing package in the repo.

The dependencies for the "xbmc" package require "xbmc-bin" version number >= 2:11.0~git20120510.82388d5-1

apt-get install xbmc output:

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 xbmc : Depends: xbmc-bin (>= 2:11.0~git20120510.82388d5-1) but it is not installable
        Depends: xbmc-bin (< 2:11.0~git20120510.82388d5-1.1~) but it is not installable
        Recommends: python-qt3 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Where can I get the armhf package for that?
Running a Model B (256MB RAM) with Raspbian (in NOOBS 1.3) and a Model B (512MB RAM) with OpenELEC + CEC (No NOOBS, as it breaks CEC)

hal8000
Posts: 190
Joined: Fri Oct 04, 2013 5:22 pm

Re: xbmc-bin not in default repositories

Sat Nov 09, 2013 6:43 pm

If you have a large enough SD you could try and install Raspmc onto
the Noobs bootloader.

See below for the repository, be warned though you could mess
up your system if you do something wrong:

http://www.raspberrypi.org/phpBB3/viewt ... 7&p=184157

crazyskeggy
Posts: 36
Joined: Mon Dec 17, 2012 4:02 pm

Re: xbmc-bin not in default repositories

Sun Nov 17, 2013 5:00 pm

Tried what I thought might have been a workaround!

I downloaded xbmc-bin for armhf from http://packages.debian.org/wheezy/xbmc-bin (link is at the bottom, underneath "Dependencies") and installed it using dpkg -i xbmc-bin_VERSION-NUMBER.HERE

This only made a warning about Hardware Accelerated OpenGL being needed, specifically:
Error wrote:XBMC needs hardware accelerated OpenGL rendering.
Install an appropriate graphics driver

Please consult XBMC Wiki for supported hardware.
http://wiki.xbmc.org/?title=Supported_hardware
Running a Model B (256MB RAM) with Raspbian (in NOOBS 1.3) and a Model B (512MB RAM) with OpenELEC + CEC (No NOOBS, as it breaks CEC)

Return to “Troubleshooting”