I am trying to insall Kodi but I keep getting the following:
Do you want to continue? [Y/n] y (Reading database ... 420573 files and directories currently installed.) Preparing to unpack .../kodi_2%3a16.1~git20160425.1001-final-0xenial_all.deb ... Unpacking kodi (2:16.1~git20160425.1001-final-0xenial) over (15.2+dfsg1-3ubuntu1) ... dpkg: error processing archive /var/cache/apt/archives/kodi_2%3a16.1~git20160425.1001-final-0xenial_all.deb (--unpack): trying to overwrite '/usr/share/xsessions/kodi.desktop', which is also in package kodi-data 15.2+dfsg1-3ubuntu1 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for desktop-file-utils (0.22-1ubuntu5) ... Processing triggers for mime-support (3.59ubuntu1) ... Errors were encountered while processing: /var/cache/apt/archives/kodi_2%3a16.1~git20160425.1001-final-0xenial_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
What is this and how can I fix it?
I tried sudo apt-get install -f and still the same