I upgraded ubuntu and then attempted to upgrade kodi. I’ve done a purge of kodi. Here’s what I get when do sudo apt install kodi:
(Reading database … 217766 files and directories currently installed.)
Preparing to unpack …/kodi_2%3a17.1+git20170416.2032-final-0zesty_all.deb …
Unpacking kodi (2:17.1+git20170416.2032-final-0zesty) over (2:17.1+dfsg1-1) …
dpkg: error processing archive /var/cache/apt/archives/kodi_2%3a17.1+git20170416.2032-final-0zesty_all.deb (–unpack):
trying to overwrite ‘/usr/share/man/man1/kodi.bin.1.gz’, which is also in package kodi-bin:amd64 2:17.1+dfsg1-1
Preparing to unpack …/kodi-bin_2%3a17.1+git20170416.2032-final-0zesty_amd64.deb …
Unpacking kodi-bin (2:17.1+git20170416.2032-final-0zesty) over (2:17.1+dfsg1-1) …
dpkg: error processing archive /var/cache/apt/archives/kodi-bin_2%3a17.1+git20170416.2032-final-0zesty_amd64.deb (–unpack):
trying to overwrite ‘/usr/bin/kodi’, which is also in package kodi 2:17.1+dfsg1-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/kodi_2%3a17.1+git20170416.2032-final-0zesty_all.deb
/var/cache/apt/archives/kodi-bin_2%3a17.1+git20170416.2032-final-0zesty_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I’m stuck, any help would be appreciated.