Kodi Community Forum

Full Version: deleted /usr/lib/kodi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi,

trying to upgrade kodi version on linux mint, i did a apt-get remove kodi and i deleted /usr/lib/kodi directory.
now i do apt-get install kodi but when i try to start kodi:

/usr/bin/kodi: 156: /usr/bin/kodi: /usr/lib/kodi/kodi.bin: not found

how can i restore that directoryHuh
See if apt-get can fix it:

sudo apt-get install -f

Otherwise uninstall and re-install with apt-get, you shouldn't really ever need to delete install folders by hand like that.
with apt i cant restore it and it was an error deleted, but now i need to restore the directory Sad .

thanks
apt-get install --reinstall -o Dpkg::Options::="--force-confmiss" kodi-bin
sudo apt-get install kodi-bin --reinstall might be enough