可以在 Ubuntu 20.04 LTS 上安装 lanmessenger 吗?

可以在 Ubuntu 20.04 LTS 上安装 lanmessenger 吗?

在之前的 Ubuntu 版本(例如 18.04 LTS)上,我可以安装局域网通讯

但是在现代的 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.

答案1

这是因为旧 libssl1.0.0 包的问题,但可以通过以下解决方法安装 LAN Messenger:

cd ~/Downloads
wget -c https://github.com/lanmessenger/lanmessenger/releases/download/v1.2.37/lmc_1.2.37_x86_64_min.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb

sudo apt-get install ./libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb
sudo apt-get install libqt5multimedia5

sudo apt-get install ./lmc_1.2.37_x86_64_min.deb

答案2

以上答案很好,但是,libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb这个包不存在(我收到 404 错误)

为了解决这个问题我使用了以下步骤

cd ~/Downloads
wget -c https://github.com/lanmessenger/lanmessenger/releases/download/v1.2.37/lmc_1.2.37_x86_64_min.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.8_amd64.deb

sudo apt-get install ./libssl1.0.0_1.0.2n-1ubuntu5.8_amd64.deb --fix-broken
sudo apt-get install libqt5multimedia5

sudo apt-get install ./lmc_1.2.37_x86_64_min.deb

相关内容