Skip to content

Force RPM processing for libsolv #683

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

Closed

Conversation

Image for: Conversation
Copy link
Contributor

libsolv will by default assume if it is built for Debian, Arch or Haiku systems, then the architecture name for platform-independent packages is not noarch (all on Debian, any on the others). This causes dnf to fail to run on those OSes, as it considers package redhat-rpm-config-115-1.el8.noarch does not have a compatible architecture etc.

Since libdnf is purely for RPM use, force it to always initialize libsolv in RPM mode, with noarch as the noarch name.

libsolv will by default assume if it is built for Debian, Arch or Haiku systems, then the architecture name for platform-independent packages is not `noarch` (`all` on Debian, `any` on the others). This causes dnf to fail to run on those OSes, as it considers `package redhat-rpm-config-115-1.el8.noarch does not have a compatible architecture` etc.

Since libdnf is purely for RPM use, force it to always initialize libsolv in RPM mode, with `noarch` as the noarch name.
Copy link
Member

@j-mracek @jrohel @dmach Can we get this patch in? It's pretty trivial...

Copy link
Contributor

Copy link

📌 Commit 47fdfb5 has been approved by j-mracek

Copy link

⌛ Testing commit 47fdfb5 with merge 6eba696...

Copy link

☀️ Test successful - status-papr
Approved by: j-mracek
Pushing 6eba696 to master...

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