Linux Lite Forums

Software - Support => Other => Topic started by: Grant314159 on May 27, 2017, 06:54:40 PM

Title: Kodi update error
Post by: Grant314159 on May 27, 2017, 06:54:40 PM
Hi all,

I use my PC mainly as a Kodi box but Kodi will not update. I get the error below but as a complete novice I can't interpret it an know what to do. Can anybody please help

E: /var/cache/apt/archives/kodi_2%3a17.3+git20170525.0741-final-0xenial_all.deb: trying to overwrite '/usr/share/kodi/userdata/ModeLines_template.xml', which is also in package kodi-data 15.2+dfsg1-3ubuntu1
E: /var/cache/apt/archives/kodi-bin_2%3a17.3+git20170525.0741-final-0xenial_amd64.deb: trying to overwrite '/usr/bin/kodi', which is also in package kodi 15.2+dfsg1-3ubuntu1

Thanks
Grant

Title: Re: Kodi update error
Post by: Jerry on May 27, 2017, 07:43:10 PM
When was the very first time you installed Kodi, and how did you install it? I ask this because you have by the looks of it, installed Kodi on 2 separate occasions with 2 different methods.
Title: Re: Kodi update error
Post by: Grant314159 on May 27, 2017, 09:24:49 PM
Thanks for the quick reply.

You're probably right, I installed Kodi when I upgraded to LinuxLite 3.4 earlier this year and then clicked the "upgrade" button in Kodi when it started insisting the an upgrade to v17 was needed. I remember something about Ubuntu not supporting v17 and to follow the alternative instructions, so it is quite probable that I have installed it twice.

Will an un-install / re-install work or do I need to flush some logs somewhere?

Cheers
Grant
Title: Re: Kodi update error
Post by: Jerry on May 27, 2017, 09:37:11 PM
Open a terminal and do:

Code: [Select]
sudo apt-get --purge remove kodi*
Open your home folder, then press Ctrl+H, delete the .kodi folder. Then Ctrl+H to rehide folders/files.

then install Kodi via Menu, System, Lite Software. If you get any messages in Kodi asking to update Kodi, don't. The updates will come down via Install Updates when they are ready.
Title: Re: Kodi update error
Post by: Grant314159 on May 28, 2017, 05:50:36 AM
Great - that fixed everything. Thanks for the help and I have learned to only install software via LinuxLite
Title: Re: Kodi update error
Post by: Jerry on May 28, 2017, 05:52:11 AM
You're very welcome. Please refer to your original Welcome email on how to set the thread as Solved.

Sent from my Mobile phone using Tapatalk