how to install kodi for linux return error [SOLVED]

Ok my fault did not manage to remove all traces og old kodi first.
as found on yor site i did this
Uninstalling

If you need to remove and purge an application and finally removing/purging also the application configurations files, do so by using the following commands:
sudo apt-get update
sudo apt-get remove kodi*
sudo apt-get purge kodi*

Then remove the settings folder to remove all settings and library data. This will not delete any videos or music, but just the settings and library data itself:

rm -r ~/.kodi/

or
rm -r ~/.xbmc/ # for older versions before 14.0
then normal install and it went fine.

RC: Install Guide
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update

sudo apt-get install kodi

first tree wet fine last one returns error
problem occured under installation of software
packet: kodi 2:17.0~git20170210.1529-final-0xenial

Code:
Udpakker kodi (2:17.0~git20170210.1529-final-0xenial) ...
dpkg: fejl under behandling af arkivet /var/cache/apt/archives/kodi_2%3a17.0~git20170210.1529-final-0xenial_all.deb (--unpack):
forsøger at overskrive '/usr/share/xsessions/kodi.desktop', som også er i pakken kodi-data 15.2+dfsg1-3ubuntu1
dpkg-deb: fejl: underproces indsæt blev dræbt af signal (Kanalen blev brudt)
Behandler udløsere for man-db (2.7.5-1) ...
Behandler udløsere for libc-bin (2.23-0ubuntu5) ...
Der opstod fejl under behandlingen:
/var/cache/apt/archives/kodi_2%3a17.0~git20170210.1529-final-0xenial_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ps using ubuntu 16.04 LTS (64 bit)