为了激活 Maple16,我需要安装 lsb-core 包。但是,我在 Syanptic 包管理器中找不到该包。我尝试通过下载 .deb 文件来安装它,但是当我运行 时sudo dpkg -i /home/foo/Downloads/lsb-core_4.1+Debian11ubuntu6_amd64.deb
,终端的输出是
(Reading database ... 178439 files and directories currently installed.)
Preparing to unpack .../lsb-core_4.1+Debian11ubuntu6_amd64.deb ...
Unpacking lsb-core (4.1+Debian11ubuntu6) over (4.1+Debian11ubuntu6) ...
dpkg: dependency problems prevent configuration of lsb-core:
lsb-core depends on lsb-security (>= 4.1+Debian11ubuntu6); however:
Package lsb-security is not installed.
dpkg: error processing package lsb-core (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
lsb-core
我如何安装这个包?
答案1
lsb-core
似乎刚刚被重新添加到 Ubuntu 16.04(Xenial Xerus)。
答案2
出于绝望,我下载并安装了适用于 Ubuntu 14.04 的 lsb-core 包,看这里,这有效,因为现在我可以激活 Maple。
答案3
对于 Ubuntu 16.04,sudo apt-get install lsb-core
对我来说刚刚好用。要检查 LSB 版本,请执行lsb_release
答案4
仅供参考,对于任何使用 Hamachi (或其他人) 寻找此内容的人:发现了这个:
sudo add-apt-repository "deb http://cz.archive.ubuntu.com/ubuntu trusty main"
sudo apt-get update
sudo apt-get install lsb-core