【问题标题】:OpenSuse Leap 15.2 Unable to install docker (GLIBC_2.32 required, but only 2.26 is available)OpenSuse Leap 15.2 无法安装 docker(需要 GLIBC_2.32,但只有 2.26 可用)
【发布时间】:2021-02-14 02:52:40
【问题描述】:

open suse 15.2无法安装docker,glibc版本不满足docker的依赖:

sudo zypper install docker docker-bash-completion python3-docker-compose
Loading repository data...
Reading installed packages...
Resolving package dependencies...
2 Problems:
Problem: nothing provides libc.so.6(GLIBC_2.32)(64bit) needed by docker-20.10.3_ce-9.2.x86_64
Problem: nothing provides libc.so.6(GLIBC_2.32) needed by docker-20.10.3_ce-9.2.i586

Problem: nothing provides libc.so.6(GLIBC_2.32)(64bit) needed by docker-20.10.3_ce-9.2.x86_64
 Solution 1: do not install docker-20.10.3_ce-9.2.x86_64
 Solution 2: break docker-20.10.3_ce-9.2.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c):

我已经尝试更新 glibc,但是:

No update candidate for 'glibc-2.26-lp152.26.3.1.x86_64'. The highest available version is already installed.

我不愿意从源代码安装更高版本的 glibc,因为我们都知道 glibc 的灾难性后果!

【问题讨论】:

    标签: linux docker glibc opensuse zypper


    【解决方案1】:

    看起来解决这个问题的唯一方法(至少现在)是通过 snapcraft (snap) 安装 docker,它让我重新启动并运行。

    另请参阅:https://snapcraft.io/install/docker/opensuse

    据我了解,快照包包含所有依赖项,不依赖系统共享对象。

    【讨论】:

      猜你喜欢
      • 2021-08-17
      • 2021-07-28
      • 1970-01-01
      • 2021-09-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多