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

    Having issues installing steamlink on retropie

    Scheduled Pinned Locked Moved Help and Support
    steamlinkssddeskpimoonlightkodi
    11 Posts 2 Posters 952 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.
    • A
      ale.garcia.bon
      last edited by ale.garcia.bon

      I'm using a deskPi PRO case from geekpi with an SSD. I mention this because I'm following a tutorial I've followed before for installing steamlink on retropie from ETA Prime where I had no issues with a micro SD card.

      Since then I installed a new retropie image (v4.8) to the SSD and performed an update as instructed. However when I attempt to install steamlink exp package, I get an error

      Could not install package(s): python3-devmatchbox-window-manager xorg zenity

      I looked for other people who got the error and found this post where 2 users claim to solve the issue by entering the command line and using these 2 commands

      sudo dpkg --configure -a
      sudo apt update
      

      However when I attempt the first line I get an error: sudo: dpkg command not found.

      I re-downloaded and reimaged the SSD and same issue persists and I actually can't install any packages. For example Kodi also does not work, it just says that it can't install the binary. I'm connected to internet via LAN and am able to download themes and update, so it's not an internet issue I believe.

      Thanks in advance, below I tried filling out the template for questions.


      Pi Model or other hardware: (B, B+, 2 B, 3, X86 PC etc..) B
      Power Supply used: (If using a Pi) 1 x QC 3.0 Power Supply from deskpi
      RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.8
      Built From: (Pre made SD Image on RetroPie website, Berryboot, or on top of existing OS etc.. - please provide the filename of any image used) retropie-buster-4.8-rpi4_400.img
      USB Devices connected: Logitech keyboard
      Controller used: Nintendo Switch PRO
      Error messages received:
      When installing steamlink exp package:
      Could not install package(s): python3-devmatchbox-window-manager xorg zenity

      When installing moonlight:
      Could not install package(s): libsl-dev libopus-dev etc etc etc

      When installing Kodi:
      Can't install binary

      Verbose log (if relevant):
      Guide used: (Mention if you followed a guide)

      from ETA prime
      File: (File with issue - with FULL path)
      Emulator: (Name of emulator - if applicable)
      Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)
      How to replicate the problem: Installing a package

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

        @ale-garcia-bon said in Having issues installing steamlink on retropie:

        However when I attempt the first line I get an error: sudo: dpkg command not found.

        That's strange, because dpkg is part of the base system of Raspberry Pi OS and should be present on any image - no packages would install without it.

        I re-downloaded and reimaged the SSD and same issue persists and I actually can't install any packages. For example Kodi also does not work, it just says that it can't install the binary. I'm connected to internet via LAN and am able to download themes and update, so it's not an internet issue I believe.

        Were you able to update also the RetroPie-Setup script ?
        Can you re-try the steamlink installation and then post the contents of the installation log file, which can be found in $HOME/RetroPie-Setup/logs (should be the most recent log file in that folder).

        A 1 Reply Last reply Reply Quote 0
        • A
          ale.garcia.bon @mitu
          last edited by

          @mitu
          Thanks for getting back to me, I haven't had the chance to figure this out.
          I was able to update the retropie setup script as shown in the video tutorial, it didn't error out or anything and yes it seems I can't install any packages (can't install Kodi or moonlight either). I even swapped out the SSD for an SD card and I'm still getting the same issue.

          I found the log file, I'm trying to attach it but it says I don't have the permissions to do that. Instead I uploaded to my g-drive.
          https://drive.google.com/file/d/1T8ogRGDDWc5YLMb3qPlgY6xzEpMDR_ZI/view?usp=sharing

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

            The log file shows your internet connection is not fully working. Packages cannot be installed because apt cannot connect to the archive.raspberrypi.org site, where some of the packages are stored:

            ...
            Err:1 http://archive.raspberrypi.org/debian buster/main armhf gtk-update-icon-cache armhf 3.24.5-1+rpt2
              Temporary failure resolving 'archive.raspberrypi.org'
            Err:2 http://archive.raspberrypi.org/debian buster/main armhf libcairo-gobject2 armhf 1.16.0-4+rpt1+deb10u1
              Temporary failure resolving 'archive.raspberrypi.org'
            Err:3 http://archive.raspberrypi.org/debian buster/main armhf gstreamer1.0-plugins-good armhf 1.14.4-1+rpt1+deb10u2
              Temporary failure resolving 'archive.raspberrypi.org'
            Err:4 http://archive.raspberrypi.org/debian buster/main armhf libgtk-3-common all 3.24.5-1+rpt2
              Temporary failure resolving 'archive.raspberrypi.org'
            Err:5 http://archive.raspberrypi.org/debian buster/main armhf libgtk-3-0 armhf 3.24.5-1+rpt2
              Temporary failure resolving 'archive.raspberrypi.org'
            Err:6 http://archive.raspberrypi.org/debian buster/main armhf x11-xserver-utils armhf 7.7+8+rpt1
              Temporary failure resolving 'archive.raspberrypi.org'
            ...
            

            I think other packages have downloaded since the install says it only those few packages from archive.raspberrypi.org:

            ...
            10 upgraded, 105 newly installed, 0 to remove and 138 not upgraded.
            Need to get 14.4 MB/133 MB of archives
            

            Are you able to open http://archive.raspberrypi.org/ from your PC or other device which is on the same network with the Pi ?

            A 1 Reply Last reply Reply Quote 0
            • A
              ale.garcia.bon @mitu
              last edited by

              @mitu
              I'm able to enter and browse the site on the same connection, I was able to download a couple files as well on this computer.

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

                Do you have something like PiHole installed on the Pi ? I've seen some situations where this affects the name resolution (DNS) on the Pi itself leading to issues like this.
                If you run ping archive.raspberrypi.org from the Pi itself, does it work ?

                A 1 Reply Last reply Reply Quote 0
                • A
                  ale.garcia.bon @mitu
                  last edited by

                  @mitu
                  I don't have piHole installed.
                  I ran the ping test and didn't lose packets, I attached the results of the test.

                  alt text

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

                    That's strange, since apt reports it can't find the host. If you run

                    apt install x11-xserver-utils
                    

                    from the command line, does it work ?

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      ale.garcia.bon @mitu
                      last edited by

                      @mitu
                      When I ran the command it gave me a permission denied error.
                      I ran it again with sudo and it did run.

                      When I attempted to install steamlink this time it gave a different error, just saying it can't install the binary.

                      alt text

                      I uploaded the log in g-drive in case it's useful.
                      https://drive.google.com/file/d/1Ou5tGZtWZxt6QGUQ-nJjQAKKwATyv55s/view?usp=sharing

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

                        Looking at the log, it seems you have the same issue.
                        The dependent packages are installed from archive.raspberrypi.org:

                        ....
                        Need to get 14.3 MB/132 MB of archives.
                        After this operation, 278 MB of additional disk space will be used.
                        Get:1 http://archive.raspberrypi.org/debian buster/main armhf gtk-update-icon-cache armhf 3.24.5-1+rpt2 [80.5 kB]
                        Get:2 http://archive.raspberrypi.org/debian buster/main armhf libcairo-gobject2 armhf 1.16.0-4+rpt1+deb10u1 [124 kB]
                        Get:3 http://archive.raspberrypi.org/debian buster/main armhf gstreamer1.0-plugins-good armhf 1.14.4-1+rpt1+deb10u2 [2,741 kB]
                        Get:4 http://archive.raspberrypi.org/debian buster/main armhf libgtk-3-common all 3.24.5-1+rpt2 [3,680 kB]
                        Get:5 http://archive.raspberrypi.org/debian buster/main armhf libgtk-3-0 armhf 3.24.5-1+rpt2 [2,136 kB]
                        Get:6 http://archive.raspberrypi.org/debian buster/main armhf xserver-common all 2:1.20.4-1+rpt4+deb10u6 [2,235 kB]
                        Get:7 http://archive.raspberrypi.org/debian buster/main armhf xserver-xorg-core armhf 2:1.20.4-1+rpt4+deb10u6 [3,280 kB]
                        apt-listchanges: Reading changelogs..
                        ...
                        

                        but when it comes to the steamlink package itself, it cannot be downloaded (with the same error of Temporary failure resolving 'archive.raspberrypi.org'):

                        ...
                        The following NEW packages will be installed:
                          steamlink
                        0 upgraded, 1 newly installed, 0 to remove and 138 not upgraded.
                        Need to get 28.1 kB of archives.
                        After this operation, 74.8 kB of additional disk space will be used.
                        Err:1 http://archive.raspberrypi.org/debian buster/main armhf steamlink armhf 1.0.12
                          Temporary failure resolving 'archive.raspberrypi.org'
                        E: Failed to fetch http://archive.raspberrypi.org/debian/pool/main/s/steamlink/steamlink_1.0.12_armhf.deb  Temporary failure resolving 'archive.raspberrypi.org'
                        E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
                        ...
                        

                        Looks like your DNS resolver stops responding after a while.

                        A 1 Reply Last reply Reply Quote 1
                        • A
                          ale.garcia.bon @mitu
                          last edited by ale.garcia.bon

                          @mitu
                          Guess I'll just live without packages, thanks man.

                          Edit:
                          I got it to work, I managed to install Kodi and steamlink!

                          You were right it was something with the DNS settings, I changed it to 8.8.8.8 using this guide through terminal and it just immediately worked.

                          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.