Hello everyone.

We have this remote desktop (with x2go-server running there):

 * Operating System: Kubuntu 20.04
 * KDE Plasma Version: 5.18.8
 * KDE Frameworks Version: 5.68.0
 * Qt Version: 5.12.8
 * Kernel Version: 5.4.0-147-generic
 * OS Type: 64-bit
 * Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
 * Memory: 62,8 GiB

During package update we got:

E: /var/cache/apt/archives/libx2go-server-perl_4.1.0.4-0~1975~ubuntu20.04.1_all.deb: trying to overwrite '/usr/share/man/man3/X2Go::Utils.3pm.gz', which is also in package libx2go-utils-perl 4.1.0.3-5
In particular:

debconf: unable to initialize frontend: Gnome
debconf: (Can't locate Gtk3.pm in @INC (you may need to install the Gtk3 module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 151, <> line 3.)
debconf: falling back to frontend: Dialog
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
(Reading database ... 162568 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)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of libx2go-server-db-perl:
 libx2go-server-db-perl depends on x2goserver-common (>= 4.1.0.4-0~1975~ubuntu20.04.1); however:
  Version of x2goserver-common on system is 4.1.0.3-5.

dpkg: error processing package libx2go-server-db-perl (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libx2go-log-perl:
 libx2go-log-perl depends on x2goserver-common (>= 4.1.0.4-0~1975~ubuntu20.04.1); however:
  Version of x2goserver-common on system is 4.1.0.3-5.

dpkg: error processing package libx2go-log-perl (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.9.1-1) ...
Errors were encountered while processing:
 libx2go-server-db-perl
 libx2go-log-perl
These were our upgradable packages

$ apt list --upgradable
Listing... Done
iptables/focal-updates,focal-updates 1.8.4-3ubuntu2.1 amd64 [upgradable from: 1.8.4-3ubuntu2] libip4tc2/focal-updates,focal-updates 1.8.4-3ubuntu2.1 amd64 [upgradable from: 1.8.4-3ubuntu2] libip6tc2/focal-updates,focal-updates 1.8.4-3ubuntu2.1 amd64 [upgradable from: 1.8.4-3ubuntu2] libssl1.1/focal-updates,focal-security,focal-updates,focal-security 1.1.1f-1ubuntu2.19 amd64 [upgradable from: 1.1.1f-1ubuntu2.18] libx2go-server-perl/focal,focal 4.1.0.4-0~1975~ubuntu20.04.1 all [upgradable from: 4.1.0.3-5] libxtables12/focal-updates,focal-updates 1.8.4-3ubuntu2.1 amd64 [upgradable from: 1.8.4-3ubuntu2] openssl/focal-updates,focal-security,focal-updates,focal-security 1.1.1f-1ubuntu2.19 amd64 [upgradable from: 1.1.1f-1ubuntu2.18] snapd/focal-updates,focal-security 2.58+20.04.1 amd64 [upgradable from: 2.58+20.04] tzdata/focal-updates,focal-updates,focal-updates,focal-updates 2023c-0ubuntu0.20.04.2 all [upgradable from: 2023c-0ubuntu0.20.04.1] x2goserver-common/focal 4.1.0.4-0~1975~ubuntu20.04.1 all [upgradable from: 4.1.0.3-5] x2goserver-x2goagent/focal 4.1.0.4-0~1975~ubuntu20.04.1 amd64 [upgradable from: 4.1.0.3-5]
Now this is the upgrade simulation:

 $ sudo apt-get --simulate upgrade
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 installed  libx2go-server-db-perl : Depends: x2goserver-common (>= 4.1.0.4-0~1975~ubuntu20.04.1) but 4.1.0.3-5 is 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 installed                        Depends: libx2go-server-db-perl (< 4.1.0.3-5.1~) but 4.1.0.4-0~1975~ubuntu20.04.1 is installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
And "apt --fix-broken install" did not solve anything:
$ sudo 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 libpq5 libswitch-perl libx2go-log-perl
  libx2go-server-db-perl libx2go-server-perl lsof pwgen
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
The following packages will be upgraded:
  libx2go-server-perl x2goserver-common
2 upgraded, 0 newly installed, 1 to remove and 9 not upgraded.
2 not fully installed or removed.
Need to get 0 B/132 kB of archives.
After this operation, 106 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LANG = "it_IT.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 162568 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)
So I tried:
sudo apt-mark hold x2go*
sudo apt-mark hold libx2go*
Result:
$ sudo apt-mark showhold
libx2go-config-perl
libx2go-log-perl
libx2go-server-db-perl
libx2go-server-perl
libx2go-utils-perl
x2goserver
x2goserver-common
x2goserver-x2goagent
x2goserver-xsession
No way, same issue there (despite apt-mark exclusions):
$ sudo apt upgrade
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 installed  libx2go-server-db-perl : Depends: x2goserver-common (>= 4.1.0.4-0~1975~ubuntu20.04.1) but 4.1.0.3-5 is 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 installed                        Depends: libx2go-server-db-perl (< 4.1.0.3-5.1~) but 4.1.0.4-0~1975~ubuntu20.04.1 is installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Any idea on how to fix that? Thanks in advance, and best regards, e.-
_______________________________________________
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Reply via email to