• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆-379  評論-37  文章-0  trackbacks-0
            1、更換Ubuntu國內源
            cd /etc/apt/
            備份sources.list
            打開文件sources.list
            vim sources.list

            將其中內容全部替換為以下內容(本次使用阿里源,之前使用清華源apt update報錯過):
            deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
            deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
            deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
            deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
            deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
            deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
            deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
            deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
            deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
            deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse

            保存退出

            apt update
            下載更新成功!(上次使用清華源到這一步更新失敗)

            2、替換ROS國內源
            sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/ `lsb_release -cs` main" > /etc/apt/sources.list.d/ros-latest.list'

            設置key
            sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

            再次更新apt
            apt update

            3、安裝ROS
            sudo apt-get install ros-kinetic-desktop-full
            安裝成功!

            設置環境變量
            echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
            source ~/.bashrc

            4、初始化rosdep
            rosdep init
            失敗!
            報錯信息如下:
            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.


            cd /etc
            sudo mkdir ros
            cd ros
            sudo mkdir rosdep
            cd rosdep
            sudo mkdir source.list.d
            cd source.list.d
            sudo touch 20-default.list

            vim 20-default.list
            粘貼如下內容:
            #os-specific listings first
            yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx
            #generic
            yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
            yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
            yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
            gbpdistro https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml fuerte
            #newer distributions (Groovy, Hydro, …) must not be listed anymore, they are being 
            #fetched from the rosdistro index.yaml instead

            保存退出
            rosdep update
            更新成功!

            O了!
            以前在Ubuntu18下面安裝ROS很順利啊,怎么在Ubuntu16下面安裝就這么費勁呢,沃尼瑪!

            posted on 2022-02-21 02:03 小王 閱讀(133) 評論(0)  編輯 收藏 引用 所屬分類: ROS
            久久精品国产精品青草app| 久久er热视频在这里精品| 国産精品久久久久久久| 久久久久久亚洲精品无码| 精品久久久无码21p发布| 久久精品一区二区三区不卡| 中文国产成人精品久久亚洲精品AⅤ无码精品| 久久午夜无码鲁丝片秋霞 | 亚洲中文字幕无码久久2017| AV色综合久久天堂AV色综合在| 日本国产精品久久| 99久久99久久精品免费看蜜桃| 久久久网中文字幕| 精品国产福利久久久| 久久丫忘忧草产品| 蜜桃麻豆www久久国产精品| 久久久久成人精品无码中文字幕| 久久免费香蕉视频| 国产呻吟久久久久久久92| 精品久久8x国产免费观看| 久久久久久久久66精品片| 久久精品18| 蜜桃麻豆www久久| 国产亚洲精久久久久久无码| 亚洲AV无码久久| 2021最新久久久视精品爱| 日批日出水久久亚洲精品tv| 国产激情久久久久影院小草| 69久久精品无码一区二区| 亚洲精品乱码久久久久久中文字幕| 亚洲国产成人精品久久久国产成人一区二区三区综 | 一本色道久久综合| 国产成人精品久久综合| 久久亚洲AV成人无码国产| 久久人人添人人爽添人人片牛牛| 久久综合精品国产一区二区三区| 久久亚洲欧美日本精品| 欧美久久综合性欧美| 99久久婷婷免费国产综合精品| 国产精品欧美久久久天天影视| 久久精品中文无码资源站|