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

    mirrorservice.org cannot be contacted

    Scheduled Pinned Locked Moved Help and Support
    rpi4update issuessh
    9 Posts 4 Posters 812 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.
    • T
      Tomstar2000
      last edited by

      Hi,
      I've done a fresh install of retropie (latest image) and been trying to perform update via:
      "sudo apt-get dist-upgrade" via SSH

      During the process I get a number of failed fetches due to (1 example):
      Failed to fetch http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian/pool/main/p/publicsuffix/publicsuffix_20211109.1735-0+deb10u1_all.deb
      Cannot initiate the connection to www.mirrorservice.org:80 (2001:630:341:12::184). - connect (101: Network is unreachable)

      Is there a way to use another connection to update?
      Or is this something that will resolve itself over time?

      1 Reply Last reply Reply Quote 0
      • windgW
        windg
        last edited by

        Try to update the system from RetroPie Menu. Check the RetroPie docs : https://retropie.org.uk/docs/Updating-RetroPie/

        My English isn't at a good level.

        1 Reply Last reply Reply Quote 0
        • T
          Tomstar2000
          last edited by

          @windg
          I've tried that also, it runs into the same error and is then bypassed by the update command and continues with core updates. All cores successfully update, but the underlying kernel/OS fails due to this connection error.

          1 Reply Last reply Reply Quote 0
          • T
            Tomstar2000
            last edited by

            This is the full response to the upgrade request:
            https://pastebin.com/fDhtN0sk

            Oddly some other upgrade components have successfully downloaded, the request starts at 63% before these errors generate.

            1 Reply Last reply Reply Quote 0
            • T
              Tomstar2000
              last edited by

              So on further investigation it looks like my ISP is blocking mirrorservice.org
              I can connect to the site via VPN, but not directly.

              Is there any way to run the updates through VPN on retropie?

              1 Reply Last reply Reply Quote 0
              • T
                Tomstar2000
                last edited by

                Or anyway to change the url that "sudo apt-get dist-upgrade" uses?

                S 1 Reply Last reply Reply Quote 0
                • S
                  sleve_mcdichael @Tomstar2000
                  last edited by

                  @Tomstar2000 said in mirrorservice.org cannot be contacted:

                  Or anyway to change the url that "sudo apt-get dist-upgrade" uses?

                  Is that what /etc/apt/sources.list is?

                  deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
                  # Uncomment line below then 'apt-get update' to enable 'apt-get source'
                  #deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
                  
                  1 Reply Last reply Reply Quote 0
                  • T
                    Tomstar2000
                    last edited by

                    @sleve_mcdichael
                    Thanks, yes this led me down the right path!

                    I updated the url in there from one from the following site:
                    https://www.raspbian.org/RaspbianMirrors

                    It now seems to be upgrading packages correctly :)

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

                      The issue seems to be the mirror chosen supports IPv6 and the PI tries to connect via IPv6 to it, then fails. Changing the mirror may work, but you can also configure apt to use IPv4 only - see here.

                      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.