From a95a7e6ac78c7d2289ddd48d3a5556a80771e29a Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 10 Dec 2024 12:22:51 +0100 Subject: [PATCH] build: include `--nobest` while upgrading the devel container packages On occasion there are inconsistencies in the CentOS or Ceph RPM repositories. This can cause `dnf update` to fail when there are conflicting versions of a package. By adding the `--nobest` option, packages can get upgraded to an older version, but not the latest. Signed-off-by: Niels de Vos --- scripts/Dockerfile.devel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Dockerfile.devel b/scripts/Dockerfile.devel index a5fe222a816..5a91282f774 100644 --- a/scripts/Dockerfile.devel +++ b/scripts/Dockerfile.devel @@ -35,7 +35,7 @@ RUN dnf -y install \ librados-devel \ libcephfs-devel \ librbd-devel \ - && dnf -y update \ + && dnf -y --nobest update \ && dnf clean all \ && rm -rf /var/cache/yum \ && true