我已经在 ubuntu 14.04 LTS 机器(i386 - 64 位)上安装了 Xilinx 14.7。但我无法运行 lmgrd(用于启动许可证服务器)。
当我在 Google 上搜索这个问题时,我发现需要安装 lsb-core 包。但是这个包有很多依赖项,我想知道如何安装 lsb-core 包以及所有必要的依赖项。谢谢你的帮助
运行时sudo apt-get install lsb-core
我得到以下输出:
Package lsb-core is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'lsb-core' has no installation candidate
所以我lsb-core
从下载了包http://packages.ubuntu.com/trusty/misc/lsb-core网站并用于sudo dpkg -i ./lsb-core_4.1+Debian11ubuntu6_i386.deb
安装它
通过这样做,我得到了以下输出
Selecting previously unselected package lsb-core.
(Reading database ... 163205 files and directories currently installed.)
Preparing to unpack .../lsb-core_4.1+Debian11ubuntu6_i386.deb ...
Unpacking lsb-core (4.1+Debian11ubuntu6) ...
dpkg: dependency problems prevent configuration of lsb-core:
lsb-core depends on libc6 (>> 2.3.5).
lsb-core depends on libz1.
lsb-core depends on libncurses5.
lsb-core depends on libpam0g.
lsb-core depends on lsb-invalid-mta (>= 4.1+Debian11ubuntu6) | mail-transport-agent.
lsb-core depends on at.
lsb-core depends on binutils.
lsb-core depends on cron | cron-daemon.
lsb-core depends on libc6-dev | libc-dev.
lsb-core depends on locales.
lsb-core depends on m4.
lsb-core depends on mailx | mailutils.
lsb-core depends on ncurses-term.
lsb-core depends on pax.
lsb-core depends on psmisc.
lsb-core depends on alien (>= 8.36).
lsb-core depends on python3.
lsb-core depends on lsb-security (>= 4.1+Debian11ubuntu6).
lsb-core depends on time.
dpkg: error processing package lsb-core (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.6.7.1-1) ...
Errors were encountered while processing:
lsb-core
I am unable to install gdebi. On running `sudo apt-get install gdebi`
I got the following output:
Package gdebi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is
only available from another source
E: Package 'gdebi' has no installation candidate
I want to know how to install `lsb-core` package with all the necessary dependencies in one go.
答案1
尝试通过如下方法安装:
sudo apt-get update
sudo apt-get install gdebi
wget http://mirrors.kernel.org/ubuntu/pool/main/l/lsb/lsb-core_4.1+Debian11ubuntu6_i386.deb
sudo gdebi lsb-core_4.1+Debian11ubuntu6_i386.deb
答案2
sudo apt-get upgrade
sudo apt-get lsb-core
sudo apt-get update
sudo apt-get upgrade
在不受限制地访问互联网的情况下执行上述操作解决了我的问题。