]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
build_utils.sh Add "dnf clean all" as a Big Hammer 2184/head
authorDan Mick <dmick@redhat.com>
Mon, 8 Jan 2024 22:39:58 +0000 (14:39 -0800)
committerDan Mick <dmick@redhat.com>
Mon, 8 Jan 2024 22:39:58 +0000 (14:39 -0800)
There's no reason this should be necessary, but maybe it
works around the mysterious issue of "Problem: cannot install
both python3-devel-3.9.18-1.el9.x86_64 from appstream and
python3-devel-3.9.18-1.el9.x86_64 from @System"

Signed-off-by: Dan Mick <dmick@redhat.com>
scripts/build_utils.sh

index da0bf827ddfbf717d98a067d8a675c8873d6e4af..d28458c70b6ed1c04c1f53abe909f604a0d36d60 100755 (executable)
@@ -1490,6 +1490,7 @@ setup_rpm_build_deps() {
     # python-rpm-macro we use for identifying the python related dependencies
     $SUDO dnf install -y python3-devel
 
+    $SUDO dnf clean all
     $SUDO dnf builddep -d 10 --debugsolver -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec
 }