ubuntu16.0装pcl时需要注意的bug

博主之前明明时装了pcl1.7的 不知道为什么没有了 可能是装ros的时候自动卸载了??
根据高翔书里命令(官网上)

sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl
sudo apt-get update
sudo apt-get install libpcl-all

第二部报错 如下:

错误:31 http://dl.google.com/linux/chrome/deb stable InRelease
  无法连接上 dl.google.com:80 (6.6.6.6),连接超时
已下载 2,051 kB,耗时 2分 0秒 (17.0 kB/s)
正在读取软件包列表... 完成
W: 仓库 “http://ppa.launchpad.net/v-launchpad-jochen-sprickerhof-de/pcl/ubuntu xenial Release” 没有 Release 文件。
N: 无法认证来自该源的数据,所以使用它会带来潜在风险。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
W: 无法下载 http://dl.google.com/linux/chrome/deb/dists/stable/InRelease  无法连接上 dl.google.com:80 (6.6.6.6),连接超时
E: 无法下载 http://ppa.launchpad.net/v-launchpad-jochen-sprickerhof-de/pcl/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。

在网上找了解决办法
网址:https://blog.csdn.net/fanjiule/article/details/80913894
说是上面的命令只适合于14.04 16.04需要改一下最后一行命令

sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl
sudo apt-get update
sudo apt-get install libpcl-dev

注意:如果第三步install的是libpcl-all,会提示无法定位软件包libpcl-all;

update可能会出错,提示:PPA仓库没有Release文件,这个问题可以忽略;

如果install失败,可以再执行一次update,然后install;

猜你喜欢

转载自blog.csdn.net/qq_27452279/article/details/89884816
今日推荐