• 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

Chinese users packages install slow/fail

Scheduled Pinned Locked Moved Help and Support
retropie-setuppackage updatenetworkgit errorrepositories
18 Posts 5 Posters 1.5k 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.
  • B
    BuZz administrators @entropyriser
    last edited by 13 Apr 2022, 14:30

    @entropyriser have you tried using a VPN?

    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

    E 1 Reply Last reply 14 Apr 2022, 01:27 Reply Quote 0
    • E
      entropyriser @BuZz
      last edited by 14 Apr 2022, 01:27

      @BuZz Anyway it's illegal and costs money

      1 Reply Last reply Reply Quote 0
      • E
        entropyriser @mitu
        last edited by 15 Apr 2022, 07:05

        @mitu I am trying to edit the retropie_setup script to change the repo address to gitee.com's existing mirror.It works so well ! I cant believe my eyes.截图_2022-04-07_10-04-26.png
        Screenshot_2022-04-15_15-03-12.png
        But the work load for me is too heavy to change every script and clone them since I'm a student.Do you have solutions?

        M 1 Reply Last reply 15 Apr 2022, 07:15 Reply Quote 0
        • M
          mitu Global Moderator @entropyriser
          last edited by 15 Apr 2022, 07:15

          @entropyriser said in Chinese users packages install slow/fail:

          But the work load for me is too heavy to change every script and clone them since I'm a student.Do you have solutions?

          No, I don't have a solution. We're not going to add any mirroring options in the main project, so unless you or someone else is willing to create a fork (on gitee.com or somewhere closer) with the modifications needed, then I don't see the current situation improving for you.

          P 1 Reply Last reply 15 Apr 2022, 08:40 Reply Quote 0
          • P
            pjft @mitu
            last edited by 15 Apr 2022, 08:40

            @entropyriser Well, if everything is in gitee.com, I imagine that you could work out some simple command to replace github with gitee from the RetroPie-Setup folder - something like:

            grep -rl github *.sh | xargs sed -i 's/github/gitee/g'

            This is untested, but - if this works - this will very much break any updates you might want to make to RetroPie-Setup afterwards, and might break other things, as it'll (supposedly) blindly replace all occurrences of github to gitee - assuming the syntax is ok.

            ...@mitu could he not change his hostname file to resolve github.com to gitee.com instead?

            E M 2 Replies Last reply 15 Apr 2022, 11:35 Reply Quote 0
            • E
              entropyriser @pjft
              last edited by 15 Apr 2022, 11:35

              @pjft Thank you for your advice but only a few of the repos are now on gitee.com so I need to fork them one by one......I will try to manage it later.

              1 Reply Last reply Reply Quote 0
              • M
                mitu Global Moderator @pjft
                last edited by mitu 15 Apr 2022, 11:47

                @pjft said in Chinese users packages install slow/fail:

                ...@mitu could he not change his hostname file to resolve github.com to gitee.com instead?

                I don't think that will work, especially since:

                1. TLS needs a proper hostname/site to work.
                2. The URL syntax is not 100% compatible - i.e. github.com/libretro/RetroArch is mirrored on gitee.com/mirror/RetroArch, so an 1:1 match for the (github) repository name is not possible.
                E 1 Reply Last reply 16 Apr 2022, 04:18 Reply Quote 0
                • E
                  entropyriser @mitu
                  last edited by 16 Apr 2022, 04:18

                  @mitu If I work on the Chinese version of rpsetup,will it be added as a branch to the project?
                  Anyway I'll try later because it's impossible to install retropie on a PC now in China.

                  M 1 Reply Last reply 16 Apr 2022, 05:37 Reply Quote 0
                  • M
                    mitu Global Moderator @entropyriser
                    last edited by 16 Apr 2022, 05:37

                    @entropyriser said in Chinese users packages install slow/fail:

                    @mitu If I work on the Chinese version of rpsetup,will it be added as a branch to the project?

                    As I said, it's not up to me.
                    If it were, the answer would be no - it's not a technical problem that can be solved reliably from the RetroPie side and the majority of the programs installed by it are not under our control. Maintaining and supporting a different mirror/branch is additional work just to work-around your ISP blocking/throttling the rest of the internet. And this is not specific to RetroPie itself, but to other resources that depend on the 'external' internet being accessible and working reliably without interruptions.

                    1 Reply Last reply Reply Quote 1
                    • B
                      BuZz administrators
                      last edited by 16 Apr 2022, 11:20

                      Yeah sorry. This isn't going to happen. I agree with @mitu

                      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

                      E 1 Reply Last reply 17 Apr 2022, 05:54 Reply Quote 1
                      • E
                        entropyriser @BuZz
                        last edited by 17 Apr 2022, 05:54

                        @BuZz OK.I've tried to dynamically change the DNS server to visit github.com and successfully installed retropie on Ubuntu(amd64).Maybe I just need to post a solution on local forums to instruct others.

                        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