openwrt Self-compiled firmware - openwrt

I want to download wifidog from OpenWRt,then I execute the command:
opkg update
opkg install wifidog
Error:
root#OpenWrt:~# opkg install wifidog
Package wifidog (1.3.0-6) installed in root is up to date.
Collected errors:
pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-nf-reject
pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-nf-ipt
pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-ipt-core
pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-ipt-extra
pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-ipt-ipopt
pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-nf-conntrack
pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-nf-nat
pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-ipt-nat
pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.107-1-8b0ca0 fcb3d630926cd2eaf086060f89) for kmod-ipt-nat-extra
These missing dependencies were selected when I compiled the firmware
Why is that
I tried self-compiling the firmware, adding all the missing dependencies, repackaging, and reburning the firmware, but still got an error: missing dependencies

What is your kernel version? Are you in the same version as 5.10.107?
Also, did you try to download that ipk and manually install it? If you are sure that you did enable it at the kernel level, there is no harm in trying to install it with force overriding. Or you could run the binary directly to see if there is an error.
If you really need to make it works, you can always try to cross-compile this package for your kernel.

which version your openwrt? I suggest using apfree-wifidog cause wifidog not maintained for years

Related

expo EAS build (iOS) fails in Pod installation step

I am trying to build with the command 'eas build --platform ios' but the build fails At Pod installation step. I also tried to clear the cache but nothing changed.
Here are the log:
Auto-linking React Native modules for target `BallNConnect`: RNCAsyncStorage, RNCMaskedView, RNDateTimePicker, RNDeviceInfo, RNFBApp, RNFBFirestore, RNGestureHandler, RNReanimated, RNScreens, RNVectorIcons, lottie-ios, lottie-react-native, react-native-maps, and react-native-safe-area-context
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
CocoaPods 1.11.3 is available.
To update use: `sudo gem install cocoapods`
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.11.3
[!] CocoaPods could not find compatible versions for pod "GoogleMaps":
In Podfile:
react-native-google-maps (from `/Users/expo/workingdir/build/node_modules/react-native-maps`) was resolved to 0.29.4, which depends on
Google-Maps-iOS-Utils (= 2.1.0) was resolved to 2.1.0, which depends on
GoogleMaps
react-native-google-maps (from `/Users/expo/workingdir/build/node_modules/react-native-maps`) was resolved to 0.29.4, which depends on
GoogleMaps (= 3.5.0)
CocoaPods could not find compatible versions for pod "nanopb":
In Podfile:
EXFirebaseCore (from `../node_modules/expo-firebase-core/ios`) was resolved to 4.1.1, which depends on
Firebase/Core (= 7.7.0) was resolved to 7.7.0, which depends on
FirebaseAnalytics (= 7.7.0) was resolved to 7.7.0, which depends on
nanopb (~> 2.30907.0)
RNFBFirestore (from `../node_modules/#react-native-firebase/firestore`) was resolved to 12.9.3, which depends on
Firebase/Firestore (= 8.8.0) was resolved to 8.8.0, which depends on
FirebaseFirestore (~> 8.8.0) was resolved to 8.8.0, which depends on
nanopb (~> 2.30908.0)
[stderr] [!] `<PBXResourcesBuildPhase UUID=`13B07F8E1A680F5B00A75B9A`>` attempted to initialize an object with an unknown UUID. `6D6F16C9EE89401295D6CEB6` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
Error: Compatible versions of some pods could not be resolved.
You are seeing this error because either:
- Versions in the Podfile.lock cached by EAS do not match required values in Podspecs of some of the libraries. To fix that add the "cache.key" field (it can be set to any value) in the build profile in eas.json to invalidate the cache.
- Some of the pods used in your project depend on different versions of the same pod. See logs for more information.```
You can only either have ReactNative Firebase (RNFB) or Expo Firebase installed but you cannot install both. Sometimes there is no conflict, but eventually somewhere someplace an issue will arise.
I have spent days on this before, and the only resolution (on the advice of the Expo discord) was to install only one package. This was extremely inconvenient but sometimes expo can lack flexibility IMHO.

The following packages have unmet dependencies OpenCV - installing opencv to raspberry pi

So I'm trying to install opevncv to raspberry pi 3B+, but getting following errors, tried multiple fixes I found, but nothing worked yet
python-opencv : Depends: libopencv-calib3d3.2 (= 3.2.0+dfsg-6) but it is not going to be installed
Depends: libopencv-features2d3.2 (= 3.2.0+dfsg-6) but it is not going to be installed
Depends: libopencv-highgui3.2 (= 3.2.0+dfsg-6) but it is not going to be installed
Depends: libopencv-objdetect3.2 (= 3.2.0+dfsg-6) but it is not going to be installed
Depends: libopencv-stitching3.2 (= 3.2.0+dfsg-6) but it is not going to be installed
Depends: libopencv-superres3.2 (= 3.2.0+dfsg-6) but it is not going to be installed
Depends: libopencv-videoio3.2 (= 3.2.0+dfsg-6) but it is not going to be installed
Depends: libopencv-videostab3.2 (= 3.2.0+dfsg-6) but it is not going to be installed
Depends: libopencv-viz3.2 (= 3.2.0+dfsg-6) but it is not going to be installed
Depends: libopencv-contrib3.2 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.*

curl : Depends: libcurl4 (= 7.68.0-1ubuntu2.2) but 7.65.3-1ubuntu3 is to be installed

I keep getting unmet dependencies problem while installing docker and cant find a relevant solution to it. Screenshot of problem

How to install opencv on Ubuntu14.04?

When I want to install opencv on Ubuntu14.04, I get problem as bellow:libopencv-dev : Depends: libopencv-objdetect-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libopencv-highgui-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libopencv-legacy-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libopencv-contrib-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libopencv-videostab-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libopencv-superres-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libopencv-ocl-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libcv-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libhighgui-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libcvaux-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Then I follow the answer of (Ubuntu 14.04) apt-get libopencv-dev, but get errors: Unable to correct problems, you have held broken packages
And I can not install libgtk2.0-dev. I get the problem of installing libgtk2.0-dev:The following packages have unmet dependencies:
libgtk2.0-dev : Depends: libglib2.0-dev (>= 2.27.3) but it is not going to be installed
Depends: libgdk-pixbuf2.0-dev (>= 2.21.0) but it is not going to be installed
Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed
Depends: libatk1.0-dev (>= 1.29.2) but it is not going to be installed
Depends: libcairo2-dev (>= 1.6.4-6.1) but it is not going to be installed
Depends: libxrandr-dev (>= 2:1.2.99) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Any suggestions? This is freaking me out! I have googled mant times. But there isn't a solution.Thanks a lot!
Did you try to "apt-get update && apt-get upgrade" ??
If you have broken packages, you can use "apt-get install -f"
-f, --fix-broken
Fix. Attempt to correct a system with broken dependencies in place. This option, when used with install/remove, can omit any packages to permit APT to deduce a likely solution. Any package(s) that are specified must completely correct the problem. This option is sometimes necessary when running APT for the first time; APT itself does not allow broken package dependencies to exist on a system. It is possible that a system's dependency structure can be so corrupt as to require manual intervention. Use of this option together with -m may produce an error in some situations.

ROS Ubuntu 14.04 on vmware

I am trying to setup ROS electric on Ubuntu 14.04 on VMware but get an error message from sudo apt-get install ros-electric-desktop-full:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libcheese-gtk23 : Depends: libclutter-gtk-1.0-0 (>= 0.91.8) but it is not going to be installed
Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
libcheese7 : Depends: libclutter-gst-2.0-0 (>= 0.10.0) but it is not going to be installed
Depends: gstreamer1.0-clutter but it is not going to be installed
libclutter-1.0-0 : Depends: libcogl-pango15 (>= 1.15.8) but it is not going to be installed
Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
ros-electric-desktop-full : Depends: ros-electric-ros-tutorials (= 0.2.6-s1336562333~oneiric) but it is not going to be installed
Depends: ros-electric-nodelet-core (= 1.6.2-s1336531052~oneiric) but it is not going to be installed
Depends: ros-electric-eigen (= 1.6.0-s1336530551~oneiric) but it is not going to be installed
Depends: ros-electric-geometry-tutorials (= 0.1.3-s1336562524~oneiric) but it is not going to be installed
Depends: ros-electric-orocos-kinematics-dynamics (= 0.2.3-s1336530597~oneiric) but it is not going to be installed
Depends: ros-electric-filters (= 1.6.0-s1336531164~oneiric) but it is not going to be installed
Depends: ros-electric-slam-gmapping (= 1.2.5-s1336543727~oneiric) but it is not going to be installed
Depends: ros-electric-ros (= 1.6.9-s1336528271~oneiric) but it is not going to be installed
Depends: ros-electric-stage (= 1.4.1-s1336556336~oneiric) but it is not going to be installed
Depends: ros-electric-documentation (= 1.4.3-s1336548893~oneiric) but it is not going to be installed
Depends: ros-electric-visualization (= 1.6.7-s1338543665~oneiric) but it is not going to be installed
Depends: ros-electric-vision-opencv (= 1.6.13-s1336531637~oneiric) but it is not going to be installed
Depends: ros-electric-perception-pcl (= 1.0.2-s1336532338~oneiric) but it is not going to be installed
Depends: ros-electric-geometry-experimental (= 0.2.2-s1336544234~oneiric) but it is not going to be installed
Depends: ros-electric-robot-model-visualization (= 0.1.2-s1336572168~oneiric) but it is not going to be installed
Depends: ros-electric-rx (= 1.6.1-s1336538058~oneiric) but it is not going to be installed
Depends: ros-electric-image-pipeline (= 1.6.4-s1336532075~oneiric) but it is not going to be installed
Depends: ros-electric-simulator-gazebo (= 1.4.15-s1338549736~oneiric) but it is not going to be installed
Depends: ros-electric-diagnostics-monitors (= 1.4.3-s1336547062~oneiric) but it is not going to be installed
Depends: ros-electric-simulator-stage (= 1.4.0-s1336557410~oneiric) but it is not going to be installed
Depends: ros-electric-common-rosdeps (= 1.0.2-s1336530376~oneiric) but it is not going to be installed
Depends: ros-electric-geometry-visualization (= 0.1.1-s1336588763~oneiric) but it is not going to be installed
Depends: ros-electric-image-common (= 1.6.1-s1336531478~oneiric) but it is not going to be installed
Depends: ros-electric-bond-core (= 1.6.1-s1336530969~oneiric) but it is not going to be installed
Depends: ros-electric-common-tutorials (= 0.1.2-s1336589157~oneiric) but it is not going to be installed
Depends: ros-electric-ros-comm (= 1.6.7-s1336529499~oneiric) but it is not going to be installed
Depends: ros-electric-visualization-common (= 1.6.3-s1338486485~oneiric) but it is not going to be installed
Depends: ros-electric-physics-ode (= 1.6.1-s1336537616~oneiric) but it is not going to be installed
Depends: ros-electric-assimp (= 0.1.1-s1336534582~oneiric) but it is not going to be installed
Depends: ros-electric-driver-common (= 1.2.4-s1336530279~oneiric) but it is not going to be installed
Depends: ros-electric-executive-smach (= 1.0.4-s1336544144~oneiric) but it is not going to be installed
Depends: ros-electric-common-msgs (= 1.6.0-s1336529945~oneiric) but it is not going to be installed
Depends: ros-electric-image-transport-plugins (= 1.4.2-s1336531748~oneiric) but it is not going to be installed
Depends: ros-electric-xacro (= 1.6.0-s1336531255~oneiric) but it is not going to be installed
Depends: ros-electric-robot-model (= 1.6.4-s1336534646~oneiric) but it is not going to be installed
Depends: ros-electric-bullet (= 2.76.5-s1336530427~oneiric) but it is not going to be installed
Depends: ros-electric-visualization-tutorials (= 0.4.0-s1338571715~oneiric) but it is not going to be installed
Depends: ros-electric-geometry (= 1.6.1-s1336530789~oneiric) but it is not going to be installed
Depends: ros-electric-pluginlib (= 1.6.0-s1336530068~oneiric) but it is not going to be installed
Depends: ros-electric-executive-smach-visualization (= 1.0.2-s1336563281~oneiric) but it is not going to be installed
Depends: ros-electric-laser-pipeline (= 1.2.1-s1336536850~oneiric) but it is not going to be installed
Depends: ros-electric-robot-model-tutorials (= 0.1.2-s1336578371~oneiric) but it is not going to be installed
Depends: ros-electric-common (= 1.6.1-s1336531318~oneiric) but it is not going to be installed
Depends: ros-electric-diagnostics (= 1.6.4-s1336530145~oneiric) but it is not going to be installed
Depends: ros-electric-navigation (= 1.6.5-s1336537141~oneiric) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
root#ubuntu:/home/ggg/y-ppa-manager#
Electric relies on different versions of core libraries. Although this question is about hydro. The same issue applies to you.
ROS depends on specific versions of system libraries such as Boost, and the versions of those libraries that are available on 12.04 and 14.04 are different enough to make installing the 12.04 binaries on 14.04 very difficult.
If the ROS version doesn't matter, ubuntu 14 binaries work for indigo and up
Edit
There is a thread of someone building electric to work on 12.04 here, but there's a bunch of custom configuration that needs to happen to build it.

Resources