ubuntu 14.04 ROS + kinect v2 driver安装方法;安装驱动时遇到的问题及解决方法(2)

来源:互联网 发布:网络直播电视版 编辑:程序博客网 时间:2024/06/09 14:15

遇到的问题

(1): 数据源的问题

Unable to fetch some archives, maybe run apt-get update or try with --fix-missing [duplicate]


在安装过程中,有时候部分数据源下载不下来,可以添加ros数据源进行解决

经过小伙伴们几个不眠之夜的辛勤劳动,大家终于可以愉快地使用exbot国内镜像更新ROS了,镜像实时同步更新
更新源地址:
http://ros.exbot.net/rospackage/ros/ubuntu/
wiki地址:
http://ros.exbot.net/wiki/
设置教程:
1. 打开system setting->Software&Updates
2. 点击上方Other software,点击左下角add按钮
20150614130800
3. 下面一段复制进去
deb http://ros.exbot.net/rospackage/ros/ubuntu/ trusty main
4. 确定点Add Source 勾选选项
就可以愉快地在命令行里
sudo apt-get update
sudo apt-get upgrade

20150614130747


2. Kinect v2 需要用USB3.0接口,在ubuntu系统中查看usb接口的命令为

wgb@wgb:~$ lsusb

3.“media change: please insert the disc labeled” when trying to install Ruby on Rails [duplicate]

When I type sudo apt-get install rails I get the message:

media change: please insert the disc labeled'Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.1)in the drive '/media/cdrom/' and press enter

I am new to Linux and I have the installation CD in the drive, but I have no idea what disc it is asking for and I'm not sure what/media/cdrom/ means. All I have is the installation CD and it is in the only optical drive I have.


Answer

activeoldestvotes
up vote26down vote

Just remove the cdrom entry from the sources.list file. This can be done easily:

sudo sed -i '/cdrom/d' /etc/apt/sources.list

This should take care of the problem. The message is because somehow you still have the cdrom entry in your sources.list file, you can check the content of the file using:

grep -v '#' /etc/apt/sources.list

This will show you all the repositories you have activate






阅读全文
0 0