XBMC 13.0 Gotham entered Debian

XBMC v13.0 Gotham

XBMC v13.0 Gotham

Thanks to the great work of the XBMC Team XBMC 13.0 Gotham has been released last Sunday and now “XBMC from Debian” can be downloaded from experimental to Jessie and Sid systems.

It will take some time to enter unstable since it is blocked by the Libav 10 transition, but that will happen, too, eventually.

I have also set up a separate repository at https://people.debian.org/~rbalint/ppa/xbmc-ffmpeg/ based on the Debian packages in main but using XBMC’s internal copy of FFmpeg because I received several request asking for this variant. The packages there can be used on Wheezy (stable), Jessie (testing) and Sid (unstable) but are not part of Debian.

Update 1: For the interested parties the XBMC 13 Libav compatibility patches are available from a git branch in the packaging repository.

Update 2: Gotham and compatible PVR addons have migrated to Jessie (testing) and have also been uploaded to wheezy-backports. This makes Frodo and compatible PVR addons not installable from the usual official Debian repositories but if you would like to still use Frodo you can install it from snapshot.debian.org. Just add the following lines to your sources.list:

deb     http://snapshot.debian.org/archive/debian/20140401T173926Z/ wheezy-backports main
deb-src http://snapshot.debian.org/archive/debian/20140401T173926Z/ wheezy-backports main

It may be necessary to ignore the Valid-Until header within Release files, in order to prevent apt from disregarding snapshot entries (“Release file expired”). Use aptitude -o Acquire::Check-Valid-Until=false update or apt-get -o Acquire::Check-Valid-Until=false update for this purpose. (from snapshot.debian.org)

Update 3: people.debian.org became available through HTTPS only thus sources.list have to be updated as well. You may need to install apt-transport-https package to access the repositories there.

