Having issues installing steamlink on retropie
-
@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 thesteamlink
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). -
@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 -
The log file shows your internet connection is not fully working. Packages cannot be installed because
apt
cannot connect to thearchive.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 ?
-
@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. -
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 runping archive.raspberrypi.org
from the Pi itself, does it work ? -
@mitu
I don't have piHole installed.
I ran the ping test and didn't lose packets, I attached the results of the test. -
That's strange, since
apt
reports it can't find the host. If you runapt install x11-xserver-utils
from the command line, does it work ?
-
@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.
I uploaded the log in g-drive in case it's useful.
https://drive.google.com/file/d/1Ou5tGZtWZxt6QGUQ-nJjQAKKwATyv55s/view?usp=sharing -
Looking at the log, it seems you have the same issue.
The dependent packages are installed fromarchive.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.
-
@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.
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.