Skip to content

Commit

Permalink
Do not require best packages for anaconda container builds
Browse files Browse the repository at this point in the history
The issue this patch is trying to resolve is older version of package in
developemnt CentOS repository than in the production CentOS repository.
For example for gtk package:

Error:
 Problem 1: package gtk3-devel-docs-3.24.43-2.el10.x86_64 from
crb-development requires gtk3 = 3.24.43-2.el10, but none of the
providers can be installed
  - cannot install both gtk3-3.24.43-3.el10.x86_64 from appstream and
    gtk3-3.24.43-2.el10.x86_64 from appstream-development
  - cannot install both gtk3-3.24.43-3.el10.x86_64 from appstream and
    gtk3-3.24.43-2.el10.x86_64 from appstream
  - package gtk3-devel-3.24.43-3.el10.x86_64 from appstream requires
    gtk3(x86-64) = 3.24.43-3.el10, but none of the providers can be
installed
  - cannot install the best candidate for the job
  - conflicting requests
  • Loading branch information
rvykydal committed Mar 4, 2025
1 parent 3564d2f commit ec98322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockerfile/anaconda-rpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ RUN set -ex; \
python3-pip \
rpm-build; \
cat /root/anaconda.spec.in | sed 's/@PACKAGE_VERSION@/0/; s/@PACKAGE_RELEASE@/0/; s/%{__python3}/python3/' > /tmp/anaconda.spec; \
rpmspec -q --buildrequires /tmp/anaconda.spec | xargs -d '\n' dnf install -y; \
rpmspec -q --buildrequires /tmp/anaconda.spec | xargs -d '\n' dnf install --nobest -y; \
dnf clean all; \
mkdir /anaconda

Expand Down

0 comments on commit ec98322

Please sign in to comment.