View: 68598|Reply: 25

Ubuntu 15.04 (Loboris) - Unable to install kodi

[Copy link]

1

threads

2

posts

36

credits

Novice

Rank: 1

credits
36
Published in 2015-9-5 11:20:59 | Show all floors |Read mode
The standard apt-get mechanism to install kodi does not work with a "E: Unable to locate package kodi" error.
My intent is to use the OPi-M2 to scrape my content HDDs into a mysql db. After that, all the media-players around the house can seamlessly access the meta-data without having to scrape all-over again.

I have 3 laptops, 2 phones, 2 tabs, 2 media players; so believe me when I tell you that kodi + mysql is the only way to go for me.
If it is not possible to do on OPi-M2 for now, I will fallback to the RPi-B+ that I have (which feels horribly slow when compared to the OPi).

The kodi.wiki does tell that all versions of the Kodi must be same, so I will settle for 15.1 till 15.2 comes out.

Any suggestions?

Published in 2015-11-11 07:09:49 | Show all floors
Edited by chaszim at 2015-12-1 02:33

I've got to correct myself here. Debian offers the Armhf version of the Kodi, Kodi-bin and the other packages. I can't seem to get any of the Debian OS's working, doesn't recognize my keyboard and I can't get the mini's to run a desktop. I almost got it working with Lubuntu before It fall apart on me.

I started loading using this page https://packages.debian.org/sid/armhf/kodi
and tracking the dependancy needs from each of the pages that followed. Most of what's needed is in the Debian "Sid" repositories. But, naturally my luck, lubuntu choaked.

I also tried loading Debian Sid's multimedia repo to the sources list, but, it too bulks without the correct "keyring server" being loaded first. Which I haven't figured out how to find the keys.
The packages should work excepting there could be issues with the GPU drivers, so the sunix drivers are needed, and I see they're close to reaching the final development stage, in another thread here.
So, It shouldn't be much longer, till this all starts working togather.



Published in 2015-11-23 17:04:03 | Show all floors
Edited by bronco at 2015-11-23 17:05
loboris replied at 2015-11-20 23:01
Typical expected lifespan of modern CPUs is 20-30 years, so if we intentionaly make it lower (maybe ...

The problem is

  • We're not talking about "modern CPUs" but instead of dirt-cheap consumer-grade SoCs that contain also a few ARM cores
  • If these SoCs are used in their normal environment ARM processing power doesn't count at all since all relevant stuff happens in different parts of the SoC (2D/3D on GPU, in our case Mali400, video acceleration on the VPU, in our case CedarX)
  • Allwinner announced it's first SoC (A10) just four years ago. No longevity experiences possible
  • Allwinner is only focused on consumer market any more where an achievable lifespan doesn't play any role (which might influence production priorities if you're selling only through lowest price possible)
  • Chip manufacturers that focus on other market segments (industrial applications) do know what influences the lifespan and they also tell their customers
  • It's still not about temperatures but the problem is overvoltage (needed for insane overclocking) which seems to be the case with every single OS image available for H3 based Orange Pis now


TI sums it up: http://www.pandorawiki.org/Power_modes#Operating_Point

Anyway, the whole discussion is useless since now it's clear what leads to the thermal problems and that the H3 behaves nice when treated nice (no overclocking/overvolting). And that's good news at least for me since the Orange Pi PC might be interesting as multi-purpose low-power device to be used for security stuff and home automation. The H3 is not fast but cheap. And fortunately now there exists also a cheap SBC making use of the H3's capabilities to produce really cheap boards (internal 100 Mb/s Ethernet PHY, 4 USB PHYs, no PMIC/PMU needed)

Thx again for your great work, just donated since I will rely on your work when my OPi arrives.

16

threads

104

posts

989

credits

Senior member

Rank: 4

credits
989
Published in 2015-9-5 18:22:13 | Show all floors
Hi Rajib, have you tried with mediatomb with sqlite? I usually use it without sqlite, and never had problems.
Have you also added kodi source?
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install kodi
OrangePi A20, with Qbee-X_testing

Still waiting for refund/replacement of no working op+2e bought on 11/11 >_<...really serious company

0

threads

20

posts

102

credits

Registered member

Rank: 2

credits
102
Published in 2015-10-21 00:59:05 | Show all floors
tokka replied at 2015-9-5 18:22
Hi Rajib, have you tried with mediatomb with sqlite? I usually use it without sqlite, and never had  ...

I try that steps and i have the next problem

  1. root@OrangePI:~# apt-get install kodi
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. Some packages could not be installed. This may mean that you have
  6. requested an impossible situation or if you are using the unstable
  7. distribution that some required packages have not yet been created
  8. or been moved out of Incoming.
  9. The following information may help to resolve the situation:

  10. The following packages have unmet dependencies:
  11. kodi : Depends: kodi-bin (>= 2:15.2~git20151019.1039-final-0vivid) but it is not installable
  12.         Depends: kodi-bin (< 2:15.2~git20151019.1039-final-0vivid.1~) but it is not installable
  13.         Depends: libshairplay0 but it is not installable
  14.         Depends: libcec3 but it is not installable
  15.         Recommends: libva-intel-vaapi-driver but it is not installable
  16. E: Unable to correct problems, you have held broken packages.
