Uninstall Kodi and do a fresh install
|
Posts: 16
Threads: 5
Joined: Nov 2015
Reputation:
0
[Solved]
May 31, 2017, 10:14 AM
Hi, I recently updated Kodi through apt-get to version 17.1 on my RasPi 2B setup using the HTPC Guides Media Server Installer. In the previous version I already had unstable behaviour as in that sometimes videos weren't playing at all, audio wasn't playing and blurry subtitles. With version 17.1 especially the Kodi menu isn't working properly (it sort of crashes) and also regularly videos won't play, so I have to do a reboot.
So I want to start over with a clean install of the latest Kodi version. But I don't know the best way to do this without fucking up settings and dependencies and stuff like that.
Can someone give me directions?!
-Steven
Posts: 16
Threads: 5
Joined: Nov 2015
Reputation:
0
[Solved]
Jun 06, 2017, 06:53 PM
(This post was last modified: Jun 06, 2017, 06:54 PM by stevestar10.)
Please, anyone?
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Solved]
Jun 06, 2017, 08:12 PM
Use
Code:
sudo apt-get purge kodi*
rm -f ~/.kodi
This will completely delete kodi with all kodi configuration.
Have you only running kodi on your pi? Because then better look into libreelec. Or if you need to install other programs maybe take a look at osmc.
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
Posts: 16
Threads: 5
Joined: Nov 2015
Reputation:
0
[Solved]
Jun 07, 2017, 07:14 AM
(Jun 06, 2017, 08:12 PM)Yveske Wrote: Use
Code:
sudo apt-get purge kodi*
rm -f ~/.kodi
This will completely delete kodi with all kodi configuration.
Have you only running kodi on your pi? Because then better look into libreelec. Or if you need to install other programs maybe take a look at osmc.
Thanks Yveske, I thought it would be more difficult than only using a purge command..
I've got a problem though, when I try the purge command I get the following, and Kodi isn't removed:
Code:
root@raspberrypi:~# sudo apt-get purge kodi*
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package kodi_crashlog-20151128_215009.log
E: Couldn't find any package by regex 'kodi_crashlog-20151128_215009.log'
E: Unable to locate package kodi_crashlog-20151213_205207.log
E: Couldn't find any package by regex 'kodi_crashlog-20151213_205207.log'
E: Unable to locate package kodi_crashlog-20151222_221938.log
E: Couldn't find any package by regex 'kodi_crashlog-20151222_221938.log'
E: Unable to locate package kodi_crashlog-20160202_221807.log
E: Couldn't find any package by regex 'kodi_crashlog-20160202_221807.log'
E: Unable to locate package kodi_crashlog-20160217_164647.log
E: Couldn't find any package by regex 'kodi_crashlog-20160217_164647.log'
E: Unable to locate package kodi_crashlog-20160415_203454.log
E: Couldn't find any package by regex 'kodi_crashlog-20160415_203454.log'
E: Unable to locate package kodi_crashlog-20160513_215426.log
E: Couldn't find any package by regex 'kodi_crashlog-20160513_215426.log'
E: Unable to locate package kodi_crashlog-20160614_205725.log
E: Couldn't find any package by regex 'kodi_crashlog-20160614_205725.log'
E: Unable to locate package kodi_crashlog-20160614_205731.log
E: Couldn't find any package by regex 'kodi_crashlog-20160614_205731.log'
E: Unable to locate package kodi_crashlog-20160705_073821.log
E: Couldn't find any package by regex 'kodi_crashlog-20160705_073821.log'
E: Unable to locate package kodi_crashlog-20160722_204726.log
E: Couldn't find any package by regex 'kodi_crashlog-20160722_204726.log'
E: Unable to locate package kodi_crashlog-20160902_175652.log
E: Couldn't find any package by regex 'kodi_crashlog-20160902_175652.log'
E: Unable to locate package kodi_crashlog-20160918_154701.log
E: Couldn't find any package by regex 'kodi_crashlog-20160918_154701.log'
E: Unable to locate package kodi_crashlog-20161126_131140.log
E: Couldn't find any package by regex 'kodi_crashlog-20161126_131140.log'
E: Unable to locate package kodi_crashlog-20170321_204313.log
E: Couldn't find any package by regex 'kodi_crashlog-20170321_204313.log'
E: Unable to locate package kodi_crashlog-20170519_111907.log
E: Couldn't find any package by regex 'kodi_crashlog-20170519_111907.log'
E: Unable to locate package kodi_crashlog-20170523_121414.log
E: Couldn't find any package by regex 'kodi_crashlog-20170523_121414.log'
E: Unable to locate package kodi_crashlog-20170524_170709.log
E: Couldn't find any package by regex 'kodi_crashlog-20170524_170709.log'
E: Unable to locate package kodi_crashlog-20170528_140214.log
E: Couldn't find any package by regex 'kodi_crashlog-20170528_140214.log'
E: Unable to locate package kodi_crashlog-20170606_203828.log
E: Couldn't find any package by regex 'kodi_crashlog-20170606_203828.log'
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Solved]
Jun 07, 2017, 11:30 AM
You can try:
Code:
sudo apt-get update
sudo apt-get remove kodi*
sudo apt-get purge kodi*
But not sure this will work. Possibly giving the same error.
What I can find on the kodi forum is:
Quote:First, "kodi*" is pattern-matching all files in that directory, so it's trying to uninstall "kodi_crashlog" et al because that's what it's finding. The easiest fix is to change directory to somewhere where there are no kodi-anything files.
https://forum.kodi.tv/showthread.php?tid=280984
I think he means to move the log files because for some reason it's trying to uninstall the lof files.
Otherwise it's maybe best to start a thread on the kodi forum, there are kodi developers that can help you out.
Just let us know how it turns out. Hopefully you get it to work.
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
Posts: 16
Threads: 5
Joined: Nov 2015
Reputation:
0
[Solved]
Jun 07, 2017, 02:58 PM
That worked! I moved the log files to another folder and removed Kodi. Then I installed the latest version of Kodi again. And to make it autostart when my Pi boots I created a systemd service (based on kodi wiki):
Code:
nano /etc/systemd/system/kodi.service
With the following content:
Code:
[Unit]
Description = Kodi Media Center
[Service]
User = root
Group = root
Type = simple
#PAMName = login # you might want to try this one, did not work on all systems
ExecStart = /usr/bin/kodi-standalone
Restart = on-abort
RestartSec = 5
[Install]
WantedBy = multi-user.target
Then
Code:
systemctl enable kodi
And after a reboot of my Pi, Kodi shows up on my tv!
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Solved]
Jun 07, 2017, 05:41 PM
Great to hear.
Hopefully your issues are gone now.
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
Posts: 2
Threads: 0
Joined: Apr 2021
Reputation:
0
[Solved]
Jan 04, 2022, 07:14 AM
That was successful! I deleted Kodi and relocated the log data to another place. Then I reinstalled the most recent version of Kodi. Also, I'd like it 2 player games to start automatically when my Pi powers up.
Posts: 46
Threads: 2
Joined: Oct 2021
Reputation:
0
[Solved]
Nov 02, 2023, 02:03 AM
These structures served religious and dinosaur game ceremonial purposes and are often adorned with intricate carvings and symbols.
Posts: 81
Threads: 1
Joined: Jul 2021
Reputation:
0
[Solved]
Nov 30, 2023, 03:20 AM
You may want to check the official suika game Kodi for Linux page for any specific instructions or updates related to your Raspberry Pi.
|
|
|