Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8026

Gaming • Re: Cannot Install Dosbox-staging due to missing dependencies

$
0
0
RetroPie appears to have stopped providing bootable images several years ago, and the Buster distribution that it's based on reached end of life in September 2022. It is consequently very out of date. I would look at some other gaming distribution if at all possible, but I don't know which to recommend.

I do have a Buster system still running, however, and it seems that your /etc/apt/sources.list should probably look something like this:

Code:

deb http://archive.raspberrypi.org/debian/ buster maindeb http://legacy.raspbian.org/raspbian/ buster main contrib non-free rpi
With this in place, and no other files in /etc/apt/sources.list.d/, I can sudo apt update and locate the libopusfile-dev and libsdl2-net-dev packages the OP was needing.

This change was announced in November:
Another couple of years have passed, another Debian release cycle has happened, and buster has taken it's place on legacy.raspbian.org to make room for forky. It will be removed from the main mirrors soon.
Thank you so much for helping. When I updated my sources list with what you put and tried again, I got the following:

Did not find needed dependencies: libopusfile-dev libsdl2-net-dev libsdl2-image-dev. Trying to install them now.
Err:1 http://legacy.raspberrypi.org/raspbian buster InRelease
Something wicked happened resolving 'legacy.raspberrypi.org:http' (-5 - No address associated with hostname)
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists...
W: Failed to fetch http://legacy.raspberrypi.org/raspbian/ ... /InRelease Something wicked happened resolving 'legacy.raspberrypi.org:http' (-5 - No address associated with hostname)
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libopusfile-dev
E: Unable to locate package libsdl2-net-dev
E: Unable to locate package libsdl2-image-dev
Could not install package(s): libopusfile-dev libsdl2-net-dev libsdl2-image-dev.

Statistics: Posted by ExtraLife_Mike — Wed Dec 10, 2025 12:44 pm



Viewing all articles
Browse latest Browse all 8026

Trending Articles