• <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>
            隨筆-380  評論-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 小王 閱讀(145) 評論(0)  編輯 收藏 引用 所屬分類: ROS
            久久精品成人| 久久国产色AV免费观看| 精品少妇人妻av无码久久| 久久精品国产亚洲精品2020| 精品国际久久久久999波多野| 国内精品久久久久久野外| 国内精品久久久久久中文字幕 | 亚洲精品无码久久千人斩| 久久99国产综合精品免费| 国产精品午夜久久| 国产亚洲精品久久久久秋霞| 久久91精品国产91久久麻豆| 欧美日韩中文字幕久久久不卡 | 午夜人妻久久久久久久久| 99久久精品国产一区二区| 超级97碰碰碰碰久久久久最新 | 久久婷婷是五月综合色狠狠| 国产精品美女久久久久| 久久国产精品视频| 狠狠色丁香久久婷婷综合五月| 久久九九免费高清视频| 狠狠色丁香久久婷婷综| 国产精品乱码久久久久久软件| 久久精品这里热有精品| 亚洲香蕉网久久综合影视| 人妻丰满AV无码久久不卡| 亚洲国产成人精品久久久国产成人一区二区三区综 | 欧美午夜精品久久久久免费视| 久久精品国产72国产精福利| 国产精品久久久久影视不卡| 97精品依人久久久大香线蕉97| 久久久久久久综合综合狠狠| 色综合久久久久网| 久久AV高清无码| 久久久精品人妻一区二区三区四 | 亚洲国产精品综合久久网络 | 久久久久无码专区亚洲av| 国产农村妇女毛片精品久久| 久久免费精品视频| 97久久精品人人澡人人爽| 夜夜亚洲天天久久|