<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello everyone. <br>
</p>
<p>We have this remote desktop (with x2go-server running there):</p>
<ul>
<li>Operating System: Kubuntu 20.04</li>
<li>KDE Plasma Version: 5.18.8</li>
<li>KDE Frameworks Version: 5.68.0</li>
<li>Qt Version: 5.12.8</li>
<li>Kernel Version: 5.4.0-147-generic</li>
<li>OS Type: 64-bit</li>
<li>Processors: 12 × AMD Ryzen 5 3600 6-Core Processor</li>
<li>Memory: 62,8 GiB</li>
</ul>
<p>During package update we got:</p>
<p>
<blockquote type="cite">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</blockquote>
In particular:</p>
<p>
<blockquote type="cite">debconf: unable to initialize frontend:
Gnome<br>
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.)<br>
debconf: falling back to frontend: Dialog<br>
debconf: unable to initialize frontend: Dialog<br>
debconf: (Dialog frontend will not work on a dumb terminal, an
emacs shell buffer, or without a controlling terminal.)<br>
debconf: falling back to frontend: Readline<br>
(Reading database ... 162568 files and directories currently
installed.)<br>
Preparing to unpack
.../libx2go-server-perl_4.1.0.4-0~1975~ubuntu20.04.1_all.deb ...<br>
Unpacking libx2go-server-perl (4.1.0.4-0~1975~ubuntu20.04.1)
over (4.1.0.3-5) ...<br>
dpkg: error processing archive
/var/cache/apt/archives/libx2go-server-perl_4.1.0.4-0~1975~ubuntu20.04.1_all.deb
(--unpack):<br>
trying to overwrite '/usr/share/man/man3/X2Go::Utils.3pm.gz',
which is also in package libx2go-utils-perl 4.1.0.3-5<br>
Errors were encountered while processing:<br>
/var/cache/apt/archives/libx2go-server-perl_4.1.0.4-0~1975~ubuntu20.04.1_all.deb<br>
E: Sub-process /usr/bin/dpkg returned an error code (1)<br>
A package failed to install. Trying to recover:<br>
dpkg: dependency problems prevent configuration of
libx2go-server-db-perl:<br>
libx2go-server-db-perl depends on x2goserver-common (>=
4.1.0.4-0~1975~ubuntu20.04.1); however:<br>
Version of x2goserver-common on system is 4.1.0.3-5.<br>
<br>
dpkg: error processing package libx2go-server-db-perl
(--configure):<br>
dependency problems - leaving unconfigured<br>
dpkg: dependency problems prevent configuration of
libx2go-log-perl:<br>
libx2go-log-perl depends on x2goserver-common (>=
4.1.0.4-0~1975~ubuntu20.04.1); however:<br>
Version of x2goserver-common on system is 4.1.0.3-5.<br>
<br>
dpkg: error processing package libx2go-log-perl (--configure):<br>
dependency problems - leaving unconfigured<br>
Processing triggers for man-db (2.9.1-1) ...<br>
Errors were encountered while processing:<br>
libx2go-server-db-perl<br>
libx2go-log-perl</blockquote>
These were our upgradable packages<br>
</p>
<p>
<blockquote type="cite">$ apt list --upgradable<br>
Listing... Done<br>
iptables/focal-updates,focal-updates 1.8.4-3ubuntu2.1 amd64
[upgradable from: 1.8.4-3ubuntu2]<br>
libip4tc2/focal-updates,focal-updates 1.8.4-3ubuntu2.1 amd64
[upgradable from: 1.8.4-3ubuntu2]<br>
libip6tc2/focal-updates,focal-updates 1.8.4-3ubuntu2.1 amd64
[upgradable from: 1.8.4-3ubuntu2]<br>
libssl1.1/focal-updates,focal-security,focal-updates,focal-security
1.1.1f-1ubuntu2.19 amd64 [upgradable from: 1.1.1f-1ubuntu2.18]<br>
libx2go-server-perl/focal,focal 4.1.0.4-0~1975~ubuntu20.04.1 all
[upgradable from: 4.1.0.3-5]<br>
libxtables12/focal-updates,focal-updates 1.8.4-3ubuntu2.1 amd64
[upgradable from: 1.8.4-3ubuntu2]<br>
openssl/focal-updates,focal-security,focal-updates,focal-security
1.1.1f-1ubuntu2.19 amd64 [upgradable from: 1.1.1f-1ubuntu2.18]<br>
snapd/focal-updates,focal-security 2.58+20.04.1 amd64
[upgradable from: 2.58+20.04]<br>
tzdata/focal-updates,focal-updates,focal-updates,focal-updates
2023c-0ubuntu0.20.04.2 all [upgradable from:
2023c-0ubuntu0.20.04.1]<br>
x2goserver-common/focal 4.1.0.4-0~1975~ubuntu20.04.1 all
[upgradable from: 4.1.0.3-5]<br>
x2goserver-x2goagent/focal 4.1.0.4-0~1975~ubuntu20.04.1 amd64
[upgradable from: 4.1.0.3-5]<br>
</blockquote>
Now this is the upgrade simulation:<br>
</p>
<p>
<blockquote type="cite"> $ sudo apt-get --simulate upgrade<br>
Reading package lists... Done<br>
Building dependency tree <br>
Reading state information... Done<br>
You might want to run 'apt --fix-broken install' to correct
these.<br>
The following packages have unmet dependencies:<br>
libx2go-log-perl : Depends: x2goserver-common (>=
4.1.0.4-0~1975~ubuntu20.04.1) but 4.1.0.3-5 is installed<br>
libx2go-server-db-perl : Depends: x2goserver-common (>=
4.1.0.4-0~1975~ubuntu20.04.1) but 4.1.0.3-5 is installed<br>
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<br>
Depends: libx2go-server-db-perl (<
4.1.0.3-5.1~) but 4.1.0.4-0~1975~ubuntu20.04.1 is installed<br>
E: Unmet dependencies. Try 'apt --fix-broken install' with no
packages (or specify a solution).</blockquote>
And "apt --fix-broken install" did not solve anything:<br>
<blockquote type="cite">$ sudo apt --fix-broken install<br>
Reading package lists... Done<br>
Building dependency tree <br>
Reading state information... Done<br>
Correcting dependencies... Done<br>
The following packages were automatically installed and are no
longer required:<br>
libcapture-tiny-perl libconfig-simple-perl libdbd-pg-perl
libdbd-sqlite3-perl libdbi-perl libfile-which-perl libpq5
libswitch-perl libx2go-log-perl<br>
libx2go-server-db-perl libx2go-server-perl lsof pwgen<br>
Use 'sudo apt autoremove' to remove them.<br>
The following additional packages will be installed:<br>
libx2go-server-perl x2goserver-common<br>
The following packages will be REMOVED:<br>
libx2go-utils-perl<br>
The following packages will be upgraded:<br>
libx2go-server-perl x2goserver-common<br>
2 upgraded, 0 newly installed, 1 to remove and 9 not upgraded.<br>
2 not fully installed or removed.<br>
Need to get 0 B/132 kB of archives.<br>
After this operation, 106 kB of additional disk space will be
used.<br>
Do you want to continue? [Y/n] y<br>
perl: warning: Setting locale failed.<br>
perl: warning: Please check that your locale settings:<br>
LANGUAGE = "",<br>
LC_ALL = (unset),<br>
LANG = "it_IT.UTF-8"<br>
are supported and installed on your system.<br>
perl: warning: Falling back to the standard locale ("C").<br>
locale: Cannot set LC_CTYPE to default locale: No such file or
directory<br>
locale: Cannot set LC_MESSAGES to default locale: No such file
or directory<br>
locale: Cannot set LC_ALL to default locale: No such file or
directory<br>
(Reading database ... 162568 files and directories currently
installed.)<br>
Preparing to unpack
.../libx2go-server-perl_4.1.0.4-0~1975~ubuntu20.04.1_all.deb ...<br>
Unpacking libx2go-server-perl (4.1.0.4-0~1975~ubuntu20.04.1)
over (4.1.0.3-5) ...<br>
dpkg: error processing archive
/var/cache/apt/archives/libx2go-server-perl_4.1.0.4-0~1975~ubuntu20.04.1_all.deb
(--unpack):<br>
trying to overwrite '/usr/share/man/man3/X2Go::Utils.3pm.gz',
which is also in package libx2go-utils-perl 4.1.0.3-5<br>
Errors were encountered while processing:<br>
/var/cache/apt/archives/libx2go-server-perl_4.1.0.4-0~1975~ubuntu20.04.1_all.deb<br>
E: Sub-process /usr/bin/dpkg returned an error code (1)</blockquote>
So I tried:
<blockquote type="cite">sudo apt-mark hold x2go*<br>
sudo apt-mark hold libx2go*</blockquote>
Result:
<blockquote type="cite">$ sudo apt-mark showhold<br>
libx2go-config-perl<br>
libx2go-log-perl<br>
libx2go-server-db-perl<br>
libx2go-server-perl<br>
libx2go-utils-perl<br>
x2goserver<br>
x2goserver-common<br>
x2goserver-x2goagent<br>
x2goserver-xsession<br>
</blockquote>
No way, same issue there (despite apt-mark exclusions):
<blockquote type="cite">$ sudo apt upgrade<br>
Reading package lists... Done<br>
Building dependency tree <br>
Reading state information... Done<br>
You might want to run 'apt --fix-broken install' to correct
these.<br>
The following packages have unmet dependencies:<br>
libx2go-log-perl : Depends: x2goserver-common (>=
4.1.0.4-0~1975~ubuntu20.04.1) but 4.1.0.3-5 is installed<br>
libx2go-server-db-perl : Depends: x2goserver-common (>=
4.1.0.4-0~1975~ubuntu20.04.1) but 4.1.0.3-5 is installed<br>
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<br>
Depends: libx2go-server-db-perl (<
4.1.0.3-5.1~) but 4.1.0.4-0~1975~ubuntu20.04.1 is installed<br>
E: Unmet dependencies. Try 'apt --fix-broken install' with no
packages (or specify a solution).</blockquote>
Any idea on how to fix that? Thanks in advance, and best regards,
e.-<br>
</p>
</body>
</html>