小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
ubuntu18.04安装melodic失败
-
本来想在ubuntu18.04的电脑上试一下ros1和ros2共存,原本有个melodic,想着再一键安装个ros2,但发现一键安装过程中终端在删除ros1-melodic的东西,就ctrl+c掉了,想着再一键安装melodic,但安装不上了。
apt更新失败,后续程序可能会继续尝试...,['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', 'E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/dists/xenial/main/binary-amd64/Packages.gz 文件尺寸不符(131387 != 131381)。您使用的镜像正在同步中? [IP: 101.6.15.130 80]\n', ' Hashes of expected file:\n', ' - Filesize:131381 [weak]\n', ' - SHA256:fd30efb4caa6be6351569c6c5f3ba175e9d2229d66bfa0c5868432f2b0615fad\n', ' - SHA1:3f696a8f0c0e13c727479354dab039693065c6ea [weak]\n', ' - MD5Sum:9d97d72cdf2a96bff35317cc74a085cd [weak]\n', ' Release file created at: Mon, 23 May 2022 22:12:16 +0000\n', 'E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。\n']
Run CMD Task:[sudo apt search curl ]
This package retrieves data from url-format files such as http://, ftp://, package:// file://, etc., and loads th[|] This package retrieves data from url-format files such as http://, ftp://, package:// file://, etc., and loads th[] This package retrieves data from url-format files such as http://, ftp://, package:// file://, etc., and loads th[-]Result:success 3 amd64dock app0.12-5ubuntu3.2 amd644amd64y 5.3.5-1ubuntu3.8 all alllRun CMD Task:[sudo apt install curl -y]
[-]Result:code:100 buntu2.19) 但是 7.58.0-2ubuntu3.24 正要被安装Run CMD Task:[sudo apt search gnupg2 ]
[-]Result:success ent (new v2.x) i386sierRun CMD Task:[sudo apt install gnupg2 -y]
[-]Result:success 卸载 0 个软件包,有 0 个软件包未被升级。Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
[-]Result:code:2Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
[-]Result:code:2导入密钥失败,开始更换导入方式并二次尝试...
Run CMD Task:[sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654]
[-]Result:success K/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654Run CMD Task:[dpkg --print-architecture]
[-]Result:success根据您的系统,为您推荐安装源为['http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/', 'http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/']
Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d/ros-fish.list]
[-]Result:success创建文件:/etc/apt/sources.list.d/ros-fish.list
Run CMD Task:[sudo apt update]
[-]Result:success u xenial-security InReleaseese [4,668 B]Run CMD Task:[sudo apt search ros-base ]
A metapackage which extends ros_core and includes other basic non-robot tools like actionlib, dynamic reconfigure[|] End-Effector package: provides a ROS-based set of standard interfaces to command robotics end-effectors in an agn[] A metapackage which extends ros_core and includes other basic non-robot tools like actionlib, dynamic reconfigure[-]Result:success恭喜,成功添加ROS源,接下来可以使用apt安装ROS或者使用[1]一键安装ROS安装!
Run CMD Task:[sudo apt search ros-base ]
A metapackage which extends ros_core and includes other basic non-robot tools like actionlib, dynamic reconfigure[|] End-Effector package: provides a ROS-based set of standard interfaces to command robotics end-effectors in an agn[] A metapackage which extends ros_core and includes other basic non-robot tools like actionlib, dynamic reconfigure[-]Result:successRUN Choose Task:[请输入括号内的数字]
请选择你要安装的ROS版本名称(请注意ROS1和ROS2区别):
[1]:ardent(ROS2)
[2]:kinetic(ROS1)
[3]:lunar(ROS2)
[4]:melodic(ROS1)
[0]:quit
请输入[]内的数字以选择:4
RUN Choose Task:[请输入括号内的数字]
请选择安装的具体版本(如果不知道怎么选,请选1桌面版):
[1]:melodic(ROS1)桌面版
[2]:melodic(ROS1)基础版(小)
[0]:quit
请输入[]内的数字以选择:1
Run CMD Task:[sudo apt search aptitude ]
[-]Result:success r Debiandevelopment files)trainedRun CMD Task:[sudo apt install aptitude -y]
[-]Result:success 卸载 0 个软件包,有 0 个软件包未被升级。Run CMD Task:[sudo apt search aptitude ]
[-]Result:success r Debiandevelopment files)trainedRun CMD Task:[sudo apt install aptitude -y]
[-]Result:success 卸载 0 个软件包,有 0 个软件包未被升级。Run CMD Task:[sudo apt install ros-melodic-desktop-full -y]
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:下列软件包有未满足的依赖关系:
ros-melodic-desktop-full : 依赖: ros-melodic-desktop 但是它将不会被安装
依赖: ros-melodic-perception 但是它将不会被安装
依赖: ros-melodic-simulators 但是它将不会被安装
依赖: ros-melodic-urdf-sim-tutorial 但是它将不会被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
Run CMD Task:[sudo apt install ros-melodic-desktop-full -y]
[-]Result:code:100 dic-urdf-sim-tutorial 但是它将不会被安装============================================================
请注意我,检测你在安装过程中出现依赖问题,请在稍后输入n,再选择y,即可解决(若无法解决,清在稍后手动运行命令: sudo aptitude install ros-melodic-desktop-full)
确认了解情况,请输入回车继续安装
Run CMD Task:[sudo aptitude install ros-melodic-desktop-full]
下列“新”软件包将被安装。
cmake{a} cmake-data{a} fltk1.3-doc{a} fluid{a} gazebo9{ab} gazebo9-common{a} gazebo9-plugin-base{ab}
gir1.2-gtk-2.0{a} google-mock{a} hddtemp{a} libapr1-dev{ab} libaprutil1-dev{ab} libatk1.0-dev{ab}
libavcodec-ffmpeg56{a} libavformat-ffmpeg56{a} libavutil-ffmpeg54{a} libbluray1{a} libboost-system1.58.0{a}
libboost-thread1.58.0{a} libbullet-dev{a} libbulletcollision2.83.6{a} libbulletdynamics2.83.6{a}
libbulletsoftbody2.83.6{a} libbz2-dev{ab} libcairo-script-interpreter2{a} libcairo2-dev{ab}
libconsole-bridge-dev{a} libconsole-bridge0.2v5{a} libcv-dev{a} libcvaux-dev{a} libfltk-cairo1.3{a}
libfltk-forms1.3{a} libfltk-gl1.3{a} libfltk-images1.3{a} libfltk1.3{a} libfltk1.3-dev{a} libgazebo9{ab}
libgazebo9-dev{ab} libgdk-pixbuf2.0-dev{ab} libgraphviz-dev{ab} libgtk2.0-dev{ab} libgtkglext1{a}
libgts-dev{ab} libgvc6-plugins-gtk{a} libhighgui-dev{a} libilmbase-dev{a} liblinearmath2.83.6{a}
liblog4cxx-dev{a} liblog4cxx10v5{a} liblz4-dev{ab} libmodplug1{a} libogre-1.9-dev{a} libogre-1.9.0v5{a}
libopenal-dev{ab} libopencv-calib3d-dev{a} libopencv-calib3d2.4v5{a} libopencv-contrib-dev{a}
libopencv-contrib2.4v5{a} libopencv-core-dev{a} libopencv-core2.4v5{a} libopencv-dev{a}
libopencv-features2d-dev{a} libopencv-features2d2.4v5{a} libopencv-flann-dev{a} libopencv-flann2.4v5{a}
libopencv-gpu-dev{a} libopencv-gpu2.4v5{a} libopencv-highgui-dev{a} libopencv-highgui2.4v5{a}
libopencv-imgproc-dev{a} libopencv-imgproc2.4v5{a} libopencv-legacy-
ros-melodic-image-pipeline{a} ros-melodic-image-proc{ab} ros-melodic-image-publisher{ab}
ros-melodic-image-rotate{ab} ros-melodic-image-transport{ab} ros-melodic-image-transport-plugins{a}
ros-melodic-image-view{ab} ros-melodic-interactive-marker-tutorials{a} ros-melodic-interactive-markers{a}
ros-melodic-joint-limits-interface{a} ros-melodic-joint-state-controller{ab}
ros-melodic-joint-state-publisher{a} ros-melodic-kdl-conversions{a} ros-melodic-kdl-parser{ab}
ros-melodic-kdl-parser-py{a} ros-melodic-laser-assembler{ab} ros-melodic-laser-filters{ab}
ros-melodic-laser-geometry{a} ros-melodic-laser-pipeline{a} ros-melodic-librviz-tutorial{a}
ros-melodic-map-msgs{a} ros-melodic-media-export{a} ros-melodic-message-filters{a}
ros-melodic-message-generation{a} ros-melodic-message-runtime{a} ros-melodic-mk{a} ros-melodic-nav-msgs{a}
ros-melodic-nodelet{ab} ros-melodic-nodelet-core{a} ros-melodic-nodelet-topic-tools{a}
ros-melodic-nodelet-tutorial-math{ab} ros-melodic-orocos-kdl{a} ros-melodic-pcl-conversions{a}
ros-melodic-pcl-msgs{a} ros-melodic-pcl-ros{ab} ros-melodic-perception{a} ros-melodic-perception-pcl{a}
ros-melodic-pluginlib{a} ros-melodic-pluginlib-tutorials{ab} ros-melodic-polled-camera{a}
ros-melodic-position-controllers{ab} ros-melodic-python-orocos-kdl{a} ros-melodic-python-qt-binding{a}
ros-melodic-qt-dotgraph{a} ros-melodic-qt-gui{a} ros-melodic-qt-gui-cpp{ab} ros-melodic-qt-gui-py-common{a}
ros-melodic-qwt-dependency{a} ros-melodic-realtime-tools{a} ros-melodic-resource-retriever{ab}
ros-melodic-robot{a} ros-melodic-robot-state-publisher{ab} ros-melodic-ros{a} ros-melodic-ros-base{a}
ros-melodic-ros-comm{a} ros-melodic-ros-core{a} ros-melodic-ros-environment{a} ros-melodic-ros-tutorials{a}
ros-melodic-roslaunch{a} ros-melodic-roslib{a} ros-melodic-roslint{a} ros-melodic-roslisp{a}
ros-melodic-roslz4{a} ros-melodic-rosmake{a} ros-melodic-rosmaster{a} ros-melodic-rosmsg{a}
ros-melodic-rosnode{a} ros-melodic-rosout{a} ros-melodic-rospack{ab} ros-melodic-rosparam{a}
ros-melodic-rospy{a} ros-melodic-rospy-tutorials{a} ros-melodic-rosservice{a} ros-melodic-rostest{a}
ros-melodic-rostime{a} ros-melodic-rostopic{a} ros-melodic-rosunit{a} ros-melodic-roswtf{a}
ros-melodic-rqt-action{a} ros-melodic-rqt-bag{a} ros-melodic-rqt-bag-plugins{a}
ros-melodic-rqt-common-plugins{a} ros-melodic-rqt-console{a} ros-melodic-rqt-dep{a} ros-melodic-rqt-graph{a}
ros-melodic-rqt-gui{a} ros-melodic-rqt-gui-cpp{ab} ros-melodic-rqt-gui-py{a} ros-melodic-rqt-image-view{ab}
ros-melodic-rqt-launch{a} ros-melodic-rqt-logger-level{a} ros-melodic-rqt-moveit{a} ros-melodic-rqt-msg{a}
ros-melodic-rqt-nav-view{a} ros-melodic-rqt-plot{a} ros-melodic-rqt-pose-view{a} ros-melodic-rqt-publisher{a}
ros-melodic-rqt-py-common{a} ros-melodic-rqt-py-console{a} ros-melodic-rqt-reconfigure{a}
ros-melodic-rqt-robot-dashboard{a} ros-melodic-rqt-robot-monitor{a} ros-melodic-rqt-robot-plugins{a}
ros-melodic-rqt-robot-steering{a} ros-melodic-rqt-runtime-monitor{a} ros-melodic-rqt-rviz{ab}
ros-melodic-rqt-service-caller{a} ros-melodic-rqt-shell{a} ros-melodic-rqt-srv{a} ros-melodic-rqt-tf-tree{a}
ros-melodic-rqt-top{a} ros-melodic-rqt-topic{a} ros-melodic-rqt-web{a} ros-melodic-rviz{ab}
ros-melodic-rviz-plugin-tutorials{ab} ros-melodic-rviz-python-tutorial{a} ros-melodic-self-test{a}
ros-melodic-sensor-msgs{a} ros-melodic-shape-msgs{a} ros-melodic-simulators{a} ros-melodic-smach{a}
ros-melodic-smach-msgs{a} ros-melodic-smach-ros{a} ros-melodic-smclib{a} ros-melodic-stage{a}
melodic-xacro{a} ros-melodic-xmlrpcpp{a} sbcl{a} sip-dev{a}
ttf-dejavu-core{a} x11proto-composite-dev{a} x11proto-randr-dev{a} x11proto-xinerama-dev{a}
下列软件包将被“删除”:
ftdi-eeprom{u} libconfuse-common{u} libconfuse2{u} libftdi-dev{u} libftdi1{u} libftdi1-2{u}
0 个软件包被升级,新安装 401 个, 6 个将被删除, 同时 0 个将不升级。
需要获取 140 MB 的存档。 解包后将要使用 621 MB。
下列软件包存在未满足的依赖关系:
ros-melodic-image-proc : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available packageros-melodic-qt-gui-cpp : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
依赖: libtinyxml2-6 (>= 5.0.0) which is a virtual package and is not provided by any available package
python-sip-dev : 依赖: python-sip (= 4.17+dfsg-1ubuntu0.1) but 4.19.7+dfsg-1ubuntu0.1 is installed
ros-melodic-diff-drive-controller : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package依赖: liburdfdom-model which is a virtual package and is not provided by any available package
ros-melodic-gazebo-ros-control : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
依赖: libignition-common which is a virtual package and is not provided by any available package 依赖: libignition-math4 which is a virtual package and is not provided by any available package 依赖: libsdformat6 which is a virtual package and is not provided by any available package 依赖: libtinyxml2-6 (>= 5.0.0) which is a virtual package and is not provided by any available package 依赖: liburdfdom-world which is a virtual package and is not provided by any available package
ros-melodic-resource-retriever : 依赖: libcurl4 (>= 7.16.2) which is a virtual package and is not provided by any available package
ros-melodic-image-view : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
ros-melodic-compressed-depth-image-transport : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
libprotoc-dev : 依赖: libprotobuf-dev (= 2.6.1-1.3) but 3.0.0-9.1ubuntu1.1 is installed
ros-melodic-depth-image-proc : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available packageros-melodic-image-rotate : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
ros-melodic-gazebo-plugins : 依赖: libignition-common which is a virtual package and is not provided by any available package
依赖: libignition-math4 which is a virtual package and is not provided by any available package 依赖: libogre-1.9.0v5 (>= 1.9.0+dfsg1-9~) but 1.9.0+dfsg1-7 is to be installed 依赖: libsdformat6 which is a virtual package and is not provided by any available package 依赖: liburdfdom-world which is a virtual package and is not provided by any available package
ros-melodic-rviz : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
依赖: libogre-1.9.0v5 (>= 1.9.0+dfsg1-9~) but 1.9.0+dfsg1-7 is to be installed 依赖: libtinyxml2-6 (>= 5.0.0) which is a virtual package and is not provided by any available package 依赖: liburdfdom-world which is a virtual package and is not provided by any available package
libgts-dev : 依赖: libgts-0.7-5 (= 0.7.6+darcs121130-1.2) but 0.7.6+darcs121130-4 is installed
libgtk2.0-dev : 依赖: libgtk2.0-0 (= 2.24.30-1ubuntu1.16.04.2) but 2.24.32-1ubuntu1 is installed
libopenexr-dev : 依赖: libopenexr22 (= 2.2.0-10ubuntu2.6) but 2.2.0-11.1ubuntu1.9 is installed
ros-melodic-rqt-image-view : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available packageros-melodic-urdf : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
依赖: libtinyxml2-6 (>= 5.0.0) which is a virtual package and is not provided by any available package 依赖: liburdfdom-model which is a virtual package and is not provided by any available package
ros-melodic-position-controllers : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
libcairo2-dev : 依赖: libcairo2 (= 1.14.6-1) but 1.15.10-2ubuntu0.1 is installed
依赖: libcairo-gobject2 (= 1.14.6-1) but 1.15.10-2ubuntu0.1 is installed
ros-melodic-nodelet-tutorial-math : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available packagelibopenal-dev : 依赖: libopenal1 (= 1:1.16.0-3) but 1:1.18.2-2 is installed
ros-melodic-nodelet : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package依赖: libtinyxml2-6 (>= 5.0.0) which is a virtual package and is not provided by any available package
ros-melodic-class-loader : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
依赖: libpocofoundation50 which is a virtual package and is not provided by any available package
libgazebo9-dev : 依赖: libsdformat6-dev which is a virtual package and is not provided by any available package
依赖: libignition-math4-dev which is a virtual package and is not provided by any available package 依赖: libignition-transport4-dev which is a virtual package and is not provided by any available package 依赖: libignition-msgs-dev which is a virtual package and is not provided by any available package 依赖: libignition-common-dev which is a virtual package and is not provided by any available package 依赖: libignition-fuel-tools1-dev which is a virtual package and is not provided by any available package
ros-melodic-rqt-gui-cpp : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
依赖: libtinyxml2-6 (>= 5.0.0) which is a virtual package and is not provided by any available package
libxrandr-dev : 依赖: libxrandr2 (= 2:1.5.0-1) but 2:1.5.1-1 is installed
ros-melodic-image-publisher : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available packagelibbz2-dev : 依赖: libbz2-1.0 (= 1.0.6-8ubuntu0.2) but 1.0.6-8.1ubuntu0.2 is installed
gazebo9 : 依赖: libignition-msgs which is a virtual package and is not provided by any available package依赖: libignition-transport4 which is a virtual package and is not provided by any available package 依赖: libogre-1.9.0v5 (>= 1.9.0+dfsg1-9~) but 1.9.0+dfsg1-7 is to be installed 依赖: libsdformat6 which is a virtual package and is not provided by any available package
ros-melodic-diagnostic-aggregator : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
依赖: libtinyxml2-6 (>= 5.0.0) which is a virtual package and is not provided by any available package
ros-melodic-robot-state-publisher : 依赖: liburdfdom-world which is a virtual package and is not provided by any available package
libqwt-qt5-dev : 依赖: libqwt-qt5-6 (= 6.1.2-5) but 6.1.3-1 is installed
gazebo9-plugin-base : 依赖: libcurl4 (>= 7.16.2) which is a virtual package and is not provided by any available package依赖: libignition-math4 which is a virtual package and is not provided by any available package 依赖: libignition-msgs which is a virtual package and is not provided by any available package 依赖: libignition-transport4 which is a virtual package and is not provided by any available package 依赖: libogre-1.9.0v5 (>= 1.9.0+dfsg1-9~) but 1.9.0+dfsg1-7 is to be installed 依赖: libsdformat6 which is a virtual package and is not provided by any available package
libpango1.0-dev : 依赖: gir1.2-pango-1.0 (= 1.38.1-1) but 1.40.14-1ubuntu0.1 is installed
依赖: libpango-1.0-0 (= 1.38.1-1) but 1.40.14-1ubuntu0.1 is installed
依赖: libpangocairo-1.0-0 (= 1.38.1-1) but 1.40.14-1ubuntu0.1 is installed
依赖: libpangoft2-1.0-0 (= 1.38.1-1) but 1.40.14-1ubuntu0.1 is installed
依赖: libpangoxft-1.0-0 (= 1.38.1-1) but 1.40.14-1ubuntu0.1 is installed
ros-melodic-laser-assembler : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package依赖: libtinyxml2-6 (>= 5.0.0) which is a virtual package and is not provided by any available package
libxcursor-dev : 依赖: libxcursor1 (= 1:1.1.14-1ubuntu0.16.04.2) but 1:1.1.15-1 is installed
ros-melodic-theora-image-transport : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available packageros-melodic-controller-manager : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
依赖: libtinyxml2-6 (>= 5.0.0) which is a virtual package and is not provided by any available package
ros-melodic-gazebo-ros : 依赖: libignition-common which is a virtual package and is not provided by any available package
依赖: libsdformat6 which is a virtual package and is not provided by any available package
libxcb-shm0-dev : 依赖: libxcb-shm0 (= 1.11.1-1ubuntu1) but 1.13-2~ubuntu18.04 is installed
ros-melodic-pcl-ros : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available packageros-melodic-rospack : 依赖: libtinyxml2-6 (>= 5.0.0) which is a virtual package and is not provided by any available package
ros-melodic-cpp-common : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
libaprutil1-dev : 依赖: libaprutil1 (= 1.5.4-1build1) but 1.6.1-2ubuntu0.1 is installed
ros-melodic-rosbag-storage : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package依赖: libtinyxml2-6 (>= 5.0.0) which is a virtual package and is not provided by any available package 依赖: libgpgme-dev which is a virtual package and is not provided by any available package
debhelper : 破坏: cmake (< 3.9~) but 3.5.1-1ubuntu3 is to be installed
破坏: cmake:i386 (< 3.9~) but it is not going to be installed
libgdk-pixbuf2.0-dev : 依赖: libgdk-pixbuf2.0-0 (= 2.32.2-1ubuntu1.6) but 2.36.11-2 is installed
依赖: gir1.2-gdkpixbuf-2.0 (= 2.32.2-1ubuntu1.6) but 2.36.11-2 is installed
ros-melodic-rosconsole-bridge : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available packageros-melodic-filters : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
libapr1-dev : 依赖: libapr1 (= 1.5.2-3) but 1.6.3-2 is installed
ros-melodic-pluginlib-tutorials : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package依赖: libtinyxml2-6 (>= 5.0.0) which is a virtual package and is not provided by any available package
ros-melodic-joint-state-controller : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
ros-melodic-rosbag : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
依赖: python-pycryptodome which is a virtual package and is not provided by any available package
libxcomposite-dev : 依赖: libxcomposite1 (= 1:0.4.4-1) but 1:0.4.4-2 is installed
libgraphviz-dev : 依赖: libcdt5 (= 2.38.0-12ubuntu2.1) but 2.40.1-2 is installed
依赖: libcgraph6 (= 2.38.0-12ubuntu2.1) but 2.40.1-2 is installed
依赖: libgvc6 (= 2.38.0-12ubuntu2.1) but 2.40.1-2 is installed
依赖: libgvpr2 (= 2.38.0-12ubuntu2.1) but 2.40.1-2 is installed
依赖: libpathplan4 (= 2.38.0-12ubuntu2.1) but 2.40.1-2 is installed
ros-melodic-tf2 : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available packageros-melodic-transmission-interface : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
依赖: libtinyxml2-6 (>= 5.0.0) which is a virtual package and is not provided by any available package
python-pyqt5 : 依赖: qtbase-abi-5-5-1 which is a virtual package, provided by:
- libqt5core5a (5.5.1+dfsg-16ubuntu7.7), but 5.9.5+dfsg-0ubuntu2.6 is installed
- libqt5core5a (5.5.1+dfsg-16ubuntu7), but 5.9.5+dfsg-0ubuntu2.6 is installed依赖: sip-api-11.2 which is a virtual package, provided by: - python-sip (4.17+dfsg-1ubuntu0.1), but 4.19.7+dfsg-1ubuntu0.1 is installed - python-sip (4.17+dfsg-1build1), but 4.19.7+dfsg-1ubuntu0.1 is installed
ros-melodic-rviz-plugin-tutorials : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
依赖: libogre-1.9.0v5 (>= 1.9.0+dfsg1-9~) but 1.9.0+dfsg1-7 is to be installed
ros-melodic-kdl-parser : 依赖: libtinyxml2-6 (>= 5.0.0) which is a virtual package and is not provided by any available package
依赖: liburdfdom-model which is a virtual package and is not provided by any available package
libpixman-1-dev : 依赖: libpixman-1-0 (= 0.33.6-1) but 0.34.0-2ubuntu0.1 is installed
gnupg : 破坏: python-gnupg (< 0.3.8-3) but 0.3.8-2 is to be installed
x11proto-dev : 破坏: x11proto-composite-dev (< 1:2018.3) but 1:0.4.2-2 is to be installed
破坏: x11proto-composite-dev:i386 (< 1:2018.3) which is a virtual package, provided by:
- x11proto-dev (2018.4-4), but 2018.4-4 is installed
- x11proto-composite-dev (1:0.4.2-2), but 1:0.4.2-2 is to be installed破坏: x11proto-randr-dev (< 2018.3) but 1.5.0-1 is to be installed 破坏: x11proto-randr-dev:i386 (< 2018.3) which is a virtual package, provided by: - x11proto-dev (2018.4-4), but 2018.4-4 is installed - x11proto-randr-dev (1.5.0-1), but 1.5.0-1 is to be installed 破坏: x11proto-xinerama-dev (< 2018.3) but 1.2.1-2 is to be installed 破坏: x11proto-xinerama-dev:i386 (< 2018.3) which is a virtual package, provided by: - x11proto-dev (2018.4-4), but 2018.4-4 is installed - x11proto-xinerama-dev (1.2.1-2), but 1.2.1-2 is to be installed
ros-melodic-stereo-image-proc : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
googletest : 冲突: google-mock (< 1.8.0) but 1.7.0-18092013-1 is to be installed
libatk1.0-dev : 依赖: libatk1.0-0 (= 2.18.0-1) but 2.28.1-1 is installed
依赖: gir1.2-atk-1.0 (= 2.18.0-1) but 2.28.1-1 is installed
ros-melodic-compressed-image-transport : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package依赖: libturbojpeg0-dev which is a virtual package and is not provided by any available package
ros-melodic-laser-filters : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
依赖: libtinyxml2-6 (>= 5.0.0) which is a virtual package and is not provided by any available package
liblz4-dev : 依赖: liblz4-1 (= 0.0~r131-2ubuntu2) but 0.0~r131-2ubuntu3.1 is installed
ros-melodic-rqt-rviz : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package依赖: libogre-1.9.0v5 (>= 1.9.0+dfsg1-9~) but 1.9.0+dfsg1-7 is to be installed
ros-melodic-image-transport : 依赖: libconsole-bridge0.4 which is a virtual package and is not provided by any available package
依赖: libtinyxml2-6 (>= 5.0.0) which is a virtual package and is not provided by any available package
libgazebo9 : 依赖: libbullet2.87 which is a virtual package and is not provided by any available package
依赖: libcurl4 (>= 7.16.2) which is a virtual package and is not provided by any available package 依赖: libignition-fuel-tools1-1 which is a virtual package and is not provided by any available package 依赖: libignition-math4 which is a virtual package and is not provided by any available package 依赖: libignition-msgs which is a virtual package and is not provided by any available package 依赖: libignition-transport4 which is a virtual package and is not provided by any available package 依赖: libogre-1.9.0v5 (>= 1.9.0+dfsg1-9~) but 1.9.0+dfsg1-7 is to be installed 依赖: libqtpropertybrowser4 which is a virtual package and is not provided by any available package 依赖: libsdformat6 which is a virtual package and is not provided by any available package 依赖: libtinyxml2-6 (>= 6.0.0) which is a virtual package and is not provided by any available package
安装失败了,请打开鱼香社区:https://fishros.org.cn/forum 在一键安装专区反馈问题...
Run CMD Task:[ls /opt/ros/melodic/setup.bash]
[-]Result:code:2 -
@2298776697 可能有依赖冲突,可以试试 aptitude 试试
-