pcsx2 won't install // unable to locate package pcsx2-unstable
-
As the title says, PCSX2 from the experimental packages cannot be installed on Ubuntu 20.04.1, because even after reverting sdl2 and telling retropie-setup not to use its own version of sdl2, which should fix errors during the installation process, the installation won't even start, due to the package not being found.
Log started at: Thu 17 Dec 2020 11:29:51 PM CET
RetroPie-Setup version: 4.7.1 (0a2d608a)
System: x86 (x86_64) - Ubuntu 20.04.1 LTS - Linux mimic 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux= = = = = = = = = = = = = = = = = = = = =
Installing dependencies for 'pcsx2' : PS2 emulator PCSX2
= = = = = = = = = = = = = = = = = = = = =/home/pi/RetroPie-Setup/scriptmodules/emulators/pcsx2.sh: line 39: add-apt-repository: command not found
= = = = = = = = = = = = = = = = = = = = =
Installing 'pcsx2' : PS2 emulator PCSX2
= = = = = = = = = = = = = = = = = = = = =Hit:1 http://de.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package pcsx2-unstable
Unable to install binary for pcsx2Log ended at: Thu 17 Dec 2020 11:29:53 PM CET
Total running time: 0 hours, 0 mins, 2 secsThat is really unfortunate, as I specifically put together a Mini-ITX rig in order to play the great RPGs that were released for PS2, since my Pi 4B doesn't have enough power for that.
Any ideas on how to make the scriptmodule find the package? -
... and I found a solution.
add-apt-repository is a command that isn't always preinstalled, you might have to install it viasudo apt-get install software-properties-common
and then
sudo apt update
before being able to use it.
Afterwards, the script module is able to add a repository, and with that repository it will be able to locate the package.
Maybe installing add-apt-repository should be included in the base installation, since it is used for several packages?
-
@norstein said in pcsx2 won't install // unable to locate package pcsx2-unstable:
Maybe installing add-apt-repository should be included in the base installation, since it is used for several packages?
software-properties-common
is installed by any*-desktop
meta-package, what options did you choose during installation ?
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.