Next revision | Previous revision |
linux:kodi [2017/07/06 22:29] – Kodi kurt.smolderen | linux:kodi [2021/10/24 22:26] (current) – [Youtube issues] kurt.smolderen@empuly.net |
---|
===== Install Kodi on Ubuntu 16.04 ===== | ===== Install Kodi on Ubuntu 16.04 ===== |
==== Youtube issues ==== | ==== Youtube issues ==== |
When the official version of the Youtube plugin is installed, Kodi will crash whenever the plugin is opened. A crashlog is created with the following content: <code> | When the latest version (i.e. > 5.3.10) of the Youtube plugin is installed, Kodi will crash whenever the plugin is opened. The associated crashlog is reads as follows: |
| <code> |
############## Kodi CRASH LOG ############### | ############## Kodi CRASH LOG ############### |
| |
</code> | </code> |
| |
In order to solve this issue, an updated version of python-cryptography and python-openssl must be installed (ref https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1636573). | In order to solve this issue, an updated version of ''python-cryptography'' and ''python-openssl'' must be installed (ref [[https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1636573|https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1636573]]). |
| |
- Add zesty repositories by creating /etc/apt/sources.list.d/zesty.list with the following content <code>#Zesty | - Add the //zesty// repositories to your //xenial// installation: <file text /etc/apt/sources.list.d/zesty.list>#Zesty |
deb http://be.archive.ubuntu.com/ubuntu zesty main | deb http://be.archive.ubuntu.com/ubuntu zesty main |
deb-src http://be.archive.ubuntu.com/ubuntu zesty main</code> | deb-src http://be.archive.ubuntu.com/ubuntu zesty main</file> |
- Configure apt such that it prefers packages from //xenial// above those from the //zesty// release. Create the file /etc/apt/apt.conf.d/01ubuntu-version with the following content: <code>APT::Default-Release "xenial";</code> | - Configure ''apt'' such that it prefers packages from //xenial// above those from the //zesty// release. Failing to do so will update a lot more packages to their //zesty// version and might leave you with a broken system. <file text /etc/apt/apt.conf.d/00ubuntu-version>APT::Default-Release "xenial";</file> |
- Tell apt to prefer the python-cryptography version from //zesty// above the version from //xenial// by creating the file ///etc/apt/preferences.d/python-cryptograph-from-zesty// with he following content: <code>Package: python-cryptography | - Tell apt to prefer the ''python-cryptography'' version from //zesty// above the version provided in //xenial//: <file text /etc/apt/preferences.d/python-cryptograph-from-zesty>Package: python-cryptography |
Pin: release n=zesty | Pin: release n=zesty |
Pin-Priority: 1000</code> | Pin-Priority: 1000</file> |
- Run ''sudo apt update'' followed by ''sudo apt upgrade'' to install the updated version. | - Run ''sudo apt update'' followed by ''sudo apt upgrade'' to install the updated version. |