Debian Jessie:依赖性问题阻止配置 libkrb5support0:amd64

Debian Jessie:依赖性问题阻止配置 libkrb5support0:amd64

我正在使用操作系统运行 docker 容器

PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

我正在尝试安装openjdk-8-jdk

它在我的 apt 源配置存储库中绝对可用

# apt search openjdk-8-jdk
Sorting... Done
Full Text Search... Done
openjdk-8-jdk/unstable 8u275-b01-1 amd64
  OpenJDK Development Kit (JDK)

openjdk-8-jdk-headless/unstable 8u275-b01-1 amd64
  OpenJDK Development Kit (JDK) (headless)

当我尝试安装它时,出现错误

Processing triggers for libc-bin (2.19-18+deb8u10) ...
dpkg: dependency problems prevent configuration of libkrb5support0:amd64:
 libkrb5support0:amd64 depends on libc6 (>= 2.25); however:
  Package libc6:amd64 is not configured yet.

dpkg: error processing package libkrb5support0:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libk5crypto3:amd64:
 libk5crypto3:amd64 depends on libc6 (>= 2.25); however:
  Package libc6:amd64 is not configured yet.
 libk5crypto3:amd64 depends on libkrb5support0 (>= 1.16); however:
  Package libkrb5support0:amd64 is not configured yet.

dpkg: error processing package libk5crypto3:amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libkrb5support0:amd64
 libk5crypto3:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

我已经尝试过解决方案,但它不起作用并给了我错误

# dpkg --configure --pending
dpkg: error: parsing file '/var/lib/dpkg/status' near line 244 package 'libk5crypto3:amd64':
 Config-Version for package with inappropriate Status

在这种情况下我还可以检查什么?

答案1

Debian Jessie (8) 自 6 月 20 日起已停产。

openjdk-8-jdk需要 GLIBC 2.25 或更高版本,但 Jessie 只有 2.19,这还不够。您可以从源代码编译 GLIBX 2.25,但这会导致许多其他依赖于它的东西无法运行,并且可能使您的系统无法使用。

唯一可行的选择是升级到具有 GLIBC 2.25 的 Buster。

相关内容