ROS Ubuntu 14.04 on vmware - ros

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.

Related

openwrt Self-compiled firmware

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

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.

Understand System.Web.Mvc, Version =5.2.3.0

I've had this error now three times. Working on a web api project over last few days. I'm not sure what or why this is happening and I want to fix the error.
I've looked at a previous post here. I also tried to install in the package manager: Install-Package Microsoft.AspNet.WebApi.Cors.ko -Version 5.0.0
When doing that install an error of: "already referencing a new version of Microsoft.AspNet.WebApi.Cors" is thrown and it rolls back the install.
Any help is greatly appreciated
Thanks
Microsoft.AspNet.WebApi.Cors.ko 5.0.0 requires
Microsoft.AspNet.WebApi.Cors (= 5.0.0)
Microsoft.AspNet.WebApi.Cors 5.0.0 requires
Microsoft.AspNet.WebApi.Core (>= 5.2.3 && < 5.3.0) and Microsoft.AspNet.Cors (>= 5.2.3)
be sure, that all dependencies (versions of packages) are right in your project
https://www.nuget.org/packages/Microsoft.AspNet.WebApi.Cors.ko/5.0.0
Dependencies
Microsoft.AspNet.WebApi.Cors (= 5.0.0)
https://www.nuget.org/packages/Microsoft.AspNet.WebApi.Cors/
Dependencies
Microsoft.AspNet.WebApi.Core (>= 5.2.3 && < 5.3.0)
Microsoft.AspNet.Cors (>= 5.2.3)

Resources