Skip to content

Force RPM processing for libsolv#683

Closed
directhex wants to merge 1 commit intorpm-software-management:masterfrom
directhex:directhex-patch-1
Closed

Force RPM processing for libsolv#683
directhex wants to merge 1 commit intorpm-software-management:masterfrom
directhex:directhex-patch-1

Conversation

@directhex
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.
@Conan-Kudo
Copy link
Member

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

@j-mracek
Copy link
Contributor

@rh-atomic-bot r+

@rh-atomic-bot
Copy link

📌 Commit 47fdfb5 has been approved by j-mracek

@rh-atomic-bot
Copy link

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

@rh-atomic-bot
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants