[Impact]

The bug prevents users from installing libsdl2:i386 on 64-bit systems
with newer graphics stack (in particular, libwayland-egl1-mesa-lts-*
package).

32-bit libsdl2 is usually needed for games or gaming console emulators,
or Wine, or some proprietary software which only comes in 32-bit
packages.

The debdiff which is attached to this report contains the patch which fixes the 
problem.
It makes libsdl2 explicitly depend on virtual package libwayland-egl1 which is 
provided by libwayland-egl1-mesa and all libwayland-egl1-mesa-lts-* packages.
That allows installing libsdl2:i386 with any graphics stacks available in 
Trusty repos.

[Test Case]

Steps to reproduce:

- have 64-bit Trusty installation with some new graphics stack
- install libsdl2-2.0-0
- try to install libsdl2-2.0-0:i386

Expected result:

- libsdl2-2.0-0:i386 is installed successfully

What really happens:

- apt-get shows error message about unmet dependencies:

The following packages have unmet dependencies:
 libsdl2-2.0-0:i386 : Depends: libwayland-egl1-mesa:i386 (>= 10.0.2) or
                               libwayland-egl1:i386
E: Unable to correct problems, you have held broken packages

Apparently, apt-get always chooses to install libwayland-egl1-mesa:i386 which 
is impossible as libwayland-egl1-mesa-lts-*:amd64 is installed, so 
libwayland-egl1-mesa-lts-*:i386 is needed instead.
That's why explicit dependency on libwayland-egl1 (virtual package) is added in 
the patch.

[Regression Potential]

I've tested the patch with the graphics stack from Wily before, and now also 
tested with Xenial's stack.
It works fine with both.

The patch only adds one new dependency on a virtual package which is already 
provided in all graphics stacks.
I don't think there could be a place for regressions there.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1536081

Title:
  libsdl2:i386 isn't installable on 64-bit systems with newer graphics
  stack

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1536081/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to