RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Issues loading Kodi.

    Scheduled Pinned Locked Moved Help and Support
    6 Posts 4 Posters 3.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Fluffyhead69
      last edited by

      So I have recently got myself a pi3 and loaded the latest version of retropie to it. Emulators working good so far but one of the reasons I got the pi to begin with was to run kodi. I installed it via the menu to the ports category, I click it and press launch, screen goes black for a second then goes back to ports menu.

      I am really new to this and never used Linux before so not sure where to start looking for where the problem is.

      RascasR 1 Reply Last reply Reply Quote 0
      • RascasR
        Rascas @Fluffyhead69
        last edited by

        @Fluffyhead69 Launch Kodi and then post the output of /tmp/runcommand.log to something like pastebin and put the link here. Post also /home/pi/.kodi/temp/kodi.log

        1 Reply Last reply Reply Quote 0
        • R
          RickyEarl
          last edited by

          Posting with the same problem. When kodi installs, about 1/3 way through it starts saying "Failed to fetch.... size mismatch" with file after file. Kodi shows up in ports, but doesn't launch. My tmp/runcommand.log is one line:

          /opt/retropie/supplementary/runcommand/runcommand.sh: line 806: kodi: command not found

          I tried sudo apt-get purge kodi and I got "Package 'kodi' is not installed, so not removed"

          So I tried sudo apt-get install kodi. That got to "Get 45" then started saying this:

          E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/pillow/python-pil_2.6.1-2+deb8u2_armhf.deb Size mismatch

          Over and over for the rest of the install. Then it concluded with "E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"

          So I tried apt-get update and it gave me " Could not open lock file /var/lib/apt/lists/lock" and then asked "are you root?"

          Any ideas? Thanks!

          1 Reply Last reply Reply Quote 0
          • RascasR
            Rascas
            last edited by Rascas

            It must be something wrong with the instalation process in the scripts. Which version of RetroPie are you using ? Check in the RetroPie-Setup screen.
            @BuZz Please take a look at this when you can.

            @RickyEarl restart RetroPie and do:

            sudo apt-get update && sudo apt-get dist-upgrade -y
            sudo apt-get install kodi
            1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators
              last edited by BuZz

              Nothing I can help with really - There is nothing wrong with the installation script that I know of. Recommend sudo apt-get clean; sudo apt-get update; and trying again - looks like a Raspbian package didn't download completely.

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              1 Reply Last reply Reply Quote 0
              • R
                RickyEarl
                last edited by

                Hey, thanks for all the help, and thanks for the command lines, Rascas.

                When I ran sudo apt-get update && sudo apt-get dist-upgrade -y I got the same "failed to fetch" errors as when I tried to install kodi. Tried 20 times or so. It would get about 3/4 way through and start doing that.

                It just felt like a species of a "timeout" error to me. So, just to see, I took the pi downstairs and directly connected it to the modem. It went through both installs fine. So it's something to do with the wifi.

                Anyway, got kodi up and running - fantastic. Thanks!

                Now I have a weird problem where kodi cycles through launch over and over with the PS3 controller in - it goes from the black screen with the grey config box to the kodi background (the blue bubbles) and then bakc again, flashing errors at the bottom of the config screen so fast I can't read them. If I unplug the controller, Kodi starts without any issues. Once it's launched, it works with the controller fine, but won't exit, reboot, power down, or anything else unless I unplug the PS3 controller. It just cycles through the same thing as the launch over and over with errors at the bottom of the screen, like I am restarting it. The minute I unplug the controller everything works perfectly again.

                Works great with the keyboard, though. So my workaround for now is launch Kodi with the controller, wait for the Kodi bubble background, then unplug the controller. Then plug the controller in and unplug the controller to exit.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.