vmware + ubuntu20.04+ros安装

Errors were encountered while processing:
 /var/cache/apt/archives/python3-catkin-pkg-modules_0.5.2-1_all.deb
 /var/cache/apt/archives/python3-rospkg-modules_1.5.0-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

sudo apt download python3-catkin-pkg-modules python3-rospkg-modules
 

Get:1 https://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu focal/main amd64 python3-catkin-pkg-modules all 0.5.2-1 [43.2 kB]
Get:2 https://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu focal/main amd64 python3-rospkg-modules all 1.5.0-1 [24.2 kB]
Fetched 67.4 kB in 0s (192 kB/s)                  
W: Download is performed unsandboxed as root as file '/home/oly/python3-catkin-pkg-modules_0.5.2-1_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

sudo rm /var/cache/apt/archives/python3-catkin-pkg-modules_0.5.2-1_all.deb
sudo rm /var/cache/apt/archives/python3-rospkg-modules_1.5.0-1_all.deb

sudo rm /var/cache/apt/archives/python3-catkin-pkg-modules_0.5.2-1_all.deb
sudo rm /var/cache/apt/archives/python3-rospkg-modules_1.5.0-1_all.deb
 

Fetched 47.6 MB in 6s (7,504 kB/s)                                             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
41 packages can be upgraded. Run 'apt list --upgradable' to see them.

sudo dpkg --configure -a

Processing was halted because there were too many errors.

sudo apt install -f

sudo apt-get remove ros-*

You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 python3-rosdep-modules : Depends: python3-rospkg-modules (>= 1.4.0) but it is not going to be installed
                          Depends: python3-catkin-pkg-modules (>= 0.4.0) but it is not going to be installed
 python3-rosdistro-modules : Depends: python3-catkin-pkg-modules but it is not going to be installed
                             Depends: python3-rospkg-modules but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Ubuntu安装ROS系统_ubuntu 安装ros_杰尼君的博客-CSDN博客

sudo apt install ros-noetic-desktop-full

sudo: rosdep: command not found

 sudo apt-get install python-rosdep

E: Package 'python-rosdep' has no installation candidate

ERROR: cannot download default sources list from:
https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
Website may be down.

ROS rosdep update更新失败(简单解决)_长沙有肥鱼的博客-CSDN博客

上面都是失败的过程

下面是有用的博客

Ubuntu安装ROS系统_ubuntu 安装ros_杰尼君的博客-CSDN博客  基本照着这个走

ROS rosdep update更新失败(简单解决)_长沙有肥鱼的博客-CSDN博客  这个是解决rosdep问题
Ubuntu20.04以及ROS系统的安装(避坑指南)_ubuntu20.04安装ros_就不告诉你噢的博客-CSDN博客

最后一篇是最后的步骤,可以运行小海龟VV

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值