Kodi won't upgrade

I had Kodi installed, but I uninstalled it to get a fresh installation. I tried re-installing from the Software Boutique, which is where I originally installed it from. It said that it was installed, and it showed up in the menu options, but when I tried to launch nothing happened. I went searching here for answers and saw a direction to this link here: https://www.ubuntuupdates.org/package/xbmc/xenial/main/base/kodi

I did an Apt Install from that page not realizing that it was going to install the previous version of Kodi (15.2 Isengard). It installed, and Kodi opens under that installation, but now I can’t upgrade Kodi to 16.1 or any other version, even if I do Apt Install for the proper version from this page here:
https://www.ubuntuupdates.org/package/core/yakkety/universe/base/kodi
It just keeps installing 15.2

I tried dong an upgrade directly from Synaptic Package Manager and got this error below:

E: /var/cache/apt/archives/kodi_2%3a17.0~git20170210.1529-final-0xenial_all.deb: trying to overwrite ‘/usr/share/xsessions/kodi.desktop’, which is also in package kodi-data 15.2+dfsg1-3ubuntu1
E: /var/cache/apt/archives/kodi-bin_2%3a17.0~git20170210.1529-final-0xenial_i386.deb: trying to overwrite ‘/usr/bin/kodi-standalone’, which is also in package kodi 15.2+dfsg1-3ubuntu1

Hi @Van_Burgett,

here is the terminal install command for Kodi 17:

sudo add-apt-repository ppa:team-xbmc/ppa && sudo apt-get update && sudo apt-get install kodi

Before you run the above, open Synaptic (install if not already installed) and mark all Kodi packages for complete removal (use the search function with “kodi” and there should be 3 files max), if you don’t remove your .kodi folder from your home folder (show hidden folders in home with Ctrl + h), you may have problems afterwards, you will have to re-install all your favs with the newer version, so try leaving it alone first and then if necessary, replace it!.

sudo apt-get install synaptic

Hope it helps. :smiley:

1 Like

You’re trying to install a package which has files that are already in place from another package, so APT triggers an error. It can happen when you have software that is e.g. both in the repos and a PPA and both versions are packaged a bit differently.

Try to remove it (your personal settings won’t be removed but system config files will, so check before if you have made modifications to them):

sudo apt-get remove --purge kodi

then remove dependancies:

sudo apt-get autoremove --purge

and finally, reinstall it from the most recent version (I assume you’re already using a PPA as the error message is related to a GIT version):

sudo apt-get install kodi

If it doesn’t work, we’ll check more thoroughly what repos/PPA you use.

1 Like

I did all of the removal processes, and it seems to have installed, but it’s back to not opening again. When I click on it, it briefly shows up in processes under system monitor, but then it quickly closes again.

Thanks. I had problems with Kodi 17 before. I thought I’d give it a try again. At least it’s not 15.2, but alas it’s just too buggy for me. If you have an install command for 16.1 that would be great.

I tried a bunch of different things, and uninstalled everything. So, now no version will install. When I try to do the “sudo apt-get install kodi” command, this is the error message I get:

