Closed narutojxl closed 5 years ago
According to this link [https://packages.ubuntu.com/en/trusty/amd64/qtbase5-dev/download](Download Page for qtbase5-dev), You should be able to use any of the listed mirrors by adding a line to your /etc/apt/sources.list like this, deb http://security.ubuntu.com/ubuntu trusty-security main
, then sudo apt-get update
, it output like this:
The following packages have unmet dependencies: qtbase5-dev : Depends: libgles2-mesa-dev or libgles2-dev but it is not installable unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed Depends: libcheese7 (>= 3.0.1) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. ERROR: the following rosdeps failed to install apt: command [sudo -H apt-get install -y qtbase5-dev] failed
And then, according to this link https://packages.ubuntu.com/trusty/libgles2-mesa-dev, install libgles2 with sudo apt-get install libgles2-mesa-dev-lts-xenial
, and then again run rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y
, All required rosdeps installed successfully.
similar question to https://github.com/googlecartographer/cartographer_ros/issues/263 My system is ubuntu14.04.5, ROS is indigo, kernel is Linux PC-11 4.4.0-31-generic. ROS repositories is
deb http://packages.ros.org/ros/ubuntu trusty main
, i don't want to upgrade my system. Because when i upgrade my system, my WiFi module crashed can not work normally. When i runrosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y
to install cartographer_ros dependencies, output is here:Reading state information... Done 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: qtbase5-dev : Depends: libgles2-mesa-dev but it is not going to be installed or libgles2-dev but it is not installable Depends: libqt5core5a (= 5.2.1+dfsg-1ubuntu14) but 5.2.1+dfsg-1ubuntu14.3 is to be installed Depends: libqt5dbus5 (= 5.2.1+dfsg-1ubuntu14) but 5.2.1+dfsg-1ubuntu14.3 is to be installed Depends: libqt5gui5 (= 5.2.1+dfsg-1ubuntu14) but 5.2.1+dfsg-1ubuntu14.3 is to be installed Depends: libqt5network5 (= 5.2.1+dfsg-1ubuntu14) but 5.2.1+dfsg-1ubuntu14.3 is to be installed Depends: libqt5printsupport5 (= 5.2.1+dfsg-1ubuntu14) but 5.2.1+dfsg-1ubuntu14.3 is to be installed Depends: libqt5sql5 (= 5.2.1+dfsg-1ubuntu14) but 5.2.1+dfsg-1ubuntu14.3 is to be installed Depends: libqt5test5 (= 5.2.1+dfsg-1ubuntu14) but 5.2.1+dfsg-1ubuntu14.3 is to be installed Depends: libqt5widgets5 (= 5.2.1+dfsg-1ubuntu14) but 5.2.1+dfsg-1ubuntu14.3 is to be installed Depends: libqt5xml5 (= 5.2.1+dfsg-1ubuntu14) but 5.2.1+dfsg-1ubuntu14.3 is to be installed Recommends: libqt5opengl5-dev (= 5.2.1+dfsg-1ubuntu14) but it is not going to be installed E: Unable to correct problems, you have held broken packages. ERROR: the following rosdeps failed to install apt: command [sudo -H apt-get install -y qtbase5-dev] failed adv@PC-11:~/jxl_carto_ws$
when i install qtbase5-dev with aptitude, output says that there are some confilicts:
libegl1-mesa-dev [Not Installed]
libegl1-mesa-drivers [Not Installed]
libglapi-mesa [Not Installed]
libgles2-mesa [Not Installed]
libgles2-mesa-dev [Not Installed]
libopenvg1-mesa [Not Installed]
libqt5opengl5-dev [Not Installed]
libwayland-dev [Not Installed]
libwayland-egl1-mesa [Not Installed]
qtbase5-dev [Not Installed]
Accept this solution? [Y/n/q/?] q Abandoning all efforts to resolve these dependencies. Abort. adv@PC-11:~/jxl_carto_ws$
when i
sudo apt-get install libgl1-mesa-dev-lts-trusty
according to ros indigo install link(http://wiki.ros.org/indigo/Installation/Ubuntu) to fix dependency issues, output is:Reading state information... Done E: Unable to locate package libgl1-mesa-dev-lts-trusty adv@PC-11:~/jxl_carto_ws$
Any suggestions???