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

    Installation av retropie fails on Ubuntu 22.04 x86_64

    Scheduled Pinned Locked Moved Help and Support
    problem installx86-64ubuntu 22.04lts
    7 Posts 2 Posters 1.2k 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
      frossmant
      last edited by

      Trying to install retropi in latest Ubuntu version 22.04.

      When doing a basic installation using retropie_setup.sh I get two errors at the end.

      "Error running 'git checkout master' - returned error 128"
      "Error running 'git checkout master' - returned error 128"
      

      looking at the logs i see that some checkout fails.

      git clone --recursive --depth 1 --shallow-submodules --branch master "https://github.com/libretro/retroarch-joypad-autoconfig.git" "/home/retropie/RetroPie-Setup/tmp/build/retroarch/autoconfigs"
      Cloning into '/home/retropie/RetroPie-Setup/tmp/build/retroarch/autoconfigs'...
      HEAD is now in branch 'master' at commit 'f8fdb2f45eaa334d282b46ff9f5fd2efc0856b13'
      Copying new default configuration to /opt/retropie/configs/all/retroarch.cfg.rp-dist
      Error running 'git checkout master' - returned 128
      Error running 'git checkout master' - returned 128
      

      Any suggestions ?

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Can you post a larger portion of the install log (or maybe the entire log) on pastebin.com ?
        The errors reported at the end may come from an earlier installation step. The messages before the errors are from RetroArch's installation - if you run the installation again, do you get the same errors at the end ?

        F 3 Replies Last reply Reply Quote 0
        • F
          frossmant @mitu
          last edited by

          @mitu I've downgraded to ubuntu 20.04 and still has some issues so i'l get back to you :)

          Those errors are probably due to some earlier installations as you said.

          I've found out one major problem in both 22.04 and 20.04 though regarding installing the retropi-manager web ui.

          it's dependent on the python-dev package that isn't available any longer in ubuntu.

          it should probably try to install python2-dev instead of failing.

          1 Reply Last reply Reply Quote 0
          • F
            frossmant @mitu
            last edited by

            @mitu seems to be working now after I've reinstalled the latest ubuntu again. must have been some data leftovers in the build directory I guess.

            1 Reply Last reply Reply Quote 0
            • F
              frossmant @mitu
              last edited by

              @mitu the retropie-manager still doesn't work due to package dependencies so I will install that manually from GitHub.

              should probably be looked into though.

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @frossmant
                last edited by

                @frossmant said in Installation av retropie fails on Ubuntu 22.04 x86_64:

                should probably be looked into though.

                Sadly, RetroPie web manager is an orphaned project. It was added (from a snapshot) to the RetroPie's list of repository when the original author deleted their Github account and the project itself, just so the few users that were using it to be able to continue using it. We may be able to fix the dependencies for now, but in the future this might not be an option.

                I see that someone started a fork to improve it, but migration to Python3 is still a TODO item on their list.

                F 1 Reply Last reply Reply Quote 0
                • F
                  frossmant @mitu
                  last edited by

                  @mitu yeah maybe it's not worth looking into that project. I see that I get issues with python right now :)

                  If the original project is abandon it might be better to start something new perhaps.

                  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.