[英]Cannot download ROS Gazebo 7 packages for Indigo
I'm having some trouble with installing gazebo7_ros_packages for ROS Indigo and Gazebo 7.9 on Ubuntu 14.04 LTS. 在Ubuntu 14.04 LTS上为ROS Indigo和Gazebo 7.9安装gazebo7_ros_packages时遇到一些麻烦。 I followed this tutorial.
我遵循了本教程。 I typed this
我输入了
sudo apt-get install ros-indigo-gazebo7-ros-pkgs
The apt installer says the following apt安装程序显示以下内容
Unable to locate package ros-indigo-gazebo7-ros-pkgs
I had run sudo update and upgrade before this, and my repositories and keys have been set as given here . 在此之前,我已经运行过sudo更新和升级,并且我的存储库和密钥已按此处的设置进行设置。
Terminal screenshot of sudo apt-get
: sudo apt-get
终端屏幕截图:
So I tried to clone from OSRF's git from https://github.com/osrf/gazebo7_ros_pkgs-release/tree/debian/indigo/gazebo_ros_pkgs , but I'm only able to pull only one branch at a time. 所以我试图从https://github.com/osrf/gazebo7_ros_pkgs-release/tree/debian/indigo/gazebo_ros_pkgs的 OSRF git中克隆,但是我一次只能拉一个分支。 Then I followed this tutorial.
然后,我遵循了本教程。 This is what I get.
这就是我得到的。 Keep in mind, I'm using gazebo 7.9.
请记住,我正在使用凉亭7.9。
Cloning using git: 使用git克隆:
I commented on the same question here 我在这里评论了同样的问题
To quote him: 引用他的话:
I don't know the details about your environment, but ros-indigo-gazebo7-ros-controlis being successfully installed by our daily testing job: https://build.osrfoundation.org/job/ros_gazebo7_pkgs-install_pkg_indigo-trusty-amd64/274/consoleFull
我不了解您的环境的详细信息,但是我们的日常测试工作已成功安装ros-indigo-gazebo7-ros-control: https ://build.osrfoundation.org/job/ros_gazebo7_pkgs-install_pkg_indigo-trusty-amd64/ 274 /控制台满
The URL denotes that it's for a 64 bit machine. URL表示它用于64位计算机。 I did some poking around on that site and I found out that there are no pkgs for a 32 bit version/i386.
我在该站点上进行了一些探索,发现32位版本/ i386没有pkg。 I am running Ubuntu 14.04 32 bit on a 64 bit Intel Celeron 900. Could that be the problem?
我在64位Intel Celeron 900上运行32位Ubuntu 14.04。这可能是问题吗? Lack of packages for i386 processors?
缺少用于i386处理器的软件包?
Have You removed Gazebo 2.* ? 您是否删除了凉亭2. *? if u didn't already do :
如果您尚未这样做:
sudo apt-get purge gazebo*
after that add the osrf official repo and update: 之后,添加osrf官方仓库并更新:
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable lsb_release -cs main" > /etc/apt/sources.list.d/gazebo-stable.list'
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
sudo apt-get update
and install : 并安装:
sudo apt-get install ros-indigo-gazebo7-ros-pkgs
The issue, as I guessed, was because of the 32 bit installation of Ubuntu. 正如我所猜到的,该问题是由于安装了32位Ubuntu。 I reinstalled with a 64 bit version, and it works fine now.
我重新安装了64位版本,现在工作正常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.