Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No solution found trying to install buildah #19

Closed
maya-r opened this issue Aug 7, 2022 · 4 comments
Closed

No solution found trying to install buildah #19

maya-r opened this issue Aug 7, 2022 · 4 comments

Comments

@maya-r
Copy link
Contributor

maya-r commented Aug 7, 2022

With the following reproducing script:

cat << EOF > repo.yaml
repositories:
- arch: x86_64
  baseurl: http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/
  name: centos/stream9-baseos-x86_64
  gpgkey: https://www.stream.centos.org/keys/RPM-GPG-KEY-CentOS-Official
- arch: x86_64
  baseurl: http://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/
  name: centos/stream9-appstream-x86_64
  gpgkey: https://www.stream.centos.org/keys/RPM-GPG-KEY-CentOS-Official
EOF

bazel run //:bazeldnf -- fetch
bazel run //:bazeldnf -- rpmtree --public --name testimage --basesystem centos-stream-release buildah

INFO[0004] Loading the Partial weighted MAXSAT problem.
INFO[0004] Solving the Partial weighted MAXSAT problem.
INFO[0004] No solution found.
Error: no solution found

I can force a solution with --force-ignore-with-dependencies containers-common so I suspect this is the problematic package - maybe because new versions are conflicting with old versions of the same package? but I am not sure how to correct bazeldnf for this.

@rmohr
Copy link
Owner

rmohr commented Sep 9, 2022

Does it work for stream8?

Thanks for the details.

@maya-r
Copy link
Contributor Author

maya-r commented Oct 30, 2022

Oops, I tried to check for stream8 but in fact I wasn't. It works using centos stream 8, using this repo.yaml and the same commands.

repositories:
- arch: x86_64
  baseurl: http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/
  name: centos/stream8-baseos-x86_64
  gpgkey: https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official
- arch: x86_64
  baseurl: http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/
  name: centos/stream8-appstream-x86_64
  gpgkey: https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official

@maya-r
Copy link
Contributor Author

maya-r commented Jun 1, 2023

CentOS Stream packages have changed such that this problem no longer reproduces, which would make it near impossible to work on the bug. Closing and hoping it won't happen in the future.

@maya-r maya-r closed this as completed Jun 1, 2023
@rmohr
Copy link
Owner

rmohr commented Jun 1, 2023

Sorry that I was not of more help, but glad to see that it works. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants