鱼香ROS社区
    • 版块
    • 最新
    • 未解决
    • 已解决
    • 群组
    • 注册
    • 登录
    紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
    提问前必看的发帖注意事项: 社区问答规则(小鱼个人)更新 | 高质量帖子发布指南

    一键安装出现错误,该如何解决

    已定时 已固定 已锁定 已移动
    一键安装
    一键安装 失败 错误代码100
    1
    2
    1.2k
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 1
      1243708162
      最后由 编辑

      RUN Choose Task:[Please enter the number in brackets]
      请选择你要安装的ROS版本名称(请注意ROS1和ROS2区别):
      [1]:foxy(ROS2)
      [2]:galactic(ROS2)
      [3]:noetic(ROS1)
      [4]:rolling(ROS2)
      [0]:quit
      Type the number in [] to choose a function:3
      RUN Choose Task:[Please enter the number in brackets]
      请选择安装的具体版本(如果不知道怎么选,请选1桌面版):
      [1]:noetic(ROS1)桌面版
      [2]:noetic(ROS1)基础版(小)
      [0]:quit
      Type the number in [] to choose a function:1
      Run CMD Task:[sudo apt search aptitude ]
      [-][1.77s] CMD Result:success

      Run CMD Task:[sudo apt install aptitude -y]
      [-][1.54s] CMD Result:code:100

      Run CMD Task:[sudo apt install ros-noetic-desktop-full -y]
      Reading package lists... Done
      Building dependency tree
      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:
      ros-noetic-desktop-full : Depends: ros-noetic-desktop but it is not going to be installed
      Depends: ros-noetic-perception but it is not going to be installed
      Depends: ros-noetic-simulators but it is not going to be installed
      Depends: ros-noetic-urdf-sim-tutorial but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.
      Run CMD Task:[sudo apt install ros-noetic-desktop-full -y]
      [-][1.54s] CMD Result:code:100

      ============================================================
      请注意我,检测你在安装过程中出现依赖问题,请在稍后输入n,再选择y,即可解决(若无法解决,清在稍后手动运行命令: sudo aptitude install ros-noetic-desktop-full)
      确认了解情况,请输入回车继续安装
      Run CMD Task:[sudo aptitude install ros-noetic-desktop-full]
      sudo: aptitude: command not found
      Run CMD Task:[sudo aptitude install ros-noetic-desktop-full -y]
      [-][0.00s] CMD Result:code:1

      Run CMD Task:[sudo apt search python3-catkin-tools ]
      [-][1.51s] CMD Result:success

      Run CMD Task:[sudo apt install python3-catkin-tools -y]
      [-][1.44s] CMD Result:code:100

      Run CMD Task:[sudo apt search python3-rosdep ]
      [-][1.56s] CMD Result:success

      Run CMD Task:[sudo apt install python3-rosdep -y]
      [-][1.56s] CMD Result:success

      Run CMD Task:[ls /opt/ros/noetic/setup.bash]
      [-][0.00s] CMD Result:code:2

      安装失败了,请打开鱼香社区:https://fishros.org.cn/forum 在一键安装专区反馈问题...

      1 1 条回复 最后回复 回复 引用 0
      • 1
        1243708162 @1243708162
        最后由 编辑

        @1243708162 解决了应该 之前前面有个问题 看了社区 导致我换了163的源 然后解决了 出现这个问题 再换回原来的源就好的

        遇到的问题就 sudo apt install aptitude -y 这个安装不了
        希望能帮到同样问题的
        当然应该遇不到我这问题

        1 条回复 最后回复 回复 引用 0
        • 第一个帖子
          最后一个帖子
        皖ICP备16016415号-7
        Powered by NodeBB | 鱼香ROS