Ubuntu16.04 安装ARM框架的ROS

  1. sudo apt-get update
    报错如下:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it
sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a
sudo apt update

3.修改源

sudo gedit /etc/apt/sources.list

参考这个链接搞清楚自己的版本号

https://blog.csdn.net/zong596568821xp/article/details/90604966

将以下新的源覆盖旧的(我的版本是xenial arm架构)

deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-backports main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-proposed main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-security main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-updates main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-backports main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-proposed main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-security main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-updates main multiverse restricted universe

4.sudo apt-get update 报错显示公钥相关错误
根据ros官网运行如下指令:

sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt-get update
  1. 执行:sudo apt install ros-noetic-desktop-full
©️2020 CSDN 皮肤主题: 深蓝海洋 设计师:CSDN官方博客 返回首页