On Wed, 17 Jul 2019 10:41:39 +0200
Emmanuel Bourg <[email protected]> wrote:
> I suspect openjdk-11 ends up pulling libpam-systemd in its dependency
> graph, which triggers #926316.
going up the reverse dependency tree it happens:
libpam-systemd (is needed by)
dbus-user-session
dconf-service
dconf-gsettings-backend
libgtk-3-common
libgtk-3-0
openjdk-11-jre
default-jre
so to resolve the issue, you have three options:
1. openjdk-11-jre depends on libgtk2.0-0 or libgtk-3-0, so to fix it
you can install libgtk2.0-0 and not libgtk-3-0
2. libgtk-3-common depends on dconf-gsettings-backend or
gsettings-backend (provided by gconf-gsettings-backend), so you can
install libgtk-3-0 and gconf-gsettings-backend without
dconf-gsettings-backend
3. dconf-service depends on default-dbus-session-bus or
dbus-session-bus (provided by dbus-x11), again you can install
dbus-x11 instead of dbus-user-session and it will not require systemd
actually I prefer a fourth option, but it require a small patch to the
libgtk-3-0 binary package, to remove gsettings-backend from dependencies
and it runs fine, showing this message:
GLib-GIO-Message: 11:19:12.298: Using the 'memory' GSettings backend.
Your settings will not be saved or shared with other applications.
to apply the patch (attached) you should do as user:
fakeroot
apt download libgtk-3-common
dpkg-deb -R libgtk-3-common_3.24.5-1_all.deb libgtk-3-common
patch -d libgtk-3-common -p1 <libgtk-3-common-gsettings.patch
dpkg -b libgtk-3-common
and then you can install it as root:
dpkg -i libgtk-3-common.deb
this issue affects any application that depends on gtk3 if systemd is
not the installed
I hope this can help you
ciao!
diff -urN a/DEBIAN/control b/DEBIAN/control
--- a/DEBIAN/control 2019-02-05 18:02:24.000000000 +0100
+++ b/DEBIAN/control 2019-07-18 12:05:28.739714053 +0200
@@ -1,11 +1,10 @@
Package: libgtk-3-common
Source: gtk+3.0
-Version: 3.24.5-1
+Version: 3.24.5-1++fix
Architecture: all
Maintainer: Debian GNOME Maintainers <[email protected]>
Installed-Size: 24939
-Depends: dconf-gsettings-backend | gsettings-backend
-Recommends: libgtk-3-0
+Recommends: libgtk-3-0, dconf-gsettings-backend | gsettings-backend
Section: misc
Priority: optional
Multi-Arch: foreign
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.