Hi Enrico,
I just tried to reproduce your issue.
What Mihai (ionic) pointed out to me is that you had a mix of X2Go packages from Ubuntu itself and from the X2Go stable PPA.
So I tried adding the stable PPA to an Ubuntu 20.04 machine that has been running X2Go stock from the Ubuntu repositories.
I was able to add the PPA, I was able to run apt update, but when I tried
apt install -d x2goserver x2goserver-xsession
it started throwing errors already. But it did not break the existing installation.
Trying
apt full-upgrade -d
I got a clear warning that several packages with x2go in their name would be uninstalled if I decided to continue.
Sooo ... I'm really wondering how you could get your system into that state?
Things that might be helpful in debugging the issue: The output of
grep -r x2go /etc/apt/sources.list*
(as this will show all x2go-related repositories you are using)
as well as
cat /var/log/apt/history.log
and, if your log rotation has already moved 2023-05-31's entries into the gzipped archive logs,
zcat $(ls -1 -r /var/log/apt/history.log.?.gz)
The "Commandline" entries should show exactly which apt commands you ran that got you into this mess.
Kind Regards, Stefan Baur
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243