Bug#930019: default-jre wants to uninstall sysvinit-core to install systemd
Trek
trek00 at inbox.ru
Thu Jul 18 11:21:43 BST 2019
On Wed, 17 Jul 2019 10:41:39 +0200
Emmanuel Bourg <ebourg at apache.org> 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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgtk-3-common-gsettings.patch
Type: text/x-patch
Size: 593 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20190718/da5acfa7/attachment.bin>
More information about the pkg-java-maintainers
mailing list