Kodi Community Forum

Full Version: Ubuntu 14.04 Kodi Helix 14.2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Trying to install;
http://kodi.wiki/view/HOW-TO:Compile_Kod..._or_Ubuntu

... but getting an error;
E: Unable to locate package libcec1
and
FileNotFoundError: [Errno 2] No such file or directory: '/etc/apt/sources.list.d/team-xbmc-ppa-trusty.list'

I also tried to compile my one;
http://kodi.wiki/view/HOW-TO:Compile_Kodi_for_Ubuntu

.. but fails also
Please help. How can I remove what I've done and start over with some correct instructions? anyone have a deb already compiled I can use?
sudo apt-get update

apt-cache policy kodi
(2015-08-10, 17:18)fritsch Wrote: [ -> ]sudo apt-get update

apt-cache policy kodi

after I run the above it says;
N: Unable to locate package kodi
I want the damn output :-) of this command.

Code:
sudo apt-add-repository ppa:team-xbmc/ppa
sudo apt-get update
apt-cache policy kodi
sudo apt-get install kodi kodi-bin

Copy and paste everything you see in the terminal and paste it to paste.ubuntu.com after that add this link in your response.
(2015-08-10, 17:53)fritsch Wrote: [ -> ]I want the damn output :-) of this command.

Code:
sudo apt-add-repository ppa:team-xbmc/ppa
sudo apt-get update
apt-cache policy kodi
sudo apt-get install kodi kodi-bin

Copy and paste everything you see in the terminal and paste it to paste.ubuntu.com after that add this link in your response.
Ok, here you go. thank you for the help Smile
http://paste.ubuntu.com/12048962/

I'm having trouble installing other stuff now to: is this the reason;
files[source.file] = open(source.file, "w")
FileNotFoundError: [Errno 2] No such file or directory: '/etc/apt/sources.list.d/team-xbmc-ppa-trusty.list'

Should I have a sources.list.d directory? I don't have one
Quote:[sudo] password for matrixebiz:

More info: https://launchpad.net/~team-xbmc/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

Traceback (most recent call last):
File "/usr/bin/apt-add-repository", line 163, in <module>
if not sp.add_source_from_shortcut(shortcut, options.enable_source):
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 750, in add_source_from_shortcut
self.set_modified_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 484, in set_modified_sourceslist
self.save_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 650, in save_sourceslist
self.sourceslist.save()
File "/usr/lib/python3/dist-packages/aptsources/sourceslist.py", line 415, in save
files[source.file] = open(source.file, "w")
FileNotFoundError: [Errno 2] No such file or directory: '/etc/apt/sources.list.d/team-xbmc-ppa-trusty.list'
gpg: keyring `/tmp/tmpos2lvxre/secring.gpg' created
gpg: keyring `/tmp/tmpos2lvxre/pubring.gpg' created
gpg: requesting key 91E7EE5E from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpos2lvxre/trustdb.gpg: trustdb created
gpg: key 91E7EE5E: public key "Launchpad PPA for XBMC for Linux" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK

Does your provider censor https traffic?

do:

Code:
sudo echo "deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu trusty main" > /etc/apt/sources.list.d/team-xbmc-ppa-trusty.list

And then:
Code:
sudo apt-get update
sudo apt-get install kodi kodi-bin

If it asks about untrusted packages, tell them "yes" to install.
Thank you. It's all working now. I recreated the sources.list.d folder and was able to install it now.

I tried to do a manual compile of it yesterday which also failed but do not need all that anymore. Where can I go to delete all the stuff I do not need now?
If it's running keep it running :-) Good Luck