Bug 375010 - libxkbcommon0 fails to update for users with wine-staging installed
Summary: libxkbcommon0 fails to update for users with wine-staging installed
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-13 17:04 UTC by S. Christian Collins
Modified: 2018-09-28 09:42 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
i386 build of libxkbcommon0 (100.71 KB, application/octet-stream)
2017-02-10 09:51 UTC, Jan-Marek Glogowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Christian Collins 2017-01-13 17:04:13 UTC
For users with wine installed, today's user edition update to libxkbcommon0 0.7.0 causes a dependency error and refuses to install. It appears to be due to libxkbcommon0:i386 missing in the updated NEON packages.
Comment 1 S. Christian Collins 2017-01-13 17:33:59 UTC
Looking into this further, libxkbcommon0:i386 looks like it gets pulled in by wine as a recommended package rather than a required one. Wine successfully installs *after* upgrading libxkbcommon0, just without installing libxkbcommon0:i386.

The bigger issue, IMO, is users getting stuck with the unresolvable dependency and not knowing what to do.
Comment 2 S. Christian Collins 2017-01-13 17:51:08 UTC
Another update: It appears to only be the "wine-staging" version (https://launchpad.net/~wine/+archive/ubuntu/wine-builds) that tries to pull in libxkbcommon0:i386 via libgtk-3-0:i386. This appears to be used for the GTK theming ability unique to the wine staging version.

So, there will probably be relatively few neon users who actually run into this dependency issue, and for those who do, the easy solution is to just remove libgtk-3-0:i386 and then "sudo apt dist-upgrade". There is the possibility that this will break GTK theming in Wine, but that feature seems to work pretty badly with the Breeze theme anyway.
Comment 3 Jan-Marek Glogowski 2017-02-10 09:51:22 UTC
Created attachment 103946 [details]
i386 build of libxkbcommon0

Just updated my user KDE Neon yesterday. I still got skipped updates for libxkbcommon-dev, libxkbcommon-x11-0:amd64, libxkbcommon0:amd64 and libxkbcommon0:i386, which didn't bother me until I logged into the updated system.

Window decorations were missing. First I suspected those Wayland Qt 5.8 bug, but dpkg still confirmed Qt 5.7. Then I wanted to dump the kwin information using qdbus, which failed due to a missing org.kde.KWin interface. Turned out kwin_x11 was not running!

Manually starting kwin_x11 showed a missing library / symbols in libxkbcommon related libs.

So I manually build an i386 version of libxkbcommon, which is attached for the bug.

Easiest installation is "dpkg -i libxkbcommon0_0.7.0-1+16.04+build2_i386.deb" + "apt-get -f install".
Comment 4 Jan-Marek Glogowski 2017-02-10 09:58:17 UTC
But independently from the i386 problem, the update of kwin(-x11?) should have failed, as it needs symbols from the newer libxkbcommon0, so I guess kwin misses a versioned dependency on libxkbcommon0.
Comment 5 Jan-Marek Glogowski 2017-02-10 10:07:18 UTC
And as sitter pointed out: Debian symbol files quite probably would have caught this problem, but they're quite a lot of work to maintain especially when you use  CI build system, so Neon don't provide them.
Comment 6 Harald Sitter 2018-09-28 09:42:51 UTC
Should not be the case with 18.04 anymore