Ask Your Question
0

Can't install Melodic on Ubuntu 18.04

asked 2022-02-22 13:07:52 -0500

kozinovsky gravatar image

Hello everyone!

I'am trying to install ROS melodic on ubuntu 18.04 by the following installation guide Installation guide

But have a problem on the step #1.4 when I type the command:

sudo apt install ros-melodic-desktop-full

I am getting an error message (sorry, can't upload files yet)

kozinovsky@kozinovsky-GT70:~/Desktop$ sudo apt install ros-melodic-desktop
[sudo] password for kozinovsky:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ros-melodic-desktop

The similar problem I saw on the forum is this: Similar problem

Based on suggestions of this question, here is my output for cat /etc/apt/sources.list.d/ros-latest.list

kozinovsky@kozinovsky-GT70:~/Desktop$ cat /etc/apt/sources.list.d/ros-latest.list
deb http://packages.ros.org/ros/ubuntu bionic main

Also here is the output for uname --all:

kozinovsky@kozinovsky-GT70:~/Desktop$ uname --all
Linux kozinovsky-GT70 5.4.0-42-generic #46~18.04.1-Ubuntu SMP Fri Jul 10 07:09:27 UTC 2020 i686 i686 i686 GNU/Linux

So, the problem itself looks like, there is no package ros-melodic-desktop-full available on the server, but I don't understand why, melodic is currently supported.

Another idea I have is, because I have x32 version of ubuntu (x686, like I can see in the output of uname --all)
And on this page melodic installation
I see in "Select Your Platform" for Ubuntu Bionic "amd64 armhf arm64"
Is this a problem?
Before reinstalling the OS I decided to ask here, what can be the issue.

Thanks everyone in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-02-22 14:34:10 -0500

gvdhoorn gravatar image

updated 2022-02-22 14:35:05 -0500

Can't install Melodic on Ubuntu 18.04 [..] I have x32 version of ubuntu [..] Is this a problem?

Yes, that's the cause of the error you mention.

There are no x86 (32 bit) packages of ROS Melodic on Ubuntu Bionic (ie: 18.04).

See also REP 3: Target Platforms: Architectures.

As you already found, there are only amd64 (64 bit) packages available.

You'd have to install an amd64 version of Bionic to be able to install Melodic using apt.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2022-02-22 13:07:52 -0500

Seen: 169 times

Last updated: Feb 22