• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Update Retropie Script failed, need credentials?

Scheduled Pinned Locked Moved Help and Support
script updateupdate
18 Posts 5 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.
  • M
    magicfly
    last edited by 30 Mar 2020, 18:06

    As usual, I update my raspberry with the latest packages...this time 4.5.18 i can't update because it says i need to supply my login information to git, see the screen attached. Thanks!!

    Immagine.png

    1 Reply Last reply Reply Quote 0
    • M
      marcoabm
      last edited by 31 Mar 2020, 00:34

      reading your error, i think that git starts to need user/password authentication to download this update. Do you have an account on github?

      1 Reply Last reply Reply Quote 0
      • I
        InfinityBeing
        last edited by 31 Mar 2020, 03:31

        Even if you do make or have an account, what's the next step?

        1 Reply Last reply Reply Quote 0
        • M
          mitu Global Moderator
          last edited by 31 Mar 2020, 04:02

          Updating should not ask for a Github account. Have you done any modifications to any of the files in the RetroPie-Setup folder ?

          M 1 Reply Last reply 31 Mar 2020, 05:09 Reply Quote 0
          • M
            magicfly @mitu
            last edited by 31 Mar 2020, 05:09

            @mitu Hi all! Yes I have GIT credentials..but i don't know how to tell them to Retropie to use them.
            Btw, i didn't modify any files inside the retropie. Fortunately i made a backup before that release..maybe i'll try later.
            Thanks everybody!

            1 Reply Last reply Reply Quote 0
            • B
              BuZz administrators
              last edited by BuZz 4 Jan 2020, 00:27 31 Mar 2020, 23:26

              Please cd to Retropie-Setup folder from terminal and do a git pull and post all output. And also output of git status

              I know how to fix this, but I'd like to see the cause.

              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

              M 1 Reply Last reply 1 Apr 2020, 17:21 Reply Quote 0
              • I
                InfinityBeing
                last edited by 1 Apr 2020, 00:34

                I ended up reformatting and starting from scratch. Now the only issue I have is trying to figure out why Cave Story has two entries (Cave Story.sh, and the folder CaveStory holding Doukutsu.exe), and how to hide the folder from ES. The game runs fine, but I don't want an entry that is completely unnecessary.

                M 1 Reply Last reply 1 Apr 2020, 03:43 Reply Quote 0
                • M
                  mitu Global Moderator @InfinityBeing
                  last edited by mitu 4 Jan 2020, 04:44 1 Apr 2020, 03:43

                  @InfinityBeing Post you EmulationStation system configuration file:

                  • check \\retropie\configs\all\emulationstation\es_systems.cfg, it might not exist
                  • /etc/emulationstation/es_systems.cfg

                  Get the file and post its contents on pastebin.com.

                  What image are you using to install ?

                  I 1 Reply Last reply 1 Apr 2020, 09:06 Reply Quote 0
                  • I
                    InfinityBeing @mitu
                    last edited by 1 Apr 2020, 09:06

                    @mitu I'm not installing anything, I've already installed everything and it runs fine. Like I said, there are 3 entries in my Ports when there are actually only two ports i've installed: VVVVVV and Cave Story. The latter has two entries because one is reading the .sh file, and the other is scanning the folder which has the .exe inside of it. How do I hide the folder with the .exe from view in the ports menu on ES?

                    1 Reply Last reply Reply Quote 0
                    • M
                      mitu Global Moderator
                      last edited by 1 Apr 2020, 10:31

                      Again, which image are you using to install ? RetroPie's default image doesn't exhibit this problem.

                      I 1 Reply Last reply 1 Apr 2020, 20:41 Reply Quote 0
                      • M
                        magicfly @BuZz
                        last edited by magicfly 4 Jan 2020, 18:27 1 Apr 2020, 17:21

                        @BuZz Hi, sorry for the late answer...i've been a bit busy on these days... this is what i get, i hope it's usefull:

                        from the git pull
                        remote: Enumerating objects: 22, done.
                        remote: Counting objects: 100% (22/22), done.
                        remote: Compressing objects: 100% (10/10), done.
                        remote: Total 22 (delta 14), reused 19 (delta 12), pack-reused 0
                        Unpacking objects: 100% (22/22), done.
                        From https://github.com/RetroPie/RetroPie-Setup
                        d737e15a..618cc844 master -> origin/master

                        *** Please tell me who you are.

                        Run

                        git config --global user.email "you@example.com"
                        git config --global user.name "Your Name"

                        to set your account's default identity.
                        Omit --global to set the identity only in this repository.

                        fatal: unable to auto-detect email address (got 'pi@retropie.(none)')

                        from the git status
                        On branch master
                        Your branch and 'origin/master' have diverged,
                        and have 1 and 7 different commits each, respectively.
                        (use "git pull" to merge the remote branch into yours)
                        Untracked files:
                        (use "git add <file>..." to include in what will be committed)

                            scriptmodules/supplementary/bluetooth/bluezutils.pyc
                        

                        nothing added to commit but untracked files present (use "git add" to track)

                        Thanks!!

                        edit: this is what i get now
                        5245b032-5b6d-4555-a0ad-9f5ff83f88d2-immagine.png

                        1 Reply Last reply Reply Quote 0
                        • M
                          mitu Global Moderator
                          last edited by 1 Apr 2020, 17:36

                          Run git reset --hard origin/master from the RetroPie-Setup folder and try again updating.

                          B 1 Reply Last reply 1 Apr 2020, 17:38 Reply Quote 0
                          • B
                            BuZz administrators
                            last edited by 1 Apr 2020, 17:37

                            What's the output of git log -n 1 - ? Once you've done that you can do

                            git checkout master; git reset --hard origin/master which should sort it.

                            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
                            • B
                              BuZz administrators @mitu
                              last edited by 1 Apr 2020, 17:38

                              @mitu I'd like to get the log info first. I was wondering if this may be due to them checking out that commit before it was squashed and force pushed.

                              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

                              M 1 Reply Last reply 1 Apr 2020, 17:39 Reply Quote 1
                              • M
                                magicfly @BuZz
                                last edited by magicfly 4 Jan 2020, 18:42 1 Apr 2020, 17:39

                                @BuZz said in Update Retropie Script failed, need credentials?:

                                @mitu I'd like to get the log info first. I was wondering if this may be due to them checking out that commit before it was squashed and force pushed.

                                this is what i get from git log -n 1

                                Author: cmitu 31816814+cmitu@users.noreply.github.com
                                Date: Tue Mar 24 04:55:31 2020 +0000

                                setup: add back the question for the install/update dialog
                                

                                and then:

                                git checkout master; git reset --hard origin/master
                                scriptmodules/admin/setup.sh: needs merge
                                error: you need to resolve your current index first
                                HEAD is now at 618cc844 lr-flycast - disable link time optimisation due to segfault with it enabled.

                                B 1 Reply Last reply 1 Apr 2020, 19:05 Reply Quote 0
                                • B
                                  BuZz administrators @magicfly
                                  last edited by BuZz 4 Jan 2020, 20:06 1 Apr 2020, 19:05

                                  @magicfly try git merge --abort first.

                                  Thanks for the info btw. You don't need to run the git log again.

                                  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
                                  • I
                                    InfinityBeing @mitu
                                    last edited by 1 Apr 2020, 20:41

                                    @mitu Like i said on the other post, literally 4.1.5, the one on the site. You are asking unrelated questions

                                    M 1 Reply Last reply 1 Apr 2020, 21:11 Reply Quote 0
                                    • M
                                      mitu Global Moderator @InfinityBeing
                                      last edited by 1 Apr 2020, 21:11

                                      @InfinityBeing I think your posts are unrelated to this topic. Please don't post here - you already have your own topic.
                                      Sorry for the noise on the topic @BuZz, @magicfly.

                                      1 Reply Last reply Reply Quote 0
                                      18 out of 18
                                      • First post
                                        18/18
                                        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.

                                        This community forum collects and processes your personal information.
                                        consent.not_received