我想glib2-devel
通过一些安装脚本将软件包安装在 sles15 SP4 docker 容器中。
由于zypper install -y glib2-devel
未安静安装,脚本失败。这是例外:
Problem: the to be installed glib2-devel-2.70.4-150400.1.5.aarch64 requires 'libglib-2_0-0 = 2.70.4', but this requirement cannot be provided
not installable providers: libglib-2_0-0-2.70.4-150400.1.5.aarch64[SLE_BCI]
Solution 1: downgrade of libglib-2_0-0-2.70.5-150400.3.3.1.aarch64 to libglib-2_0-0-2.70.4-150400.1.5.aarch64
Solution 2: do not install glib2-devel-2.70.4-150400.1.5.aarch64
Solution 3: break glib2-devel-2.70.4-150400.1.5.aarch64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/3/c/d/?] (c): c
问题基本上是它想要一个从 1 到 3 的解决方案,但失败了,因为提供了标志 -y(我猜),因此选择取消选项 c。
这会导致 docker 容器失败。
有没有办法Solution 1
在上述包的安静安装过程中进行选择?