debian jessie 中的 openjdk-6-jre-headless 依赖项

debian jessie 中的 openjdk-6-jre-headless 依赖项

我试图在 debian jessie 上安装 flowvisor。但我收到以下错误:

The following packages have unmet dependencies:
flowvisor : Depends: openjdk-6-jre-headless which is a virtual package.

但我已经安装了这些软件包:

default-jre-headless
openjdk-7-jre-headless
libjpeg8

那么接下来我应该安装什么?谢谢!

答案1

如图所示八重洲,该软件包取决于openjdk-6-jre-headlessDebian Jessie 中不可用的软件包。它在 Debian不稳定版中可用,因此如果您确实想要的话,可以从那里安装它,但建议请求一个新的软件包flowvisor更好(OpenJDK 6很旧,我不知道它的安全支持有多好)。

与此同时,您可以使用equivs构建一个假包来openjdk-7-jre-headless代替:

# as root
apt-get install equivs

# as yourself
equivs-control openjdk-6-jre-headless.control

编辑生成的openjdk-6-jre-headless.control文件,使其包含以下内容:

### Commented entries have reasonable defaults.
### Uncomment to edit them.
Source: openjdk-6
Section: java
Priority: optional
# Homepage: <enter URL here; no default>
Standards-Version: 3.9.6

Package: openjdk-6-jre-headless
Version: 7u79-2.5.5-1
Maintainer: Your Name <[email protected]>
Depends: openjdk-7-jre-headless
Architecture: all
# Copyright: <copyright file; defaults to GPL2>
# Changelog: <changelog file; defaults to a generic changelog>
# Readme: <README.Debian file; defaults to a generic one>
# Extra-Files: <comma-separated list of additional files for the doc directory>
# Files: <pair of space-separated paths; First is file to include, second is destination>
#  <more pairs, if there's more than one file to include. Notice the starting space>
Description: OpenJDK Java runtime, using Hotspot JIT (headless)
 Minimal Java runtime - needed for executing non GUI Java programs,
 using Hotspot JIT.
 .
 The packages are built using the IcedTea build support and patches
 from the IcedTea project.
 .
 This dummy package depends on OpenJDK 7.

(替换行中的值Maintainer:)。然后生成虚拟包:

 equivs-build openjdk-6-jre-headless.control

并安装它:

 # as root
 dpkg -i openjdk-6-jre-headless_7u79-2.5.5-1_all.deb

然后您应该能够安装flowvisor.如果它不明确使用openjdk-6路径,它应该可以正常工作。

答案2

该包明确依赖openjdk-6-jre-headlessopenjdk-6它已从 Debian jessie 版本中删除。据说它必须依赖来default-jre-headless解决问题。

Debian 没有 flowvisor 的官方软件包。您可能会从提到的第 3 方存储库中检索这里。您可以自行修改和重建jessie的源包,或者联系包维护者索取。

相关内容