ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The output outputs of lsb_release -a and uname -a are:

notsotechnical@notsotechnical-VirtualBox:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:    18.04
Codename:   bionic
notsotechnical@notsotechnical-VirtualBox:~$ uname -a
Linux notsotechnical-VirtualBox 5.0.0-27-generic #28~18.04.1-Ubuntu SMP Thu Aug 22 03:00:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

So you have Ubuntu Bionic (18.04) running in VirtualBox.

First: you cannot install ROS Indigo on Ubuntu Bionic (or at least, not easily, and I would not recommend it if you're just starting out).

So I'll assume you want to install ROS Melodic.

Did you follow the normal Melodic on Ubuntu installation tutorial? If so, please clarify why apt is attempting to download trusty package indices as seen in the apt output you posted:

Hit:6 http://packages.ros.org/ros/ubuntu trusty InRelease

Did you create this VM yourself? Was it perhaps configured for Trusty+Indigo and have you upgraded it to Ubuntu Bionic?

What is the output of:

cat /etc/apt/sources.list.d/ros-latest.list

If you've followed a regular install, this file should tell us which version of the package indices you've configured apt to download.

Additionally: in an earlier edit you showed this:

notsotechnical@notsotechnical-VirtualBox:~$ rosversion -d
Debian

this suggests that you have installed -- at one point -- the UpstreamPackages version of some ROS packages. See #q333234 for a similar question and why you get Debian as output.

In order for a regular ROS install to succeed, you'll have to remove those packages from your system first.