Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

package openbazaar2-2.0.21-1.amd64 does not have a compatible architecture #551

Open
evanstucker-hates-2fa opened this issue Jan 20, 2018 · 2 comments

Comments

@evanstucker-hates-2fa
Copy link

Brief Description:

Operating System (OS and version): Fedora 27
OpenBazaar version: openbazaar2-2.0.21-1
Hardware: Linux itzel 4.14.11-300.fc27.x86_64 #1 SMP Wed Jan 3 13:52:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Reproducible (Always / Almost Always / Sometimes / Rarely / Couldn't Reproduce): Always

Steps to reproduce:

  1. Try to install using rpm or dnf on Fedora 27 on x86_64 kernel.

Observed Behavior:
$ sudo dnf install openbazaar2-2.0.21.amd64.rpm
Last metadata expiration check: 0:04:01 ago on Sat 20 Jan 2018 11:10:33 AM PST.
Error:
Problem: conflicting requests

  • package openbazaar2-2.0.21-1.amd64 does not have a compatible architecture

Expected Behavior:
I expect it to install without error.

Additional info (links, images, etc go here):

@firogh
Copy link

firogh commented Mar 26, 2018

Try modify libsolv: src/poolarch.c. I add a alias core2_64 for x86_64.

For example:
diff --git a/src/poolarch.c b/src/poolarch.c
index 8da16c1..d5f1d77 100644
--- a/src/poolarch.c
+++ b/src/poolarch.c
@@ -22,9 +22,9 @@

static const char *archpolicies[] = {
#if defined(FEDORA) || defined(MAGEIA)

  • "x86_64", "x86_64:athlon:i686:i586:i486:i386",
  • "x86_64", "x86_64:athlon:i686:i586:i486:i386:core2_64",
    #else
  • "x86_64", "x86_64:i686:i586:i486:i386",
  • "x86_64", "x86_64:i686:i586:i486:i386:core2_64",
    #endif
    "i686", "i686:i586:i486:i386",
    "i586", "i586:i486:i386",

@Sanqui
Copy link

Sanqui commented Mar 29, 2018

The arch should be set as x86_64, not amd64

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

No branches or pull requests

3 participants