seduction
 Language:
Welcome, Guest. Please login or register.
Did you miss your activation email?
2019/11/14, 02:29:28


Help

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Systemd 240 breaks java (solved)  (Read 865 times)

0 Members and 1 Guest are viewing this topic.

Offline pit

  • User
  • Posts: 197
Systemd 240 breaks java (solved)
« on: 2018/12/23, 12:45:49 »
Don't upgrade systemd to version 240.
If you already did: Downgrade to 239 ...

Code: [Select]
sudo apt install libnss-myhostname=239-5.6 libnss-mymachines=239-5.6 libnss-systemd=239-5.6 libpam-systemd=239-5.6 libsystemd0=239-5.6 libudev-dev=239-5.6 libudev1=239-5.6 systemd=239-5.6 systemd-container=239-5.6 systemd-coredump=239-5.6 systemd-sysv=239-5.6 udev=239-5.6... and set those packages on hold
« Last Edit: 2018/12/23, 23:32:02 by pit »

Offline Penyelam

  • User
  • Posts: 140
Re: Systemd 240 breaks java
« Reply #1 on: 2018/12/23, 15:07:02 »
@pit, thanks a lot, that helped.

Is it really recommended to set those packages on hold or isn't it better just be patient and wait with the next DU?

Offline hsp

  • User
  • Posts: 506

Offline finotti

  • User
  • Posts: 101
Re: Systemd 240 breaks java
« Reply #3 on: 2018/12/23, 19:02:44 »
Don't upgrade systemd to version 240.
If you alreade did: Downgrade to 239 ...

Code: [Select]
sudo apt install libnss-myhostname=239-5.6 libnss-mymachines=239-5.6 libnss-systemd=239-5.6 libpam-systemd=239-5.6 libsystemd0=239-5.6 libudev-dev=239-5.6 libudev1=239-5.6 systemd=239-5.6 systemd-container=239-5.6 systemd-coredump=239-5.6 systemd-sysv=239-5.6 udev=239-5.6... and set those packages on hold

It does not work for me:
Code: [Select]
# apt -s install libnss-myhostname=239-5.6 libnss-mymachines=239-5.6 libnss-systemd=239-5.6 libpam-systemd=239-5.6 libsystemd0=239-5.6 libudev-dev=239-5.6 libudev1=239-5.6 systemd=239-5.6 systemd-container=239-5.6 systemd-coredump=239-5.6 systemd-sysv=239-5.6 udev=239-5.6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Version '239-5.6' for 'libnss-myhostname' was not found
E: Version '239-5.6' for 'libnss-mymachines' was not found
E: Version '239-5.6' for 'libnss-systemd' was not found
E: Version '239-5.6' for 'libpam-systemd' was not found
E: Version '239-5.6' for 'libsystemd0' was not found
E: Version '239-5.6' for 'libudev-dev' was not found
E: Version '239-5.6' for 'libudev1' was not found
E: Version '239-5.6' for 'systemd' was not found
E: Version '239-5.6' for 'systemd-container' was not found
E: Version '239-5.6' for 'systemd-coredump' was not found
E: Version '239-5.6' for 'systemd-sysv' was not found
E: Version '239-5.6' for 'udev' was not found
I do have testing repository enabled...  Is there anything else that needs to be done?

Offline jure

  • User
  • Posts: 520
Gruss Juergen

Offline pit

  • User
  • Posts: 197
Re: Systemd 240 breaks java
« Reply #5 on: 2018/12/23, 22:08:01 »
@finotti
Try activating the fixes repository
Code: [Select]
deb      https://packages.siduction.org/fixes unstable main contrib non-freeNow ...
Code: [Select]
sudo apt install libnss-myhostname=239-5.6 libnss-mymachines=239-5.6 libnss-systemd=239-5.6 libpam-systemd=239-5.6 libsystemd0=239-5.6 libudev-dev=239-5.6 libudev1=239-5.6 systemd=239-5.6 systemd-container=239-5.6 systemd-coredump=239-5.6 systemd-sysv=239-5.6 udev=239-5.6... should work.

Offline towo

  • Global Moderator
  • User
  • *****
  • Posts: 2.308
Re: Systemd 240 breaks java
« Reply #6 on: 2018/12/23, 23:01:57 »
There is no need for downgrading anything. Use the Fix from the linked bugreport.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917167#37
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline DeepDayze

  • User
  • Posts: 409
Re: Systemd 240 breaks java
« Reply #7 on: 2018/12/23, 23:14:19 »
The workaround in the bug report works for me and plasma starts fine, albeit a touch slower.

Offline pit

  • User
  • Posts: 197
Re: Systemd 240 breaks java
« Reply #8 on: 2018/12/23, 23:31:24 »
I can confirm that. Thx towo!

Offline DeepDayze

  • User
  • Posts: 409
Re: Systemd 240 breaks java (solved)
« Reply #9 on: 2018/12/23, 23:47:16 »
So Java apps work again with that fix? There was another thread about Java-based apps failing  because of this issue.

Offline towo

  • Global Moderator
  • User
  • *****
  • Posts: 2.308
Re: Systemd 240 breaks java (solved)
« Reply #10 on: 2018/12/24, 11:01:03 »
Sure, even java works again with that fix.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.