react-native-debugger icon indicating copy to clipboard operation
react-native-debugger copied to clipboard

install on fedora fails with '...does not have compatible architecture'

Open maks-io opened this issue 5 years ago • 1 comments

React Native Debugger app version: 0.11.5 React Native version: 0.63 (expo 39) Platform: - Is real device of platform: - Operating System: Linux (Fedora 32)

I am unable to install the react-native-debugger-0.11.5-1.amd64.rpm package via sudo dnf install <packagename> -> i get the following error:

Error: 
 Problem: conflicting requests
  - package react-native-debugger-0.11.5-1.amd64 does not have a compatible architecture

Can anybody help me there?

maks-io avatar Nov 07 '20 12:11 maks-io

I was just having the same issue:

# sudo dnf install https://github.com/jhen0409/react-native-debugger/releases/download/v0.11.6/react-native-debugger-0.11.6-1.amd64.rpm
Last metadata expiration check: 0:25:35 ago on Sa 26 Dez 2020 13:25:46 CET.
react-native-debugger-0.11.6-1.amd64.rpm        4.4 MB/s |  63 MB     00:14    
Error: 
 Problem: conflicting requests
  - package react-native-debugger-0.11.6-1.amd64 does not have a compatible architecture
(try to add '--skip-broken' to skip uninstallable packages)

I then downloaded the rpm and checked its contents:

# wget https://github.com/jhen0409/react-native-debugger/releases/download/v0.11.6/react-native-debugger-0.11.6-1.amd64.rpm
--2020-12-26 13:52:51--  https://github.com/jhen0409/react-native-debugger/releases/download/v0.11.6/react-native-debugger-0.11.6-1.amd64.rpm
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
...
...
2020-12-26 13:53:04 (4,93 MB/s) - ‘react-native-debugger-0.11.6-1.amd64.rpm’ saved [66155752/66155752]

# rpm -qip react-native-debugger-0.11.6-1.amd64.rpm 
Name        : react-native-debugger
Version     : 0.11.6
Release     : 1
Architecture: amd64
Install Date: (not installed)
Group       : Unspecified
Size        : 230217649
License     : MIT
Signature   : (none)
Source RPM  : react-native-debugger-0.11.6-1.src.rpm
Build Date  : So 13 Dez 2020 04:15:50 CET
Build Host  : fv-az184-911.rb2xhu1p5vfe5ednqk5ozp2g3a.cx.internal.cloudapp.net
Summary     : The standalone app for React Native Debugger, with React DevTools / Redux DevTools
Description :
The standalone app for React Native Debugger, with React DevTools / Redux
DevTools

# uname -a
Linux foomachine 5.9.14-100.fc32.x86_64 #1 SMP Fri Dec 11 14:30:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

So, the package does match my architecture, so I figured to give good old rpm a chance and it worked:

# sudo rpm -ivh react-native-debugger-0.11.6-1.amd64.rpm 
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:react-native-debugger-0.11.6-1   ################################# [100%]

After that you can start it with react-native-debugger on the command line or look for it in your desktop menu.

fz883 avatar Dec 26 '20 13:12 fz883