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

    Error installing Retropie on Ubuntu 16.04

    Scheduled Pinned Locked Moved Help and Support
    ubunturetropiedebdebian
    8 Posts 4 Posters 2.8k 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.
    • D
      darcalus
      last edited by

      Hello all, i'm having some strange difficulties installing retropie on Ubuntu 16.04

      i am using the official instructions from https://retropie.org.uk/docs/Debian/

      I am receiving the following errors :

      "Could not successfully build sdl2 - SDL (Simple DirectMedia Layer) v2.x (/home/darcalus/retropie/RetroPie-Setup/tmp/build/sdl2/libsdl2-dev_2.0.5+5_amd64.db not found)."

      and

      "Could not successfully build emulationstation - EmulationStation - Frontend used by RetroPie for launching emulators (/home/darcalus/retropie/RetroPie-Setup/tmp/build/emulationstation/emulationstation not found)."

      anyone have an idea as to why it isn't downloading the files necessary to complete the installation?

      thanks!

      1 Reply Last reply Reply Quote 0
      • P
        pachimari99
        last edited by

        Same problem here. Could be something wrong with the build as I didn't have this problem several days ago.

        1 Reply Last reply Reply Quote 0
        • P
          pachimari99
          last edited by pachimari99

          Try Manually installing the packages
          Also this:

          @waylanderpk said in SDL Build Error with on Linux Mint 18.2 Sonya:

          I edited
          scriptmodules/helpers.sh: local own_sdl2=1
          to
          scriptmodules/helpers.sh: local own_sdl2=0

          This just uses the default sdl2 installed on the system. Seems to work ok

          BuZzB 1 Reply Last reply Reply Quote 0
          • S
            snowcherry
            last edited by snowcherry

            Yes, this is an error that has to be fixed I think. When trying to update my Retropie, I also get the following error:

            = = = = = = = = = = = = = = = = = = = = =
            Installing dependencies for 'mame4all' : MAME emulator MAME4All-Pi
            = = = = = = = = = = = = = = = = = = = = =
            
            Did not find needed package(s): libsdl1.2-dev. I am trying to install them now.
            
            = = = = = = = = = = = = = = = = = = = = =
            Installing 'sdl1' : SDL 1.2.15 with rpi fixes and dispmanx
            = = = = = = = = = = = = = = = = = = = = =
            
            --2017-08-08 16:49:22--  https://files.retropie.org.uk/binaries/stretch/rpi3/libsdl1.2debian_1.2.15-12rpi_armhf.deb
            Resolving files.retropie.org.uk (files.retropie.org.uk)... 93.93.129.253, 2a00:1098:0:80:1000:57:0:1
            Connecting to files.retropie.org.uk (files.retropie.org.uk)|93.93.129.253|:443... connected.
            HTTP request sent, awaiting response... 404 Not Found
            2017-08-08 16:49:23 ERROR 404: Not Found.
            
            --2017-08-08 16:49:23--  https://files.retropie.org.uk/binaries/stretch/rpi3/libsdl1.2-dev_1.2.15-12rpi_armhf.deb
            Resolving files.retropie.org.uk (files.retropie.org.uk)... 93.93.129.253, 2a00:1098:0:80:1000:57:0:1
            Connecting to files.retropie.org.uk (files.retropie.org.uk)|93.93.129.253|:443... connected.
            HTTP request sent, awaiting response... 404 Not Found
            2017-08-08 16:49:23 ERROR 404: Not Found.
            
            dpkg: error: cannot access archive 'libsdl1.2debian_1.2.15-12rpi_armhf.deb': No such file or directory
            

            This error only turned up recently. I believe the problem is in scriptmodules/helpers.sh:
            (I have libsdl1.2-dev and libsdl2-dev installed by the way)

            # workaround to force installation of our fixed libsdl1.2 and custom compiled libsdl2
                    local temp=()
                    for required in ${packages[@]}; do
                        if isPlatform "rpi" && [[ "$required" == "libsdl1.2-dev" ]]; then
                            if [[ "$__has_binaries" -eq 1 ]]; then
                                rp_callModule sdl1 install_bin
                            else
                                rp_callModule sdl1
                            fi
                        elif [[ "$required" == "libsdl2-dev" && "$own_sdl2" == "1" ]]; then
                            if [[ "$__has_binaries" -eq 1 ]]; then
                                rp_callModule sdl2 install_bin
                            else
                                rp_callModule sdl2
                            fi
                        else
                            temp+=("$required")
                        fi
                    done
                    packages=("${temp[@]}")
            

            Which forces the installation of some custom libsdl1.2-dev and libsdl2-dev packages (on Raspberry Pi this is always forced and on other devices you can turn this off with own_sdl2=0 )

            When trying to download these custom packages, the retropie.org.uk server returns a 404.

            Maybe @herb_fargus can have a look at this.

            BuZzB 1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators @snowcherry
              last edited by BuZz

              @snowcherry Debian/Raspbian stretch is not yet supported by RetroPie. (on the rpi)

              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

              S 1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators @pachimari99
                last edited by

                @pachimari99 To disable our custom SDL you don't need to edit any code. Just set own_sdl = "0" in /opt/retropie/configs/all/retropie.cfg

                If someone who is getting a failed SDL build posts a full build log (via pastebin or so), I will be able to advise further. It should built fine, but I believe sometimes it fails due to some other dev packages being installed that causes SDL to build in some non needed features (which also can break the build).

                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
                • S
                  snowcherry @BuZz
                  last edited by snowcherry

                  @buzz Thanks for letting me know! But isn't everyone who simply updated their Retropie and selected "yes" on the dialog to update Raspbian packages (which I believe does apt-get upgrade --dist-upgrade) already on Raspbian Stretch?

                  Is there an estimated time when Stretch will be supported by Retropie? (e.g. are we talking weeks or months?)

                  BuZzB 1 Reply Last reply Reply Quote 0
                  • BuZzB
                    BuZz administrators @snowcherry
                    last edited by BuZz

                    @snowcherry no. Updating packages alone won't update Raspbian version.

                    Raspbian stretch is not yet released officially afaik.

                    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
                    • 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.