Skipping acquire of configured file ‘main/binary-i386/Packages’ as repository

问题描述:
sudo apt update的时候,出现如下问题,
N: Skipping acquire of configured file ‘main/binary-i386/Packages’ as repository ‘http://packages.ros.org/ros2/ubuntu bionic InRelease’ doesn’t support architecture ‘i386’

应该是库版本的问题,

根据提示,是ros的源的问题,首先定位到源目录下:

cd /etc/apt/sources.list.d/

找到ros对应的文件

sudo gedit ros2-latest.list 

然后修改文件:

deb http://packages.ros.org/ros2/ubuntu bionic main

修改为

deb [arch=amd64] http://packages.ros.org/ros2/ubuntu bionic main

类似的报错,都可以找到对应的源,然后按照这种方式进行修改。

你可能感兴趣的:(Linux系统,ROS,2)