Kodi Community Forum

Full Version: Issue installing Kodi 14.0 on Debian
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to install Kodi and when I run
sudo apt-get install kodi I get the following.

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package kodi

I added the repo to my source list. What am I doing wrong? Thanks in advance.

I also tried the following:

root@kali:~# apt-get install xbmc
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:12.2~git20130502.1706-frodo-0oneiric) but it is not going to be installed
Depends: xbmc-bin (< 2:12.2~git20130502.1706-frodo-0oneiric.1~) but it is not going to be installed
Recommends: python-qt3 but it is not installable
Recommends: xbmc-pvr-mythtv-cmyth but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Okay so I installed XBMC but I kinda cheated. I installed it through synaptic as I couldnt install it through command line how i normally install everything. So now that I have a older version of XBMC installed. How can I upgrade it to Kodi?
check what repo (PPA) you have defined, and look at the output of apt-cache policy xbmc and apt-cache policy kodi.

Almost certainly you're picking up an old version because that's all that's available in your defined PPAs - either because your PPA definitions are wrong (invalid, or pointing to a distro PPA instead of the official one) or because there's no build available for your OS.
(2015-01-03, 14:48)Prof Yaffle Wrote: [ -> ]check what repo (PPA) you have defined, and look at the output of apt-cache policy xbmc and apt-cache policy kodi.

Almost certainly you're picking up an old version because that's all that's available in your defined PPAs - either because your PPA definitions are wrong (invalid, or pointing to a distro PPA instead of the official one) or because there's no build available for your OS.

My source file is:
#

# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20141002-12:53]/ kali contrib main non-free

# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20141002-12:53]/ kali contrib main non-free

## Security updates

## Regular repositories
deb http://http.kali.org/kali kali main non-free contrib
## Source repositories
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ wheezy main
deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu oneiric main
deb http://ppa.launchpad.net/team-xbmc/unstable/ubuntu oneiric main
deb http://ppa.launchpad.net/team-xbmc/xbmc-nightly/ubuntu oneiric main

apt-cache policy xbmx is:

xbmc:
Installed: 2:11.0~git20120510.82388d5-1
Candidate: 2:13.0~git20130530.0200-3a9304b-0oneiric
Version table:
2:13.0~git20130530.0200-3a9304b-0oneiric 0
500 http://ppa.launchpad.net/team-xbmc/xbmc-nightly/ubuntu/ oneiric/main i386 Packages
2:13.0~git20130501.1005-alpha3-0oneiric 0
500 http://ppa.launchpad.net/team-xbmc/unstable/ubuntu/ oneiric/main i386 Packages
2:12.2~git20130502.1706-frodo-0oneiric 0
500 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ oneiric/main i386 Packages
*** 2:11.0~git20120510.82388d5-1 0
500 http://http.kali.org/kali/ kali/main i386 Packages
500 http://ftp.us.debian.org/debian/ wheezy/main i386 Packages
100 /var/lib/dpkg/status

output for kodi doesnt exist. I just found that I can I compile from source for Debian lol, could I not just build it from source? Or will that have some issues as well?
I suspect your issue is then that Oneiric is end of life, so there probably aren't (i386) builds available. The fact that you have anything could be an oversight, as EOL was reached over a year ago.

<checks... yes, there are only Kodi builds for Precise, Trusty and Utopic>

You can alter your sources to point to a current Ubuntu distro - I'll be honest, I've never *really* understood how the debs vary between systems, if at all, and whether that has any implications for a Debian installation. Unless you want unstable builds, I'd probably drop the unstable and nightly and change deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu oneiric main to deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu utopic main, see where that takes you.

Building from source is fine as well, especially if you like life on the leading edge. I don't recall how well (even if) it creates a deb file, though, so you might have to take care of dependencies yourself - I did it some time ago on Ubuntu and I don't recall it being a problem, though.
he is using kali linux(debian derived), our PPAs won't work there.
Thanks for all your replies Im about to try to change the PPA again. I know how to build from source but its not working even though i added the build dependencies but its not finding them. If the repos dont work on Kali why do I have a old build of XBMC? I am about to just install Kodi on VIrtualbox Im getting fraustrated lol
The latest for 7.0 Wheezy from http://deb-multimedia.org is XBMC 12.3. That's two releases ago. Looks like you'll have a hard time getting Kodi 14.x to run on your distro.

Maybe you could install OpenELEC alongside in a dual boot?
(2015-01-04, 00:51).:B:. Wrote: [ -> ]The latest for 7.0 Wheezy from http://deb-multimedia.org is XBMC 12.3. That's two releases ago. Looks like you'll have a hard time getting Kodi 14.x to run on your distro.

Maybe you could install OpenELEC alongside in a dual boot?

After fixing the repo it finds Kodi but I have

apt-get install kodi-bin
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:
kodi-bin : Depends: libasound2 (>= 1.0.27)
Depends: libc6 (>= 2.17) but 2.13-38+deb7u6 is to be installed
Depends: libglew1.10 (>= 1.10.0) but it is not installable
Depends: libgnutls-deb0-28 (>= 3.2.10-0) but it is not going to be installed
Depends: libpulse0 (>= 1:1.0) but 2.0-6.1 is to be installed
Depends: libstdc++6 (>= 4.9) but 4.7.2-5 is to be installed
Depends: libtag1c2a (>= 1.8) but 1.7.2-1 is to be installed
Depends: libtiff5 (>= 4.0.3) but it is not going to be installed
Depends: libva-x11-1 (> 1.3.0~) but 1.0.15-4 is to be installed
Depends: libva1 (> 1.3.0~) but 1.0.15-4 is to be installed
E: Unable to correct problems, you have held broken packages.

If I can dual boot Kodi that will be awesome! I have a old all in one mini PC that would be perfect for it but I also want Kodi on this laptop.
debian 7.0 is stoneage old. Xbmc/Kodi never ran properly on it with anything but nvidia GFX cards.
Dual boot is indeed your best bet if you do not want to upgrade to something more recent. Note though: Debians Xbmc/Kodi builds are not supported by us as they patch/switch out curcial libs.