The following packages have unmet dependencies:
kodi : Depends: kodi-bin (>= 2:16.1~git20160425.1001-final-0xenial) but it is not going to be installed
Depends: kodi-bin (< 2:16.1~git20160425.1001-final-0xenial.1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Hi @Van_Burgett,

remove the Kodi 17 PPA first!:

then download the .deb’s from the following links but watch out for what other packages you may need!:

64 Bit:

https://ubuntu.pkgs.org/16.10/ubuntu-universe-amd64/kodi-bin_16.1+dfsg1-2_amd64.deb.html

https://ubuntu.pkgs.org/16.10/ubuntu-universe-amd64/kodi_16.1+dfsg1-2_amd64.deb.html

32 Bit:

https://ubuntu.pkgs.org/16.10/ubuntu-universe-i386/kodi-bin_16.1+dfsg1-2_i386.deb.html

https://ubuntu.pkgs.org/16.10/ubuntu-universe-i386/kodi_16.1+dfsg1-2_i386.deb.html

1 Like

A lot of the extra packages required appear to be those available under 16.10. I have 16.04 installed. Is it okay that I’m installing these packages that weren’t created for the previous version of UM?
Also, is there no easier way to get everything installed via one deb file? Every time I install one thing it seems like one more thing is needed.

The point of having deb files and repos (which are nothing but a place on the internet where some debs are stored) is to automatically manage dependencies. But you have to pay attention to what you use so that you don’t end with orphan packages and such. Also, avoid mixing sources for various Linux versions unless you know what you’re doing (i.e. if you’re on Ubuntu Mate 16.10, don’t use repos for 16.04 or others). To sort out the current situation, give the list of your current repos:

cat /etc/apt/sources.list
ls /etc/apt/sources.list.d/*.list
cat /etc/apt/sources.list.d/*.list

Then, give the list of packages starting with “kodi”:

apt-cache policy kodi*

Okay. Thanks for your help. I’m posting what it spits out, but I’m not sure how much of it you actually need to see:

**# debcat /etc/apt/sources.list**
cdrom:[Ubuntu-MATE 16.04 LTS _Xenial Xerus_ - Release i386 (20160420.1)]/ xenial main multiverse restricted universe

**# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to**
**# newer versions of the distribution.**
**deb http://mirror.uoregon.edu/ubuntu/ xenial main restricted**
**# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted**

**## Major bug fix updates produced after the final release of the**
**## distribution.**
**deb http://mirror.uoregon.edu/ubuntu/ xenial-updates main restricted**
**# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted**

**## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu**
**## team, and may not be under a free licence. Please satisfy yourself as to**
**## your rights to use the software. Also, please note that software in**
**## universe WILL NOT receive any review or updates from the Ubuntu security**
**## team.**
**deb http://mirror.uoregon.edu/ubuntu/ xenial universe**
**# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial universe**
**deb http://mirror.uoregon.edu/ubuntu/ xenial-updates universe**
**# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe**

**## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu **
**## team, and may not be under a free licence. Please satisfy yourself as to **
**## your rights to use the software. Also, please note that software in **
**## multiverse WILL NOT receive any review or updates from the Ubuntu**
**## security team.**
**deb http://mirror.uoregon.edu/ubuntu/ xenial multiverse**
**# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial multiverse**
**deb http://mirror.uoregon.edu/ubuntu/ xenial-updates multiverse**
**# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse**

**## N.B. software from this repository may not have been tested as**
**## extensively as that contained in the main release, although it includes**
**## newer versions of some applications which may provide useful features.**
**## Also, please note that software in backports WILL NOT receive any review**
**## or updates from the Ubuntu security team.**
**deb http://mirror.uoregon.edu/ubuntu/ xenial-backports main restricted universe multiverse**
**# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse**

**## Uncomment the following two lines to add software from Canonical's**
**## 'partner' repository.**
**## This software is not part of Ubuntu, but is offered by Canonical and the**
**## respective vendors as a service to Ubuntu users.**
**deb http://archive.canonical.com/ubuntu xenial partner**
**deb-src http://archive.canonical.com/ubuntu xenial partner**

**deb http://mirror.uoregon.edu/ubuntu/ xenial-security main restricted**
**# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted**
**deb http://mirror.uoregon.edu/ubuntu/ xenial-security universe**
**# deb-src http://security.ubuntu.com/ubuntu xenial-security universe**
**deb http://mirror.uoregon.edu/ubuntu/ xenial-security multiverse**
**# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse**

**ls /etc/apt/sources.list.d/*.list**

/etc/apt/sources.list.d/appgrid-stable-xenial.list
/etc/apt/sources.list.d/cdemu-ubuntu-ppa-xenial.list
/etc/apt/sources.list.d/fingerprint-ubuntu-fingerprint-gui-xenial.list
/etc/apt/sources.list.d/getdeb.list
/etc/apt/sources.list.d/google-chrome.list
/etc/apt/sources.list.d/insync.list
/etc/apt/sources.list.d/libdvdcss2.list
/etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list
/etc/apt/sources.list.d/opera-stable.list
/etc/apt/sources.list.d/pipelight-ubuntu-stable-xenial.list
/etc/apt/sources.list.d/playonlinux.list
/etc/apt/sources.list.d/rebuntu16-ubuntu-avidemux_unofficial-xenial.list
/etc/apt/sources.list.d/spotify.list
/etc/apt/sources.list.d/ubuntuhandbook1-ubuntu-corebird-xenial.list
/etc/apt/sources.list.d/ubuntu-mate-dev-ubuntu-welcome-xenial.list
/etc/apt/sources.list.d/virtualbox.list
/etc/apt/sources.list.d/vivaldi.list
/etc/apt/sources.list.d/webupd8team-ubuntu-tor-browser-xenial.list
/etc/apt/sources.list.d/webupd8team-ubuntu-y-ppa-manager-xenial.list
/etc/apt/sources.list.d/yktooo-ubuntu-ppa-xenial.list

**cat /etc/apt/sources.list.d/*.list**

deb http://ppa.launchpad.net/appgrid/stable/ubuntu xenial main
deb http://ppa.launchpad.net/cdemu/ppa/ubuntu xenial main
**# deb-src http://ppa.launchpad.net/cdemu/ppa/ubuntu xenial main**
**deb http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu xenial main**
**# deb-src http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu xenial main**
**deb http://archive.getdeb.net/ubuntu xenial-getdeb apps**
**### THIS FILE IS AUTOMATICALLY CONFIGURED ###**
**# You may comment out this entry, but any other modifications may be lost.**
**deb http://dl.google.com/linux/chrome/deb/ stable main**
**deb http://apt.insynchq.com/ubuntu trusty non-free contrib**
**deb http://download.videolan.org/pub/debian/stable/ /**
**deb-src http://download.videolan.org/pub/debian/stable/ /**
**deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main**
**deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main**
**# This file makes sure that Opera Browser is kept up-to-date**
**# as part of regular system upgrades**

**deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)**
**# deb http://ppa.launchpad.net/pipelight/stable/ubuntu xenial main**
**# deb-src http://ppa.launchpad.net/pipelight/stable/ubuntu xenial main**
**deb http://deb.playonlinux.com/ trusty main**
**deb http://ppa.launchpad.net/rebuntu16/avidemux+unofficial/ubuntu xenial main**
**# deb-src http://ppa.launchpad.net/rebuntu16/avidemux+unofficial/ubuntu xenial main**
**deb http://repository.spotify.com stable non-free**
**deb http://ppa.launchpad.net/ubuntuhandbook1/corebird/ubuntu xenial main**
**deb-src http://ppa.launchpad.net/ubuntuhandbook1/corebird/ubuntu xenial main**
**deb http://ppa.launchpad.net/ubuntu-mate-dev/welcome/ubuntu xenial main**
**deb-src http://ppa.launchpad.net/ubuntu-mate-dev/welcome/ubuntu xenial main**
**deb http://download.virtualbox.org/virtualbox/debian xenial contrib**
**### THIS FILE IS AUTOMATICALLY CONFIGURED ###**
**# You may comment out this entry, but any other modifications may be lost.**
**deb http://repo.vivaldi.com/stable/deb/ stable main**
**deb http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu xenial main**
**deb-src http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu xenial main**
**deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu xenial main**
**# deb-src http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu xenial main**
**# deb-src http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu xenial main**
**deb http://ppa.launchpad.net/yktooo/ppa/ubuntu xenial main**
**# deb-src http://ppa.launchpad.net/yktooo/ppa/ubuntu xenial main**

**apt-cache policy kodi***

N: Unable to locate package kodi_crashlog-20170219_181527.log
N: Couldn't find any package by glob 'kodi_crashlog-20170219_181527.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170219_181527.log'
N: Unable to locate package kodi_crashlog-20170222_175725.log
N: Couldn't find any package by glob 'kodi_crashlog-20170222_175725.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170222_175725.log'
N: Unable to locate package kodi_crashlog-20170223_203822.log
N: Couldn't find any package by glob 'kodi_crashlog-20170223_203822.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170223_203822.log'
N: Unable to locate package kodi_crashlog-20170225_162437.log
N: Couldn't find any package by glob 'kodi_crashlog-20170225_162437.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170225_162437.log'
N: Unable to locate package kodi_crashlog-20170225_212936.log
N: Couldn't find any package by glob 'kodi_crashlog-20170225_212936.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170225_212936.log'
N: Unable to locate package kodi_crashlog-20170226_124005.log
N: Couldn't find any package by glob 'kodi_crashlog-20170226_124005.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170226_124005.log'
N: Unable to locate package kodi_crashlog-20170226_174825.log
N: Couldn't find any package by glob 'kodi_crashlog-20170226_174825.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170226_174825.log'
N: Unable to locate package kodi_crashlog-20170301_140402.log
N: Couldn't find any package by glob 'kodi_crashlog-20170301_140402.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170301_140402.log'
N: Unable to locate package kodi_crashlog-20170301_144220.log
N: Couldn't find any package by glob 'kodi_crashlog-20170301_144220.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170301_144220.log'
N: Unable to locate package kodi_crashlog-20170301_223437.log
N: Couldn't find any package by glob 'kodi_crashlog-20170301_223437.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170301_223437.log'
N: Unable to locate package kodi_crashlog-20170301_223614.log
N: Couldn't find any package by glob 'kodi_crashlog-20170301_223614.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170301_223614.log'
N: Unable to locate package kodi_crashlog-20170301_223641.log
N: Couldn't find any package by glob 'kodi_crashlog-20170301_223641.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170301_223641.log'
N: Unable to locate package kodi_crashlog-20170301_223826.log
N: Couldn't find any package by glob 'kodi_crashlog-20170301_223826.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170301_223826.log'
N: Unable to locate package kodi_crashlog-20170301_231412.log
N: Couldn't find any package by glob 'kodi_crashlog-20170301_231412.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170301_231412.log'
N: Unable to locate package kodi_crashlog-20170301_231534.log
N: Couldn't find any package by glob 'kodi_crashlog-20170301_231534.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170301_231534.log'
N: Unable to locate package kodi_crashlog-20170301_232502.log
N: Couldn't find any package by glob 'kodi_crashlog-20170301_232502.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170301_232502.log'
N: Unable to locate package kodi_crashlog-20170301_232518.log
N: Couldn't find any package by glob 'kodi_crashlog-20170301_232518.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170301_232518.log'
N: Unable to locate package kodi_crashlog-20170301_232537.log
N: Couldn't find any package by glob 'kodi_crashlog-20170301_232537.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170301_232537.log'
N: Unable to locate package kodi_crashlog-20170301_232920.log
N: Couldn't find any package by glob 'kodi_crashlog-20170301_232920.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170301_232920.log'
N: Unable to locate package kodi_crashlog-20170301_233218.log
N: Couldn't find any package by glob 'kodi_crashlog-20170301_233218.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170301_233218.log'
N: Unable to locate package kodi_crashlog-20170301_234229.log
N: Couldn't find any package by glob 'kodi_crashlog-20170301_234229.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170301_234229.log'
N: Unable to locate package kodi_crashlog-20170302_000640.log
N: Couldn't find any package by glob 'kodi_crashlog-20170302_000640.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170302_000640.log'
N: Unable to locate package kodi_crashlog-20170302_002411.log
N: Couldn't find any package by glob 'kodi_crashlog-20170302_002411.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170302_002411.log'
N: Unable to locate package kodi_crashlog-20170302_184537.log
N: Couldn't find any package by glob 'kodi_crashlog-20170302_184537.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170302_184537.log'
N: Unable to locate package kodi_crashlog-20170302_184731.log
N: Couldn't find any package by glob 'kodi_crashlog-20170302_184731.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170302_184731.log'
N: Unable to locate package kodi_crashlog-20170302_184910.log
N: Couldn't find any package by glob 'kodi_crashlog-20170302_184910.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170302_184910.log'
N: Unable to locate package kodi_crashlog-20170302_192743.log
N: Couldn't find any package by glob 'kodi_crashlog-20170302_192743.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170302_192743.log'
N: Unable to locate package kodi_crashlog-20170302_192832.log
N: Couldn't find any package by glob 'kodi_crashlog-20170302_192832.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170302_192832.log'
N: Unable to locate package kodi_crashlog-20170302_193043.log
N: Couldn't find any package by glob 'kodi_crashlog-20170302_193043.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170302_193043.log'
N: Unable to locate package kodi_crashlog-20170302_193109.log
N: Couldn't find any package by glob 'kodi_crashlog-20170302_193109.log'
N: Couldn't find any package by regex 'kodi_crashlog-20170302_193109.log'

I tried installing Kodi again through the Software Boutique. It did install Kodi 17 (Krypton), but if anyone can tell me how to roll it back to Kodi 16.1 (Jarvis), that would be great. Kodi 17 doesn’t work well on my system, and I don’t really like the layout.

Your sources seem ok (you should disable the CD-Rom source but it’s not a big deal right now). I don’t really understand where your Kodi 17 comes from.

It’s weird that the apt-cache command tries to look for log files. Are they in the directory where you are when you run the command (likely your home folder)?

Launch Synaptic, do a search for “kodi” (use the Search button, to the search filter field), click on the first column header to sort the packages found by installation state and post a screenshot showing the installed packages (green square next to them). You can host it on imgur.com or a similar site.

Yeah, there are a bunch of crashlog files in my home folder for some reason.

Here’s the screenshot:

@terzag, is there an easy way to rollback Kodi 17 to 16.1? Kodi 17 is currently on my machine, but I don’t want this version of Kodi. I’m afraid to uninstall it, because I don’t know if I’ll end up with the same issues re-installing it that I had before.

Hi @Van_Burgett,

even though the packages I linked to are for Ubuntu 16.10, they should still work on 16.04!. :smiley:

Ok, we’ll start again, as I had especially asked you to use the search button in Synaptic, not the search field (it’s not reliable). So, launch Synaptic again, search for “kodi” by using the search button and not the field, sort by installed packages and tell me if the results are different or if the installed packages are only kodi and kodi-bin. If there are more, post a new screenshot.

Also, you can remove the crash logs from your home dir.

It’s still possible to install version 16.1 but first we have to uninstall the newer version and find where it comes from in your repos.

You still have the xmbc PPA active and that is why it installs Kodi 17, remove the Kodi PPA per my earlier post!. :smiley:

I don’t see it in his sources posted above.

My bad, he has the “getdeb” PPA active and that is most likely the culprit installing Kodi 17?. :smiley:

@Van_Burgett, the best course of action in this case would be to purge Kodi with the following terminal command:

sudo apt-get remove --purge kodi && sudo apt-get autoremove --purge

Then install the packages you download for Ubuntu 16.10, then open Synaptic (once you have installed the packages) and mark any Kodi packages you find (hold the Ctrl button down) then click on Packages > Lock Version which will stop Kodi from upgrading:

I just checked on getdeb.net and they don’t seem to package Kodi.

Rather than telling @Van_Burgett to start locking packages versions, it would probably be a better idea to find where this Kodi version comes from and then evaluate the situation.

@Van_Burgett: could you give again the output of the apt-cache command after having removed all the crash logs from your home dir?

apt-cache policy kodi*