Screen not locking on closing laptop after update on Leap 15.6 XFCE

As in the title, the computer fails to go to sleep when I close the laptop.
It worked (usually) well until recently, after an update.
When I try to make it sleep manually, it answers “failure to lock screen”.
From what I found on the net, I need to install xfce4-screensaver-4 but when I try I get


Problème : 1: l'élément xfce4-screensaver-4.18.3-lp156.38.5.x86_64 à installer est en conflit avec 'xscreensaver' fourni par l'élément xscreensaver-6.08-150600.1.4.x86_64 installé
 Solution 1 : Les actions suivantes seront exécutées :
  désinstallation de xscreensaver-6.08-150600.1.4.x86_64
  désinstallation de xscreensaver-lang-6.08-150600.1.4.noarch
 Solution 2 : ne pas installer xfce4-screensaver-4.18.3-lp156.38.5.x86_64

So I didn’t install since if I’m not mistaken the version to install is older than the one currently installed.

So, what would be the solution ?

This are different packages so the versions are not related.

Oh, thanks.
But so, why are they conflicting ?
And is it really safe to replace the installed ones by the new one ?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.