jhen0409 / react-native-debugger

The standalone app based on official debugger of React Native, and includes React Inspector / Redux DevTools
MIT License
10.38k stars 810 forks source link

libgconf2-4 Missing dep Linux #381

Open agreco opened 5 years ago

agreco commented 5 years ago

React Native Debugger app version: v0.9.10 React Native version: 60 Platform: Android Is real device of platform: Yes Operating System: Linux - Ubuntu 19.04

There seems to be a dependency issue when trying to install on Linux:

--- ~/Downloads » sudo dpkg -i react-native-debugger_0.9.10_amd64.deb
Selecting previously unselected package react-native-debugger.
(Reading database ... 635099 files and directories currently installed.)
Preparing to unpack react-native-debugger_0.9.10_amd64.deb ...
Unpacking react-native-debugger (0.9.10-1) ...
dpkg: dependency problems prevent configuration of react-native-debugger:
 react-native-debugger depends on libgconf2-4; however:
  Package libgconf2-4 is not installed.

dpkg: error processing package react-native-debugger (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-4ubuntu1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
 react-native-debugger
--- ~/Downloads » sudo apt install libgconf2-4                                                                                                                                             1 ↵
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libgconf2-4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libgconf2-4' has no installation candidate
--- ~/Downloads »  

Looking at the missing dep (libgconf2-4), I think it has been misspelt, as I have libgconf-2-4 installed but libgconf2-4 doesn't seem to exist..

Will resolve to using the archive release for now.

MuhammadElsaeed commented 5 years ago

I am facing the same issue.

areknoster commented 5 years ago

Instead of using archieve release you can download rn-debugger-linux-x64.zip and unzip. To run the program, just run the binary wget https://github.com/jhen0409/react-native-debugger/releases/download/v0.9.10/rn-debugger-linux-x64.zip unzip rn-debugger-linux-x64.zip -d ./rn-debugger cd rn-debugger ./react-native-debugger