Ubuntu 19.04 issues
-
Same here. I can't yet reproduce the issues above and I removed all SDL2 dependencies.
-
I will install a fresh 19.04 in a vm to test though.
-
Did anyone post a log? Didn't see one but it may save time to see what the fail was on 19.04.
-
@BuZz I don't think there was anything besides the SDL2 dependency and the other posters confirmed it was working fine once that is fixed.
I don't have the Debian Buster system that exhibited the problems at hand, but for the 19.04 I didn't get any errors during installation. I bumped the SDL2 version insdl2.sh
before starting the basic installation. -
@mitu I'd like to see the full log from any 2.0.8 SDL install fail as it's working here without bumping the version.
-
Hi,
1./ Bumped from 2.0.8 to 2.0.9 using Ubuntu 19.04 and it does indeed solves this issue.
However, when doing an 'sudo apt update', I get:
The following packages have unmet dependencies:
libsdl2-2.0-0 : Breaks: libsdl2-2.0-0:i386 (!= 2.0.9+1) but 2.0.9+dfsg1-1ubuntu1 is installed
libsdl2-2.0-0:i386 : Breaks: libsdl2-2.0-0 (!= 2.0.9+dfsg1-1ubuntu1) but 2.0.9+1 is installed
libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.0.9+dfsg1-1ubuntu1) but 2.0.9+1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).Running 'sudo apt --fix-broken install' would NOT solve the issue:
dpkg: error processing archive /var/cache/apt/archives/libsdl2-2.0-0_2.0.9+dfsg1-1ubuntu1_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libsdl2-2.0-0/copyright', which is different from other instances of package libsdl2-2.0-0:amd64
Errors were encountered while processing:
/var/cache/apt/archives/libsdl2-2.0-0_2.0.9+dfsg1-1ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)2./ Using latest Pop!_OS 19.04, I also get the following error messages at the end of a basic install:
Could not install package(s): libxkbcommon-dev libusb-1.0-0-dev libvulkan-dev libavcodec-dev libavformat-dev libavdevice-dev nvidia-cg-toolkit libfreeimage-dev libfreetype6-dev libcurl4-openssl-dev cmake libvlc-dev libvlccore-dev vlc rapidjson-dev mc feh cmake libsamplerate0-dev libspeexdsp-dev libpng-dev libglew-dev libboost-filesystem-dev nasm flex bison libpng-dev libglew-dev nasm libpng-dev
Any suggestions please?
-
@tchuyev said in Ubuntu 19.04 issues:
Any suggestions please?
Have you followed @buzz's advice to modify the
/opt/retropie/configs/all/retropie.cfg
file ? This should make use of the distro's packages forlibSDL
, so there shouldn't be any conflict. -
Thanks, running this set of commands solved all of my issues:
$ sudo sed --in-place 's/2.0.8/2.0.9/g' $HOME/Git/Retropie-Setup/scriptmodules/supplementary/sdl2.sh $ echo "own_sdl2=\"0"\" >> /opt/retropie/configs/all/retropie.cfg $ sudo rm /usr/share/doc/libsdl2-2.0-0/copyright $ sudo apt remove libsdl2-dev $ sudo apt --fix-broken install $ sudo apt autoremove $ sudo ./retropie_setup.sh (Basic install)
-
I finally got around to installing this directly on my laptop (Kubuntu 19.04) last night and may tonight setup my desktop.
To clarify on @tchuyev post listed above;
If you're doing a clean install, setup your OS first and then run:
echo "own_sdl2="0"" >> /opt/retropie/configs/all/retropie.cfg
And everything should be hunky dory doing a basic install at that point.If you skip that step and start the basic install (which i lol did) youll need to run because retroarch will fail to compile:
sudo apt remove libsdl2-dev
then if you havnt already:
echo "own_sdl2="0"" >> /opt/retropie/configs/all/retropie.cfg
And your basic install, or retroarch itself should be ok.I didn't have to use the sed command at any point, nor did i have to --fix broken install. Im assuming that these may be required if you're upgrading?
So far all normal cores work fine and even Dolphin as well as PCSX2 1.5.0 (dev) from the PPA.
-
@tchuyev please send me a full log as it's working on my 19.04. check logs folder under RetroPie-Setup
I can fix this with a full log without having to do a new install but no-one has provided one yet.
-
Ok. Actually I just worked it out from your snippet above and apt-cache.
So now libavdevice58 has a dependency on the SDL version included with Ubuntu. Probably overly strict to require that specific version. May report this upstream.
I will maybe just use 2.0.9 for x11 targets and default to off as mentioned earlier.
Imho this is a packaging error. Makes it impossible even to use a newer SDL2 too.
-
Please can you try this
https://github.com/RetroPie/RetroPie-Setup/pull/2696
I threw it together quickly but solves the issue with retroarch dependencies for me.
-
@BuZz Id love to help, but i have absolutely no idea what to do with that...It would be easy for me to set up a clean VM and test what you did, but im clueless as to what to do with that link.
Edit: Fail
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.