Copy code


OPI-2
Published in 2015-11-5 22:29:43 | Show all floors
Edited by chaszim at 2015-12-1 02:33

I doubt we can come at this problem straight on, with apt-get or synaptic yet, because, it's not fully migrated into the Arm processor branch repositories yet.
You might try the pre built packages for Kodi & Kodi-bin (i386 version), but, I've got my doubts that will work cleanly either, because of other dependence issues, caused by the difference in processor branches.
I've got a feeling, it will come down to a full compile of Kodi, using what's available in the Arm processor repositories, & adding what's missing and only then compiling it,  then fight with the other dependencies & GPU issues that will arise.
I'm dying to resolve this issue too, $10 electric per year for a multimedia tv center, is one heck of a killer app.

I'm going to be taking one of the old scripts for manually building Kodi, and try re-work it, around the Arm processor repositories. Very time consuming for me, since all I'm good for is batch files (in Dos that is).

I too, can't fathom, is how it can work on a Raspburry B+, and not, on the OPI Pc. I guess it's our lot in life.

https://www.youtube.com/watch?v=MyeCQS7ITnU

0

threads

32

posts

370

credits

Intermediate member

Rank: 3Rank: 3

credits
370
Published in 2015-11-13 14:37:10 | Show all floors
I've installed package kodi-odroid from this repo: http://oph.mdrjr.net/meveric/ on Debian Jessie
Published in 2015-11-16 10:54:13 | Show all floors
Edited by chaszim at 2015-11-16 11:18
whitewind replied at 2015-11-13 14:37
I've installed package kodi-odroid from this repo: http://oph.mdrjr.net/meveric/ on Debian Jessie

         And???
With your success, does Kodi load up & run properly or not?
I figure there's going to be some problems, like, display & maybe speed issues. Because of the drivers needs, for the GPU, haven't quite been writen yet (I do read from ather threads here).





0

threads

32

posts

370

credits

Intermediate member

Rank: 3Rank: 3

credits
370
Published in 2015-11-16 18:53:15 | Show all floors
chaszim replied at 2015-11-16 10:54
And???
With your success, does Kodi load up & run properly or not?
I figure there's goin ...

Kodi starts and plays music and even video with good framerate. But it crashes after some random time playing video(
Published in 2015-11-18 08:21:14 | Show all floors
Edited by chaszim at 2015-11-18 08:30
whitewind replied at 2015-11-16 18:53
Kodi starts and plays music and even video with good framerate. But it crashes after some random t ...

I wouldn't be too fast to dismiss kodi's video hanging or crashing, it could be anything from network whiplash to well, can't know everything. Check your bandwidth, about all the apps, seem to stumble and fall.
Try the most stable application you can find, even iptv sneaker choaks (pun intended, sneaker for stalker).  



0

threads

32

posts

370

credits

Intermediate member

Rank: 3Rank: 3

credits
370
Published in 2015-11-18 11:57:21 | Show all floors
chaszim replied at 2015-11-18 08:21
I wouldn't be too fast to dismiss kodi's video hanging or crashing, it could be anything from netwo ...

It seems that i've found the problem:
  1. # memtester 500M 10  
  2. memtester version 4.3.0 (32-bit)
  3. Copyright (C) 2001-2012 Charles Cazabon.
  4. Licensed under the GNU General Public License version 2 (only).

  5. pagesize is 4096
  6. pagesizemask is 0xfffff000
  7. want 500MB (524288000 bytes)
  8. got  500MB (524288000 bytes), trying mlock ...locked.
  9. Loop 1/10:
  10.   Stuck Address       : ok         
  11.   Random Value        : ok
  12.   Compare XOR         : ok
  13.   Compare SUB         : ok
  14.   Compare MUL         : ok
  15.   Compare DIV         : ok
  16.   Compare OR          : ok
  17.   Compare AND         : ok
  18.   Sequential Increment: ok
  19.   Solid Bits          : ok         
  20.   Block Sequential    : ok         
  21.   Checkerboard        : ok         
  22.   Bit Spread          : testing  19FAILURE: 0x00280040 != 0x00280000 at offset 0x08670088.
  23.   Bit Flip            : testing 174FAILURE: 0x00200000 != 0x00200040 at offset 0x07e1f6d4.
  24.   Walking Ones        : ok         
  25.   Walking Zeroes      : ok         
  26.   8-bit Writes        : ok
  27.   16-bit Writes       : ok

  28. Loop 2/10:
  29.   Stuck Address       : ok         
  30.   Random Value        : ok
  31.   Compare XOR         : ok
  32.   Compare SUB         : ok
  33.   Compare MUL         : ok
  34.   Compare DIV         : ok
  35.   Compare OR          : ok
  36.   Compare AND         : ok
  37.   Sequential Increment: ok
  38.   Solid Bits          : testing  35FAILURE: 0x00000040 != 0x00000000 at offset 0x07705a40.
  39.   Block Sequential    : ok         
  40.   Checkerboard        : ok         
  41.   Bit Spread          : ok         
  42.   Bit Flip            : ok         
  43.   Walking Ones        : ok         
  44.   Walking Zeroes      : ok         
  45.   8-bit Writes        : ok
  46.   16-bit Writes       : ok
Copy code



You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list