I was using X2Go succesfully on my Xubuntu laptop, but after running apt upgrades it is all screwed up and I can neither use it nor purge it, nor use APT for anything else.
*me@laptop:~$ sudo -A apt purge x2goserver Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libx2go-log-perl : Depends: x2goserver-common (>= 4.1.0.4-0~1975~ubuntu20.04.1) but 4.1.0.3-5 is to be installed libx2go-server-db-perl : Depends: x2goserver-common (>= 4.1.0.4-0~1975~ubuntu20.04.1) but 4.1.0.3-5 is to be installed libx2go-server-perl : Depends: libx2go-log-perl (< 4.1.0.3-5.1~) but 4.1.0.4-0~1975~ubuntu20.04.1 is to be installed Depends: libx2go-server-db-perl (< 4.1.0.3-5.1~) but 4.1.0.4-0~1975~ubuntu20.04.1 is to be installed x2goserver-extensions : Depends: x2goserver (< 4.1.0.3-5.1~) but it is not going to be installed Depends: x2goserver (>= 4.1.0.3-5) but it is not going to be installed x2goserver-fmbindings : Depends: x2goserver (< 4.1.0.3-5.1~) but it is not going to be installed Depends: x2goserver (>= 4.1.0.3-5) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). me@laptop:~$*
Doing as suggested:
*me@laptop:~$ sudo -A apt --fix-broken install;*
*Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: *
libcapture-tiny-perl libconfig-simple-perl libdbd-pg-perl libdbd-sqlite3-perl libdbi-perl libfile-which-perl*
libnx-x11-6libpq5 libswitch-perl libx2go-log-perl libx2go-server-db-perl libx2go-server-perl libxcomp3*
libxcompshad3 linux-headers-5.4.0-147 linux-headers-5.4.0-147-genericlinux-image-5.4.0-147-generic linux-modules-5.4.0-147-generic*
linux-modules-extra-5.4.0-147-generic nx-x11-commonnxagent pwgen x2goserver-common x2goserver-x2goagent*
*Use 'sudo apt autoremove' to remove them.*
*The following additional packages will be installed: libx2go-server-perl x2goserver-common The following packages will be REMOVED: libx2go-utils-perl x2goserver-extensions x2goserver-fmbindings The following packages will be upgraded: libx2go-server-perl x2goserver-common 2 upgraded, 0 newly installed, 3 to remove and 1 not upgraded. 2 not fully installed or removed. Need to get 0 B/132 kB of archives. After this operation, 3,072 B disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 261284 files and directories currently installed.) Preparing to unpack .../libx2go-server-perl_4.1.0.4-0~1975~ubuntu20.04.1_all.deb ... Unpacking libx2go-server-perl (4.1.0.4-0~1975~ubuntu20.04.1) over (4.1.0.3-5) ... dpkg: error processing archive /var/cache/apt/archives/libx2go-server-perl_4.1.0.4-0~1975~ubuntu20.04.1_all.deb (--unpack): trying to overwrite '/usr/share/man/man3/X2Go::Utils.3pm.gz', which is also in package libx2go-utils-perl 4.1.0.3-5 Errors were encountered while processing: /var/cache/apt/archives/libx2go-server-perl_4.1.0.4-0~1975~ubuntu20.04.1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) me@laptop:~$*
I seem to keep getting the same error with ANY use of apt now.
How can I fix this?
*me@laptop:~$ lsb_release -a*
*No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal*