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

When installing ROS melodic I keep getting this error 'E: Unable to locate package ros-melodic-desktop-full'

asked 2018-08-08 09:04:30 -0500

George_Drone gravatar image

updated 2018-08-09 20:03:13 -0500

jayess gravatar image

When trying to install ROS melodic via the instructions from the wiki (link text i keep getting to step 1.4 and receiving a

E:Unable to locate package ros-melodic-desktop-full

message.

Step 1.3 yields this:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116    
Executing: /tmp/apt-key-gpghome.gR0QjhB4Rp/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116    
gpg: key 5523BAEEB01FA116: "ROS Builder <rosbuild@ros.org>" not changed    
gpg: Total number processed: 1    
gpg:              unchanged: 1

Step 1.4 yields this:

$ sudo apt-get update

Get:1 http://mirror.umd.edu/ubuntu bionic InRelease [242 kB]    
Hit:2 http://archive.canonical.com/ubuntu bionic InRelease                         
Get:3 http://mirror.umd.edu/ubuntu bionic-updates InRelease [88.7 kB]              
Get:4 http://mirror.umd.edu/ubuntu bionic-security InRelease [83.2 kB]             
Ign:5 http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly InRelease
Hit:6 http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly Release
Hit:7 http://packages.ros.org/ros/ubuntu bionic InRelease                          
Get:8 http://mirror.umd.edu/ubuntu bionic/universe Sources [9,051 kB]    
Get:10 http://mirror.umd.edu/ubuntu bionic/main Sources [829 kB]    
Get:11 http://mirror.umd.edu/ubuntu bionic/multiverse Sources [181 kB]    
Get:12 http://mirror.umd.edu/ubuntu bionic/restricted Sources [5,324 B]    
Get:13 http://mirror.umd.edu/ubuntu bionic/main i386 Packages [1,007 kB]    
Get:14 http://mirror.umd.edu/ubuntu bionic/main Translation-en [516 kB]    
Get:15 http://mirror.umd.edu/ubuntu bionic/main i386 DEP-11 Metadata [477 kB]    
Get:16 http://mirror.umd.edu/ubuntu bionic/main DEP-11 48x48 Icons [118 kB]    
Get:17 http://mirror.umd.edu/ubuntu bionic/main DEP-11 64x64 Icons [245 kB]    
Get:18 http://mirror.umd.edu/ubuntu bionic/restricted i386 Packages [9,156 B]    
Get:19 http://mirror.umd.edu/ubuntu bionic/restricted Translation-en [3,584 B]    
Get:20 http://mirror.umd.edu/ubuntu bionic/universe i386 Packages [8,531 kB]    
Get:21 http://mirror.umd.edu/ubuntu bionic/universe Translation-en [4,941 kB]    
Get:22 http://mirror.umd.edu/ubuntu bionic/universe i386 DEP-11 Metadata [3,283 kB]    
Get:23 http://mirror.umd.edu/ubuntu bionic/universe DEP-11 48x48 Icons [2,151 kB]    
Get:24 http://mirror.umd.edu/ubuntu bionic/universe DEP-11 64x64 Icons [8,420 kB]    
Get:25 http://mirror.umd.edu/ubuntu bionic/multiverse i386 Packages [144 kB]    
Get:26 http://mirror.umd.edu/ubuntu bionic/multiverse Translation-en [108 kB]    
Get:27 http://mirror.umd.edu/ubuntu bionic/multiverse i386 DEP-11 Metadata [50.6 kB]    
Get:28 http://mirror.umd.edu/ubuntu bionic/multiverse DEP-11 48x48 Icons [8,931 B]    
Get:29 http://mirror.umd.edu/ubuntu bionic/multiverse DEP-11 64x64 Icons [225 kB]    
Get:30 http://mirror.umd.edu/ubuntu bionic-updates/universe Sources [52.2 kB]    
Get:31 http://mirror.umd.edu/ubuntu bionic-updates/main Sources [152 kB]    
Get:32 http://mirror.umd.edu/ubuntu bionic-updates/multiverse Sources [2,676 B]    
Get:33 http://mirror.umd.edu/ubuntu bionic-updates/main i386 Packages [252 ...
(more)
edit retag flag offensive close merge delete

Comments

1

"I've tried solutions from this site and others and nothing has worked so far" does not tell us enough. Be specific about what you tried so we can avoid repeating advice.

Geoff gravatar image Geoff  ( 2018-08-08 20:25:52 -0500 )edit

It looks like your apt sources are a bit of a mess. You should clean up the cause of those warnings first.

Geoff gravatar image Geoff  ( 2018-08-08 20:27:22 -0500 )edit

What architecture are you running? You need to be on amd64, arm64 or armhf. Please post the output of lsb_release -a and uname -a.

Geoff gravatar image Geoff  ( 2018-08-08 20:29:08 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-08-09 18:53:30 -0500

Geoff gravatar image

Your architecture is i686, which is 32-bit. ROS Melodic only supports amd64, which is 64-bit. It is complaining that it can't find the package because the package does not exist for your architecture.

You need to install the 64-bit version of Ubuntu first. Then you will be able to install ROS.

If you really must use a 32-bit architecture, you will need to install ROS from source. It's not hard, but it will take a long time to compile everything.

edit flag offensive delete link more

Comments

Thank you for your help.I did try to install from source but I ran into separate issues, at this point I think I'll just switch to the 64-bit version. Is there a good tutorial that you could suggest on how to go from 32-bit to 64-bit? I'm dual booting windows and ubuntu.

George_Drone gravatar image George_Drone  ( 2018-08-10 08:53:03 -0500 )edit
1

Converting to 64-bit would not be impossible, but it would be very complicated. I think it would be faster to reinstall Ubuntu.

Geoff gravatar image Geoff  ( 2018-08-12 20:47:53 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2018-08-08 09:04:30 -0500

Seen: 4,470 times

Last updated: Aug 09 '18