[SOLVED] EmulationStation crash after turning off DS4/PS4 controller
-
Note, selecting 'libsdl2-2.0-0' for regex 'libsdl2-2.0.0' Reinstallation of libsdl2-2.0-0 is not possible, it cannot be downloaded.
-
@Panja Do you have any custom repositories added ? Run an
apt-get update
before trying the re-install. -
@mitu
I have the following repo's added:
ubuntu-x-swat
ubuntu UniverseApt update has been run of course.
-
@Panja Then there's a problem with one of your extra repositories - leave just the Ubuntu ones, update and re-try.
-
I have disabled both the repo's but still cannot re-install SDL.
-
@Panja Can you install any other package ? What's the output of:
apt-cache policy libsdl2-2.0-0
-
Yes, installing other packages is no problem.
libsdl2-2.0-0: Installed: 2.0.9+1 Candidate: 2.0.9+1 Version table: *** 2.0.9+1 100 100 /var/lib/dpkg/status 2.0.8+dfsg1-1ubuntu1.18.04.3 500 500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 2.0.8+dfsg1-1ubuntu1 500 500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
-
@Panja Try
sudo apt-get install --reinstall libsdl2-2.0-0=2.0.8+dfsg1-1ubuntu1.18.04.3
or download the package directly and install it with
dpkg -i <pkg.deb>
. -
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.0.9+1) but 2.0.8+dfsg1-1ubuntu1.18.04.3 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
-
@Panja Remove the
-dev
package, you can install it later on from the repository. -
sudo apt remove libsdl2-dev sudo apt-get install --reinstall libsdl2-2.0-0=2.0.8+dfsg1-1ubuntu1.18.04.3 sudo apt install libsdl2-dev
I now have:
ii libsdl2-2.0-0:amd64 2.0.8+dfsg1-1ubuntu1.18.04.3 amd64 Simple DirectMedia Layer
Gonna have a try with the controllers later on, when I'm actually at the machine itself.
Will report back! -
I can confirm: downgrading SDL to v2.0.8 solved my problem!
Thanks for the help, as always. :-)
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.