32 thoughts on “XBMC 13.0 Gotham entered Debian

  1. Pingback: Introducing “XBMC from Debian” | Obsessed with reality

  2. frostet

    help me…depends missing…
    下列软件包有未满足的依赖关系:
    xbmc-bin : 依赖: libtag1c2a (>= 1.8) 但是 1.7.2-1 正要被安装
    推荐: libcec2 但是它将不会被安装
    推荐: libhdhomerun1 但是它将不会被安装
    推荐: libnfs1 但是它将不会被安装
    推荐: libshairport1 但是它将不会被安装
    推荐: libvdpau1 (>= 0.2) 但是它将不会被安装
    E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。

    Reply
      1. feelfree

        Same dependency error at my fresh wheezy installation.
        wheezy-backports is enabled.

        Reply
        1. Réczey Bálint Post author

          I have just uploaded xbmc_13.1~rc1+dfsg1-1~bpo70+1 to wheezy-backports. It is expected to work with the latest libraries. For reporting bugs in the Debian XBMC packages in wheezy-backports please use the debian-backports at lists.debian.org.

          Reply
  3. Nick Gentile

    Hi,

    Enabled wheezy-back-ports, install was successful. However, when starting XBMC, I’m getting this error.


    /usr/lib/xbmc/xbmc.bin: relocation error: /usr/lib/i386-linux-gnu/i686/cmov/libavfilter.so.4: symbol sws_isSupportedEndiannessConversion, version LIBSWSCALE_2 not defined in file libswscale.so.2 with link time reference

    Could I have missed something?

    Thanks

    Reply
      1. Nick Gentile

        dpkg -l libavfilter*

        ii libavfilter2:i 7:0.11.2-dmo i386 FFmpeg filter library.
        ii libavfilter3:i 8:1.0.9-dmo1 i386 FFmpeg filter library.
        ii libavfilter4:i 6:10.1-1~bpo i386 Libav video filtering library

        Reply
        1. Réczey Bálint Post author

          You need to remove all -dmo packages. They don’t always play nicely with official Debian packages.
          To get the list of them run:
          dpkg -l | grep '.*-dmo'

          Reply
          1. Nick Gentile

            Yeah, that will fix it, but it involves deleting and then reinstalling half of my computer, and well, it makes sense to do a long-overdue dist-upgrade but that is for the weekend, but I got XBMC to work by replacing liswscale2 with a *-bpo and XBMC now runs, but have been forced to temporarily lock libavfilter and libswscale to prevent “accidental” upgrades.

            Thanks though.

  4. Pingback: XBMC 12.3 Frodo has arrived to Debian Wheezy, Jessie and Sid | Obsessed with reality

  5. mark stephens

    HI, I’ve added the following to my sources.list:
    deb http://people.debian.org/~rbalint/ppa/xbmc-ffmpeg xbmc-ffmpeg-unstable/
    deb http://http.debian.net/debian wheezy-backports main contrib non-free
    deb http://people.debian.org/~rbalint/ppa/xbmc-ffmpeg xbmc-ffmpeg-wheezy-backports/
    and run sudo apt-get update with apparent success.
    When searching xbmc using aptitude, I just see what looks like the same old Frodo currently installed. How do I know I have your Gotham version?

    thanks! mark

    Reply
      1. mark stephens

        I ran apt-get update many times with not errors. An “aptitude show xbmc” displays:
        Package: xbmc
        State: installed
        Automatically installed: no
        Version: 4:12.3.1-dmo1
        Priority: optional
        Section: video
        Maintainer: Christian Marillat

        which seems to be the version 12.x one I have installed already. I’m probably doing something really dumb… and thanks so much for replying. mark

        Reply
        1. Réczey Bálint Post author

          The version is actually 4:12.3.1-dmo1, where the 4 at the front is the epoch which makes it a higher version than what you can get from Debian (2:13.1~rc1+dfsg1-1) or my repository (2:13.1~rc1+dfsg1+internal+ffmpeg-1).

          The version number also tells that you installed the package from the deb-multim… repository (-dmo1 postfix in version number).
          The easiest way of getting the XBMC version you would like to install is removing the deb-multim… lines from /etc/apt/sources.list and removing all the packages installed from there.
          You can find them by running dpkg -l | grep dmo
          After those steps apt-get update and apt-get install xbmc will work properly.

          Reply
          1. mark stephens

            Oh boy, I was afraid of this… as another responder pointed out, this will remove over 100 software packages in my system. Thank goodness I’m not using KDE.

            I’m wondering if I should switch to Ubuntu as xbmc is the primary function of this server on the user front end. I get the feeling that Debian support for xbmc is going to be trouble for future releases of xbmc.

            Just wish that Debian, Ubuntu and xbmc could all get along! (Even if that’s the right way of putting it.)

            Having been a software developer in the past, I really appreciate your effort in this! So thanks.

            mark

          2. Réczey Bálint Post author

            Yes, this is not an easy operation, but you can force downgrade all the packages at once using synaptic.

            If you are not happy about this please tell your opinion on deb-multim….

            If you are happy with using XBMC with Libav (like me) there is no functional difference between Debian’s and Ubuntu’s version.
            If you would like to use FFmpeg based XBMC you have to enable an external repository both for Debian and Ubuntu. The Ubuntu one is maintained by some of the XBMC devs, the Debian one is maintained by me and they are basically the same feature-wise.

  6. Frank

    Hi,

    I followed the instructions from https://people.debian.org/~rbalint/ppa/xbmc-ffmpeg/ for wheezy 64bit, but could not install xbmc:


    sudo apt-get install xbmc
    [...]
    Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
    Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
    Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
    nicht erstellt wurden oder Incoming noch nicht verlassen haben.
    Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

    Die folgenden Pakete haben unerfüllte Abhängigkeiten:
    xbmc : Hängt ab von: xbmc-bin (>= 2:13.1~rc1+dfsg1+internal+ffmpeg-1~bpo70~wheezyffmpeg+1) soll aber nicht installiert werden
    Hängt ab von: xbmc-bin (< 2:13.1~rc1+dfsg1+internal+ffmpeg-1~bpo70~wheezyffmpeg+1.1~) soll aber nicht installiert werden
    E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.

    Rough translation: “The following packages have unfulfilled dependencies, xbmc depends on xbmc-bin (>= 2:13.1 … but shall not be installed …” and so on.

    dpkg -l | grep dmo
    outputs nothing.

    I am also wondering what exactly to install:

    sudo apt-get install xbmc-ffmpeg
    [...]
    E: Paket xbmc-ffmpeg kann nicht gefunden werden.

    (xbmc-ffmpeg not found)

    And one more thing (don’t know if this is important): The gpg command failed:

    gpg: Schlüsselblockhilfsmittel`/usr/share/keyrings/debian-keyring.gpg': Fehler beim Öffnen der Datei
    gpg: WARNUNG: Nichts exportiert
    gpg: Keine gültigen OpenPGP-Daten gefunden.

    (error on opening file, nothing exported, no valid OpenPGP data found)

    This yielded in

    sudo apt-get update
    [...]
    NO_PUBKEY F664D256B4691A7D

    After running

    gpg --keyserver pgpkeys.mit.edu --recv-keys F664D256B4691A7D
    gpg -a --export F664D256B4691A7D | sudo apt-key add -

    everything was ok.

    Reply
      1. Frank

        Same as before:

        LC_ALL=C sudo apt-get -t xbmc-ffmpeg-wheezy-backports install xbmc
        [...]
        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:13.1~rc1+dfsg1+internal+ffmpeg-1~bpo70~wheezyffmpeg+1) but it is not going to be installed
        Depends: xbmc-bin (< 2:13.1~rc1+dfsg1+internal+ffmpeg-1~bpo70~wheezyffmpeg+1.1~) but it is not going to be installed
        E: Unable to correct problems, you have held broken packages.

        Reply
        1. Réczey Bálint Post author

          Please run
          sudo apt-get install -t wheezy-backports libtag1c2a
          before running
          sudo apt-get -t xbmc-ffmpeg-wheezy-backports install xbmc
          This should fix the installation error.

          Reply
          1. Daniel

            I’ve the same error.

            I ran yo

            but got this message: Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen…. Fertig libtag1c2a ist schon die neueste Version. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 70 nicht aktualisiert.

            Translated ” libtag1c2a is already the latest Version.”
            0 updated, 0 reinstalled, 0 to delete and70 not updated.

            Any idea?

  7. HumanAfterAll

    Does 13.2-ffmpeg support playback from rar files?
    Finally a I managed to install it to Linux Mint Debian (testing) from your repo, and now no it can’t see the packed movies 🙁
    TIA

    Reply
    1. Réczey Bálint Post author

      No, because rar support requires a library with a GPL-incompatible license thus enabling it would result a binary which I could not distribute.

      Reply
  8. suberimakuri

    Thanks for your work on this.
    I’ve been running libav version out of sid for a few weeks without issue.
    Have just switched to your ffmpeg version, also seems fine.
    I used to compile from git.
    I don’t have X running as such, this is on a computer in cupboard connected by HDMI to TV.

    One thing that I seem to have lost at some point is the ability to suspend/sleep. I like to suspend it after 30 minutes inactivity.
    I have upower and pm-utils installed, and added xbmc user to sudoers for pm-suspend.
    Also have added consolekit and created a pkla file.
    However, there is no option in XBMC to suspend, only shutdown (which works).

    Any suggestions greatly appreciated, can’t find anything with search…
    Thank you.

    Reply
  9. suberimakuri

    In the logs I can see these so will keep searching consolekit:
    10:13:19 T:140509990488128 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs – No such property CanSuspend
    10:13:19 T:140509990488128 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs – No such property CanHibernate
    1

    Reply
  10. suberimakuri

    Confirm fixed in 2:13.2+dfsg1-4.
    Thank you very much. suspend, reboot, shutdown all there.
    requires consolekit, upower, policykit, dbus, appropriate .pkla file from xbmc/kodi wiki.
    I added in freedesktop.login1.* to the xbmc wiki version.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.