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

    RetroPie update failed - Error running 'git checkout master' - returned 1

    Scheduled Pinned Locked Moved Help and Support
    update failedupdate error
    5 Posts 4 Posters 1.1k 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.
    • C
      Cyas
      last edited by

      When updating RetroPie, I receive the following:

      Error running 'git checkout master' - returned 1

      Looking at the log, I see the following:

      = = = = = = = = = = = = = = = = = = = = =
      Getting sources for 'retropie-manager' : Web Based Manager for RetroPie files and configs based on the Recalbox Manager
      = = = = = = = = = = = = = = = = = = = = =

      error: pathspec 'master' did not match any file(s) known to git.
      Already up-to-date.
      /home/pi
      Error running 'git checkout master' - returned 1

      Any help on finding a resolution would be much appreciated!

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

        Please add more info about your system as requested in https://retropie.org.uk/forum/topic/3/read-this-first. It seems your retropie-manager installation has a problem - did you modify the folder where it's installed ? Try removing the package before updating and re-installing it afterwards.

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

          It's possible due to some recent changes. Choose the clear source option and try again. I'll test when I have a chance as it may need a minor change

          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
          • Z
            zaebas
            last edited by

            I have the same problem with my Retropie.

            Where can I find "clear source option" ?

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

              This is fixed now if you update retropie-setup.

              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.