在以前的 Ubuntu 版本(如 18.04 LTS)上,我能够安装LAN Messenger。
但在现代 Ubuntu 20.04 LTS 上,无法安装它并显示以下消息:
cd ~/Downloads
wget -c https://github.com/lanmessenger/lanmessenger/releases/download/v1.2.37/lmc_1.2.37_x86_64_min.deb
sudo apt-get install ./lmc_1.2.37_x86_64_min.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'lmc' instead of './lmc_1.2.37_x86_64_min.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
lmc : Depends: libssl1.0.0 but it is not installable
E: Unable to correct problems, you have held broken packages.
发生这种情况是因为旧的 libssl1.0.0 软件包存在问题,但 LAN Messenger 可以通过以下解决方法安装:
上面的答案工作正常,但是libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb这个包不存在(我收到 404 错误)
为了解决这个问题,我使用了以下步骤